openbsd-ports/devel/gperf/Makefile
sthen 1277ec056e add a comment to warn about risk of circular dependency if
ever gperf gets gettext support (following libiconv change
which uses gperf).

suggested by and ok naddy
2007-11-20 01:46:42 +00:00

30 lines
752 B
Makefile

# $OpenBSD: Makefile,v 1.17 2007/11/20 01:46:42 sthen Exp $
COMMENT= perfect hash functions, to help write parsers
DISTNAME= gperf-3.0.1
CATEGORIES= devel
MAINTAINER= Marc Espie <espie@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
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...
FAKE_FLAGS=docdir='$$(prefix)/share/doc/gperf' mandir='$$(prefix)/man'
# N.B. gperf is a build dependency for libiconv; take care if
# gettext support is added to gperf.
.include <bsd.port.mk>