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 /math | |
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 'math')
-rw-r--r-- | math/bargraph/Makefile | 3 | ||||
-rw-r--r-- | math/convertall/Makefile | 2 | ||||
-rw-r--r-- | math/ntl/Makefile | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/math/bargraph/Makefile b/math/bargraph/Makefile index 1988dc2f8c5a..b31584c7decb 100644 --- a/math/bargraph/Makefile +++ b/math/bargraph/Makefile @@ -26,9 +26,10 @@ OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bargraph.pl ${STAGEDIR}${PREFIX}/bin/bargraph -post-install: +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} ${WRKSRC}/samples/*.perf ${WRKSRC}/samples/*.png ${STAGEDIR}${EXAMPLESDIR} diff --git a/math/convertall/Makefile b/math/convertall/Makefile index 8b9e46a393a4..4bb6d5964f7d 100644 --- a/math/convertall/Makefile +++ b/math/convertall/Makefile @@ -40,8 +40,6 @@ do-install: (cd ${STAGEDIR}${PREFIX} && \ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${DATADIR} -f ${DATADIR_REL}) - -post-install: (cd ${STAGEDIR}${DOCSDIR} && ${RM} INSTALL LICENSE) .include <bsd.port.pre.mk> diff --git a/math/ntl/Makefile b/math/ntl/Makefile index 3c848e1e312f..68662e9d48f2 100644 --- a/math/ntl/Makefile +++ b/math/ntl/Makefile @@ -37,7 +37,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/../include/NTL/* ${STAGEDIR}${PREFIX}/include/NTL/ ${INSTALL_DATA} ${WRKSRC}/ntl.a ${STAGEDIR}${PREFIX}/lib/libntl.a -post-install: +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR} |