svn commit: r357461 - head/math/xgraph

MIHIRA Sanpei Yoshiro sanpei at FreeBSD.org
Wed Jun 11 10:23:58 UTC 2014


Author: sanpei
Date: Wed Jun 11 10:23:57 2014
New Revision: 357461
URL: http://svnweb.freebsd.org/changeset/ports/357461
QAT: https://qat.redports.org/buildarchive/r357461/

Log:
  Add staging support.

Modified:
  head/math/xgraph/Makefile
  head/math/xgraph/pkg-plist

Modified: head/math/xgraph/Makefile
==============================================================================
--- head/math/xgraph/Makefile	Wed Jun 11 10:20:41 2014	(r357460)
+++ head/math/xgraph/Makefile	Wed Jun 11 10:23:57 2014	(r357461)
@@ -15,11 +15,9 @@ COMMENT=	Program that helps you plot gra
 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>

Modified: head/math/xgraph/pkg-plist
==============================================================================
--- head/math/xgraph/pkg-plist	Wed Jun 11 10:20:41 2014	(r357460)
+++ head/math/xgraph/pkg-plist	Wed Jun 11 10:23:57 2014	(r357461)
@@ -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
- at 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%%


More information about the svn-ports-head mailing list