aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2014-06-11 18:23:57 +0800
committersanpei <sanpei@FreeBSD.org>2014-06-11 18:23:57 +0800
commit05f88658858f10346230367f2683880a9ff0d716 (patch)
tree7626b0595e89f32c37f81b3b84accc9d01eeaeb7 /math
parent4164955f045e0dc7f97559389d5361a76bd25782 (diff)
downloadfreebsd-ports-gnome-05f88658858f10346230367f2683880a9ff0d716.tar.gz
freebsd-ports-gnome-05f88658858f10346230367f2683880a9ff0d716.tar.zst
freebsd-ports-gnome-05f88658858f10346230367f2683880a9ff0d716.zip
Add staging support.
Diffstat (limited to 'math')
-rw-r--r--math/xgraph/Makefile6
-rw-r--r--math/xgraph/pkg-plist13
2 files changed, 9 insertions, 10 deletions
diff --git a/math/xgraph/Makefile b/math/xgraph/Makefile
index 78c421519597..13482a445e82 100644
--- a/math/xgraph/Makefile
+++ b/math/xgraph/Makefile
@@ -15,11 +15,9 @@ COMMENT= Program that helps you plot graphs
USES= imake
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/${PORTNAME}
-MAN1= xgraph.1
-NO_STAGE= yes
post-install:
- @${MKDIR} ${PREFIX}/share/examples/xgraph
- ${INSTALL_DATA} ${WRKSRC}/examples/*.xg ${PREFIX}/share/examples/xgraph
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/xgraph
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.xg ${STAGEDIR}${PREFIX}/share/examples/xgraph
.include <bsd.port.mk>
diff --git a/math/xgraph/pkg-plist b/math/xgraph/pkg-plist
index 2b4e028d1459..b01891135faa 100644
--- a/math/xgraph/pkg-plist
+++ b/math/xgraph/pkg-plist
@@ -1,7 +1,8 @@
bin/xgraph
-share/examples/xgraph/bar.xg
-share/examples/xgraph/surface.xg
-share/examples/xgraph/surface2.xg
-share/examples/xgraph/surface3.xg
-share/examples/xgraph/xgtest.xg
-@dirrm share/examples/xgraph
+man/man1/xgraph.1.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bar.xg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/surface.xg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/surface2.xg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/surface3.xg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xgtest.xg
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%