diff options
author | mat <mat@FreeBSD.org> | 2016-07-19 19:04:13 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-07-19 19:04:13 +0800 |
commit | 363acdd313a37f491e4b2d6b9a807df489cfc5d9 (patch) | |
tree | be6eebf3e77ddf9fcf383081091d8b8b336dd71c /archivers | |
parent | 64a47229a8791073130cac02039b944cc8102750 (diff) | |
download | freebsd-ports-gnome-363acdd313a37f491e4b2d6b9a807df489cfc5d9.tar.gz freebsd-ports-gnome-363acdd313a37f491e4b2d6b9a807df489cfc5d9.tar.zst freebsd-ports-gnome-363acdd313a37f491e4b2d6b9a807df489cfc5d9.zip |
When there is a do-install target, do not use a post-install target, do
everything at once. Sometime, rename post-install into a options helper
target.
I did not fix ports that were such a mess that I could not figure out
what they really wanted to do. I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/lbzip2/Makefile | 2 | ||||
-rw-r--r-- | archivers/rar/Makefile | 2 | ||||
-rw-r--r-- | archivers/star/Makefile | 6 |
3 files changed, 3 insertions, 7 deletions
diff --git a/archivers/lbzip2/Makefile b/archivers/lbzip2/Makefile index c3afd33c4385..46d5675893f9 100644 --- a/archivers/lbzip2/Makefile +++ b/archivers/lbzip2/Makefile @@ -21,7 +21,7 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/lbzip2 ${STAGEDIR}${PREFIX}/bin/lbzip2 ${INSTALL_MAN} ${WRKSRC}/lbzip2.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile index 0371a0243170..9b47a542e156 100644 --- a/archivers/rar/Makefile +++ b/archivers/rar/Makefile @@ -47,7 +47,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/default.sfx ${STAGEDIR}${PREFIX}/lib -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} diff --git a/archivers/star/Makefile b/archivers/star/Makefile index 5046b4f5f869..2a1909ec654a 100644 --- a/archivers/star/Makefile +++ b/archivers/star/Makefile @@ -31,8 +31,6 @@ PORTDOCS= README README.crash README.mtio README.pattern STARvsGNUTAR \ OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${FIND} ${WRKSRC} -type f -print \ | ${XARGS} ${REINPLACE_CMD} -e "s@/etc/default@${PREFIX}/etc@g" @@ -56,12 +54,10 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/star/star.dfl ${STAGEDIR}${PREFIX}/etc/star.sample ${INSTALL_DATA} ${WRKSRC}/rmt/rmt.dfl ${STAGEDIR}${PREFIX}/etc/rmt.sample -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${PORTDOCS} (cd ${WRKSRC}/star && ${INSTALL_DATA} ${FILE} ${STAGEDIR}${DOCSDIR}/${FILE}) .endfor -.endif .include <bsd.port.mk> |