aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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