View | Details | Raw Unified | Return to bug 227601 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +3 lines)
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
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1482836406
1
TIMESTAMP = 1523923533
2
SHA256 (grep-2.27.tar.xz) = ad4cc44d23074a1c3a8baae8fbafff2a8c60f38a9a6108f985eef6fbee6dcaeb
2
SHA256 (grep-3.1.tar.xz) = db625c7ab3bb3ee757b3926a5cfa8d9e1c3991ad24707a83dde8a5ef2bf7a07e
3
SIZE (grep-2.27.tar.xz) = 1360388
3
SIZE (grep-3.1.tar.xz) = 1370880

Return to bug 227601