33 lines
774 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.36 2019/07/12 20:44:10 sthen Exp $
2010-11-15 19:45:56 +00:00
COMMENT = perfect hash functions, to help write parsers
DISTNAME = gperf-3.1
2010-11-15 19:45:56 +00:00
CATEGORIES = devel
REVISION = 0
2010-11-15 19:45:56 +00:00
MAINTAINER = Marc Espie <espie@openbsd.org>
2013-11-09 23:19:01 +00:00
HOMEPAGE = https://www.gnu.org/software/gperf/
# GPLv2
PERMIT_PACKAGE = Yes
2017-07-16 19:18:47 +00:00
WANTLIB = c m ${COMPILER_LIBCXX}
2000-02-12 08:02:07 +00:00
COMPILER = base-clang ports-gcc base-gcc
2010-11-15 19:45:56 +00:00
MASTER_SITES = ${MASTER_SITE_GNU:=gperf/}
2004-11-23 03:14:31 +00:00
post-extract:
rm ${WRKDIST}/doc/gperf.info
# Don't use SEPARATE_BUILD, the doc doesn't like it
2010-11-15 19:45:56 +00:00
CONFIGURE_STYLE = gnu
# and it also insists upon installing under $(prefix)/doc...
2010-11-15 19:45:56 +00:00
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>