aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-02-27 12:46:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-02-27 12:46:16 +0000
commit0f94ae500a78fd0453a58fac93e74731ea6cb00c (patch)
treefd1bb45f3b50b9e759a4c022c1fedb8d4a227349 /math
parent5e7a3f62f034571ad5c75ac1db14d67e48e2014c (diff)
downloadports-0f94ae500a78fd0453a58fac93e74731ea6cb00c.tar.gz
ports-0f94ae500a78fd0453a58fac93e74731ea6cb00c.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/xgraph/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/xgraph/Makefile b/math/xgraph/Makefile
index c4b32efb0ee5..62424b4785f2 100644
--- a/math/xgraph/Makefile
+++ b/math/xgraph/Makefile
@@ -11,10 +11,18 @@ DISTNAME= xgraph-11
MAINTAINER= ports@FreeBSD.org
COMMENT= Program that helps you plot graphs
+LICENSE= XGRAPH
+LICENSE_NAME= xgraph license
+LICENSE_FILE= ${WRKSRC}/COPYING
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
USES= imake tar:Z
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/${PORTNAME}
+post-extract:
+ @${SED} -ne '2,19 {s|^ \* *||;p;}' < ${WRKSRC}/copyright.h > ${WRKSRC}/COPYING
+
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/xgraph
${INSTALL_DATA} ${WRKSRC}/examples/*.xg ${STAGEDIR}${PREFIX}/share/examples/xgraph