aboutsummaryrefslogtreecommitdiff
path: root/mail/mboxgrep
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-30 16:48:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-30 16:48:10 +0000
commit3c873aa194a672c3e5be28d0e92903471058b9d3 (patch)
tree202bb704d5fb3b3b1f5610d0208b3284f12317bc /mail/mboxgrep
parent3767140013c019d0a1ecc1ab1542c3174a6da152 (diff)
downloadports-3c873aa194a672c3e5be28d0e92903471058b9d3.tar.gz
ports-3c873aa194a672c3e5be28d0e92903471058b9d3.zip
Notes
Diffstat (limited to 'mail/mboxgrep')
-rw-r--r--mail/mboxgrep/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/mboxgrep/Makefile b/mail/mboxgrep/Makefile
index e0095d69eb55..459b0bea6589 100644
--- a/mail/mboxgrep/Makefile
+++ b/mail/mboxgrep/Makefile
@@ -10,11 +10,6 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to scan mailboxes for messages matching a regular expression
-PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
-
-OPTIONS_DEFINE= DOCS PCRE
-
-USES= uidfix
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
@@ -24,6 +19,10 @@ INFO= mboxgrep
DOCS= ChangeLog NEWS README TODO
+OPTIONS_DEFINE= DOCS PCRE
+
+PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
+
post-patch:
@${REINPLACE_CMD} -e 's,void \*tmpp,FILE \*tmpp,g' ${WRKSRC}/src/main.c
@${REINPLACE_CMD} -e 's,$$(prefix),$$(DESTDIR)$$(prefix),g' \
@@ -32,7 +31,7 @@ post-patch:
${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in
post-install:
- ${INSTALL} -d -o root -g wheel -m 0755 ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor