aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-02 19:58:21 +0800
committermat <mat@FreeBSD.org>2016-12-02 19:58:21 +0800
commit8f4d478e0d67ed7e9570dc79cf876a62a43a852b (patch)
tree4a28bf50f532fa82a149cbc3f9c041d48a23921b /science
parent5b951b259299b903bd0cae554230906f70c4fe94 (diff)
downloadfreebsd-ports-graphics-8f4d478e0d67ed7e9570dc79cf876a62a43a852b.tar.gz
freebsd-ports-graphics-8f4d478e0d67ed7e9570dc79cf876a62a43a852b.tar.zst
freebsd-ports-graphics-8f4d478e0d67ed7e9570dc79cf876a62a43a852b.zip
Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do "things" at a later time, like some plist manipulation. While there, fold post-install in do-install targets when they are defined. PR: 214780 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
Diffstat (limited to 'science')
-rw-r--r--science/gnudatalanguage/Makefile2
-rw-r--r--science/mcstas/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/science/gnudatalanguage/Makefile b/science/gnudatalanguage/Makefile
index 7d681a52616..0a49d8d6bac 100644
--- a/science/gnudatalanguage/Makefile
+++ b/science/gnudatalanguage/Makefile
@@ -111,7 +111,7 @@ do-install:
.endif
.if !defined(BUILD_PYTHON_MODULE)
-post-stage:
+post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/testsuite
(cd ${WRKSRC}/testsuite && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/testsuite/)
.endif
diff --git a/science/mcstas/Makefile b/science/mcstas/Makefile
index 3b2351440e3..01021e5fe9c 100644
--- a/science/mcstas/Makefile
+++ b/science/mcstas/Makefile
@@ -19,7 +19,7 @@ GNU_CONFIGURE= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
SUB_FILES= pkg-deinstall pkg-install
-post-stage:
+post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/mcstas/${PORTVERSION}/bin/mcformat
${STRIP_CMD} ${STAGEDIR}${PREFIX}/mcstas/${PORTVERSION}/bin/mcstas