# $OpenBSD: Makefile,v 1.36 2019/07/12 20:44:10 sthen Exp $ COMMENT = perfect hash functions, to help write parsers DISTNAME = gperf-3.1 CATEGORIES = devel REVISION = 0 MAINTAINER = Marc Espie HOMEPAGE = https://www.gnu.org/software/gperf/ # GPLv2 PERMIT_PACKAGE = Yes WANTLIB = c m ${COMPILER_LIBCXX} COMPILER = base-clang ports-gcc base-gcc MASTER_SITES = ${MASTER_SITE_GNU:=gperf/} 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