svn commit: r402688 - head/mail/mboxgrep
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Nov 30 16:48:12 UTC 2015
Author: amdmi3
Date: Mon Nov 30 16:48:10 2015
New Revision: 402688
URL: https://svnweb.freebsd.org/changeset/ports/402688
Log:
- Fix installation, no more need for uidfix
- Pet portlint
Modified:
head/mail/mboxgrep/Makefile
Modified: head/mail/mboxgrep/Makefile
==============================================================================
--- head/mail/mboxgrep/Makefile Mon Nov 30 16:47:24 2015 (r402687)
+++ head/mail/mboxgrep/Makefile Mon Nov 30 16:48:10 2015 (r402688)
@@ -10,11 +10,6 @@ MASTER_SITES= SF
MAINTAINER= ports at 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
More information about the svn-ports-all
mailing list