mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +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
|
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
USES= uidfix
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
|
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
|
||||||
CFLAGS+= -I${LOCALBASE}/include
|
CFLAGS+= -I${LOCALBASE}/include
|
||||||
USE_OPENSSL= yes
|
USE_OPENSSL= yes
|
||||||
|
|
||||||
MAN1= mboxgrep.1
|
|
||||||
INFO= mboxgrep
|
INFO= mboxgrep
|
||||||
|
|
||||||
DOCS= ChangeLog NEWS README TODO
|
DOCS= ChangeLog NEWS README TODO
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's,void \*tmpp,FILE \*tmpp,g' ${WRKSRC}/src/main.c
|
@${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:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.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}
|
.for f in ${DOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
bin/mboxgrep
|
bin/mboxgrep
|
||||||
|
man/man1/mboxgrep.1.gz
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
Loading…
Reference in New Issue
Block a user