aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-29 07:05:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-29 07:05:17 +0800
commitaba6659838ec882fe072409f78604a18e6bc6cfd (patch)
treed1e0f8256c8380b2835254a0486448f145e6314e /math
parentb4a2c9478ea94774bac4f12f347b59f8ba35c93f (diff)
downloadfreebsd-ports-graphics-aba6659838ec882fe072409f78604a18e6bc6cfd.tar.gz
freebsd-ports-graphics-aba6659838ec882fe072409f78604a18e6bc6cfd.tar.zst
freebsd-ports-graphics-aba6659838ec882fe072409f78604a18e6bc6cfd.zip
- Add LICENSE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'math')
-rw-r--r--math/glgraph/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/math/glgraph/Makefile b/math/glgraph/Makefile
index 769e16e2f04..9494fc64e04 100644
--- a/math/glgraph/Makefile
+++ b/math/glgraph/Makefile
@@ -11,6 +11,9 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL based function grapher
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
RUN_DEPENDS= p5-OpenGL>=0:${PORTSDIR}/graphics/p5-OpenGL \
import:${PORTSDIR}/graphics/ImageMagick
@@ -18,6 +21,7 @@ USES= perl5 shebangfix tar:bzip2
USE_PERL5= run
SHEBANG_FILES= ${PORTNAME}
NO_BUILD= yes
+NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/glgraph
@@ -27,6 +31,8 @@ OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/glgraph ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/documentation.html ${STAGEDIR}${DOCSDIR}