Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= grep |
4 |
PORTNAME= grep |
5 |
PORTVERSION= 2.27 |
5 |
PORTVERSION= 3.1 |
6 |
CATEGORIES= textproc |
6 |
CATEGORIES= textproc |
7 |
MASTER_SITES= GNU |
7 |
MASTER_SITES= GNU |
8 |
PKGNAMEPREFIX= gnu |
8 |
PKGNAMEPREFIX= gnu |
Lines 14-20
Link Here
|
14 |
|
14 |
|
15 |
CONFLICTS= bsd-grep-[0-9]* |
15 |
CONFLICTS= bsd-grep-[0-9]* |
16 |
|
16 |
|
17 |
USES= charsetfix cpe tar:xz |
17 |
USES= charsetfix cpe pkgconfig tar:xz |
18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
19 |
|
19 |
|
20 |
INFO= grep |
20 |
INFO= grep |
Lines 35-48
Link Here
|
35 |
|
35 |
|
36 |
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre |
36 |
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre |
37 |
PCRE_CONFIGURE_ENABLE= perl-regexp |
37 |
PCRE_CONFIGURE_ENABLE= perl-regexp |
38 |
PCRE_CPPFLAGS= -I${LOCALBASE}/include |
|
|
39 |
PCRE_LDFLAGS= -L${LOCALBASE}/lib |
40 |
PCRE_CONFIGURE_OFF= --disable-perl-regexp |
38 |
PCRE_CONFIGURE_OFF= --disable-perl-regexp |
41 |
|
39 |
|
42 |
.include <bsd.port.options.mk> |
40 |
.include <bsd.port.options.mk> |
43 |
|
41 |
|
44 |
post-patch: |
42 |
post-patch: |
45 |
@${REINPLACE_CMD} 's:@grep@:${LOCALBASE}/bin/&:' ${WRKSRC}/src/egrep.sh |
43 |
@${REINPLACE_CMD} 's:@grep@:${PREFIX}/bin/&:' ${WRKSRC}/src/egrep.sh |
46 |
.if empty(PORT_OPTIONS:MNLS) |
44 |
.if empty(PORT_OPTIONS:MNLS) |
47 |
@${REINPLACE_CMD} '/install-exec-local:/s/install-exec-localcharset//' \ |
45 |
@${REINPLACE_CMD} '/install-exec-local:/s/install-exec-localcharset//' \ |
48 |
${WRKSRC}/lib/Makefile.in |
46 |
${WRKSRC}/lib/Makefile.in |