2019-07-12 20:43:27 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2019/07/12 20:44:10 sthen Exp $
|
2001-05-06 00:12:42 +00:00
|
|
|
|
2010-11-15 19:45:56 +00:00
|
|
|
COMMENT = perfect hash functions, to help write parsers
|
1999-05-30 18:35:17 +00:00
|
|
|
|
2018-01-19 23:01:41 +00:00
|
|
|
DISTNAME = gperf-3.1
|
2010-11-15 19:45:56 +00:00
|
|
|
CATEGORIES = devel
|
2018-10-24 14:27:57 +00:00
|
|
|
REVISION = 0
|
1999-05-30 18:35:17 +00:00
|
|
|
|
2010-11-15 19:45:56 +00:00
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
1999-05-30 18:35:17 +00:00
|
|
|
|
2013-11-09 23:19:01 +00:00
|
|
|
HOMEPAGE = https://www.gnu.org/software/gperf/
|
2009-06-09 16:00:55 +00:00
|
|
|
|
|
|
|
# GPLv2
|
2019-07-12 20:43:27 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2009-06-09 16:00:55 +00:00
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB = c m ${COMPILER_LIBCXX}
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2010-11-15 19:45:56 +00:00
|
|
|
MASTER_SITES = ${MASTER_SITE_GNU:=gperf/}
|
1999-05-30 18:35:17 +00:00
|
|
|
|
2004-11-23 03:14:31 +00:00
|
|
|
post-extract:
|
|
|
|
rm ${WRKDIST}/doc/gperf.info
|
|
|
|
|
2000-10-01 20:11:06 +00:00
|
|
|
# Don't use SEPARATE_BUILD, the doc doesn't like it
|
2010-11-15 19:45:56 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
2000-10-01 20:11:06 +00:00
|
|
|
# and it also insists upon installing under $(prefix)/doc...
|
2010-11-15 19:45:56 +00:00
|
|
|
MAKE_FLAGS = docdir='${TRUEPREFIX}/share/doc/gperf'
|
1999-05-30 18:35:17 +00:00
|
|
|
|
2007-11-20 01:46:42 +00:00
|
|
|
# N.B. gperf is a build dependency for libiconv; take care if
|
|
|
|
# gettext support is added to gperf.
|
1999-05-30 18:35:17 +00:00
|
|
|
.include <bsd.port.mk>
|