diff options
author | Juergen Lock <nox@FreeBSD.org> | 2014-05-12 16:32:34 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2014-05-12 16:32:34 +0000 |
commit | e70ad1f62d5242aa4cc046328ef1ce1c28da2460 (patch) | |
tree | 52650896e96619e7a483dab742cffc6226e6a28c /mail/mboxgrep | |
parent | 0db13278e7f2cea4ee11e81a1224ad4955f98700 (diff) |
Notes
Diffstat (limited to 'mail/mboxgrep')
-rw-r--r-- | mail/mboxgrep/Makefile | 11 | ||||
-rw-r--r-- | mail/mboxgrep/pkg-plist | 1 |
2 files changed, 8 insertions, 4 deletions
diff --git a/mail/mboxgrep/Makefile b/mail/mboxgrep/Makefile index f1ffb2b13207..61e0822c63c8 100644 --- a/mail/mboxgrep/Makefile +++ b/mail/mboxgrep/Makefile @@ -14,25 +14,28 @@ COMMENT= Utility to scan mailboxes for messages matching a regular expression LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre .endif +USES= uidfix GNU_CONFIGURE= yes CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CFLAGS+= -I${LOCALBASE}/include USE_OPENSSL= yes -MAN1= mboxgrep.1 INFO= mboxgrep DOCS= ChangeLog NEWS README TODO -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,void \*tmpp,FILE \*tmpp,g' ${WRKSRC}/src/main.c + @${REINPLACE_CMD} -e 's,$$(prefix),$$(DESTDIR)$$(prefix),g' \ + -e 's,$$(mandir),$$(DESTDIR)$$(mandir),g' \ + -e 's,$$(infodir),$$(DESTDIR)$$(infodir),g' \ + ${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in post-install: .if !defined(NOPORTDOCS) - ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR} + ${INSTALL} -d -o root -g wheel -m 0755 ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .endif diff --git a/mail/mboxgrep/pkg-plist b/mail/mboxgrep/pkg-plist index 3754dbe12358..41ffc8b82150 100644 --- a/mail/mboxgrep/pkg-plist +++ b/mail/mboxgrep/pkg-plist @@ -1,4 +1,5 @@ bin/mboxgrep +man/man1/mboxgrep.1.gz %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README |