From f899c758a653ca8ff2f8a63aafcb2519a0b524ed Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 19 Jul 2016 11:04:13 +0000 Subject: 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 --- math/bargraph/Makefile | 3 ++- math/convertall/Makefile | 2 -- math/ntl/Makefile | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'math') 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 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} -- cgit v1.2.3