Add staging support.

This commit is contained in:
MIHIRA Sanpei Yoshiro 2014-06-11 10:23:57 +00:00
parent b6c090b954
commit f5ed3ba70d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357461
2 changed files with 9 additions and 10 deletions

View File

@ -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>

View File

@ -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%%