diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-11-30 16:48:10 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-11-30 16:48:10 +0000 |
commit | 3c873aa194a672c3e5be28d0e92903471058b9d3 (patch) | |
tree | 202bb704d5fb3b3b1f5610d0208b3284f12317bc /mail/mboxgrep | |
parent | 3767140013c019d0a1ecc1ab1542c3174a6da152 (diff) | |
download | ports-3c873aa194a672c3e5be28d0e92903471058b9d3.tar.gz ports-3c873aa194a672c3e5be28d0e92903471058b9d3.zip |
Notes
Diffstat (limited to 'mail/mboxgrep')
-rw-r--r-- | mail/mboxgrep/Makefile | 11 |
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 |