mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Stagify.
This commit is contained in:
parent
0db13278e7
commit
e70ad1f62d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353870
@ -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
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/mboxgrep
|
||||
man/man1/mboxgrep.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
|
Loading…
Reference in New Issue
Block a user