diff options
author | Johan van Selst <johans@FreeBSD.org> | 2013-10-06 16:18:29 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2013-10-06 16:18:29 +0000 |
commit | 6d7d9343e79825540f20b87947592fc8f868c87f (patch) | |
tree | 43984776afc5b420444e5ac9bf8f9a2f647a3a83 /textproc/gnugrep | |
parent | cb992b6d331cb2415c4e77bd1abde0fbbac48b54 (diff) | |
download | ports-6d7d9343e79825540f20b87947592fc8f868c87f.tar.gz ports-6d7d9343e79825540f20b87947592fc8f868c87f.zip |
Notes
Diffstat (limited to 'textproc/gnugrep')
-rw-r--r-- | textproc/gnugrep/Makefile | 12 | ||||
-rw-r--r-- | textproc/gnugrep/pkg-plist | 3 |
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/gnugrep/Makefile b/textproc/gnugrep/Makefile index fd4b31934430..854c8e6a5ed3 100644 --- a/textproc/gnugrep/Makefile +++ b/textproc/gnugrep/Makefile @@ -3,6 +3,7 @@ PORTNAME= grep PORTVERSION= 2.14 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= GNU PKGNAMEPREFIX= gnu @@ -17,20 +18,19 @@ CONFLICTS= bsd-grep-[0-9]* USES+= charsetfix USE_XZ= yes GNU_CONFIGURE= yes +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -MAN1= egrep.1 \ - fgrep.1 \ - grep.1 INFO= grep OPTIONS_DEFINE= PCRE NLS +OPTIONS_DEFAULT=PCRE NLS -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MNLS} USES+= gettext -LDFLAGS+= -lintl -L${LOCALBASE}/lib +LDFLAGS+= -lintl PLIST_SUB+= NLS= .else CONFIGURE_ARGS+= --disable-nls @@ -38,7 +38,7 @@ PLIST_SUB+= NLS="@comment " .endif .if ${PORT_OPTIONS:MPCRE} -LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre +LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre .else CONFIGURE_ARGS+= --disable-perl-regexp .endif diff --git a/textproc/gnugrep/pkg-plist b/textproc/gnugrep/pkg-plist index f341463c084c..0535e1d7fda1 100644 --- a/textproc/gnugrep/pkg-plist +++ b/textproc/gnugrep/pkg-plist @@ -1,6 +1,9 @@ bin/egrep bin/fgrep bin/grep +man/man1/egrep.1.gz +man/man1/fgrep.1.gz +man/man1/grep.1.gz %%NLS%%share/locale/af/LC_MESSAGES/grep.mo %%NLS%%share/locale/be/LC_MESSAGES/grep.mo %%NLS%%share/locale/bg/LC_MESSAGES/grep.mo |