openbsd-ports/sysutils/ggrep/Makefile
dcoppa 192c04f02e Update to 2.14
ok naddy@
2012-08-23 20:02:12 +00:00

35 lines
824 B
Makefile

# $OpenBSD: Makefile,v 1.18 2012/08/23 20:02:12 dcoppa Exp $
COMMENT= GNU versions of grep pattern matching utilities
DISTNAME= grep-2.14
PKGNAME= g${DISTNAME}
CATEGORIES= sysutils
HOMEPAGE= http://www.gnu.org/software/grep/grep.html
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
# no .tar.gz available, GNU grep itself requires gcc >= 3
EXTRACT_SUFX= .tar.xz
WANTLIB= c pcre
MODULES= devel/gettext
LIB_DEPENDS= devel/pcre
BUILD_DEPENDS= devel/gperf
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
.include <bsd.port.mk>