e40ac7cd6c
While here, set GPL version. ok espie@ (maintainer)
34 lines
808 B
Makefile
34 lines
808 B
Makefile
# $OpenBSD: Makefile,v 1.20 2009/06/09 16:00:55 ajacoutot Exp $
|
|
|
|
COMMENT= perfect hash functions, to help write parsers
|
|
|
|
DISTNAME= gperf-3.0.1
|
|
PKGNAME= ${DISTNAME}p1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/gperf/
|
|
|
|
# GPLv2
|
|
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...
|
|
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>
|