2017-07-19 20:49:37 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2017/07/19 20:49:37 naddy Exp $
|
2003-07-06 17:16:32 +00:00
|
|
|
|
|
|
|
COMMENT= GNU versions of grep pattern matching utilities
|
|
|
|
|
2017-07-19 20:49:37 +00:00
|
|
|
DISTNAME= grep-3.1
|
2010-11-11 19:00:48 +00:00
|
|
|
PKGNAME= g${DISTNAME}
|
2003-07-06 17:16:32 +00:00
|
|
|
CATEGORIES= sysutils
|
2013-11-09 23:19:01 +00:00
|
|
|
HOMEPAGE= https://www.gnu.org/software/grep/grep.html
|
2003-07-06 17:16:32 +00:00
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
2011-05-31 19:36:36 +00:00
|
|
|
# GPLv3+
|
2003-07-06 17:16:32 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
|
|
|
|
|
2012-02-28 08:51:17 +00:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
2016-04-05 19:40:30 +00:00
|
|
|
LIB_DEPENDS= devel/gettext devel/pcre
|
|
|
|
WANTLIB= c iconv intl pcre
|
2003-07-06 17:16:32 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2011-06-02 17:09:31 +00:00
|
|
|
CONFIGURE_ARGS= --program-prefix=g
|
2003-07-06 17:16:32 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-01-26 16:41:03 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2011-05-31 19:36:36 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
|
2003-07-06 17:16:32 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|