ports/devel/gperf/Makefile

31 lines
698 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT = perfect hash functions, to help write parsers
DISTNAME = gperf-3.1
CATEGORIES = devel
REVISION = 0
MAINTAINER = Marc Espie <espie@openbsd.org>
HOMEPAGE = https://www.gnu.org/software/gperf/
# GPLv2
PERMIT_PACKAGE = Yes
2023-09-22 16:24:11 +00:00
WANTLIB = c m ${COMPILER_LIBCXX}
2023-08-16 22:26:55 +00:00
2023-09-22 16:24:11 +00:00
COMPILER = base-clang ports-gcc base-gcc
2023-08-16 22:26:55 +00:00
2023-09-22 16:24:11 +00:00
SITES = ${SITE_GNU:=gperf/}
2023-08-16 22:26:55 +00:00
post-extract:
rm ${WRKDIST}/doc/gperf.info
# Don't use SEPARATE_BUILD, the doc doesn't like it
CONFIGURE_STYLE = gnu
# and it also insists upon installing under $(prefix)/doc...
MAKE_FLAGS = docdir='${TRUEPREFIX}/share/doc/gperf'
# N.B. gperf is a build dependency for libiconv; take care if
# gettext support is added to gperf.
.include <bsd.port.mk>