1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
This commit is contained in:
Juergen Lock 2014-05-12 16:32:34 +00:00
parent 0db13278e7
commit e70ad1f62d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353870
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -1,4 +1,5 @@
bin/mboxgrep
man/man1/mboxgrep.1.gz
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README