aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2014-05-25 02:30:15 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2014-05-25 02:30:15 +0000
commitc48ccf08eeb2d046f54ecbab36291cbc0dc6df79 (patch)
treea9f15d2c1415b10fcf56578ea436931e96d81434 /math
parent3d976da1bdc4c1a0d789b84f84c84174d6768022 (diff)
downloadports-c48ccf08eeb2d046f54ecbab36291cbc0dc6df79.tar.gz
ports-c48ccf08eeb2d046f54ecbab36291cbc0dc6df79.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/xppaut/Makefile12
-rw-r--r--math/xppaut/pkg-plist6
2 files changed, 10 insertions, 8 deletions
diff --git a/math/xppaut/Makefile b/math/xppaut/Makefile
index 20bbd21b568c..5f2c9302116f 100644
--- a/math/xppaut/Makefile
+++ b/math/xppaut/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xppaut
PORTVERSION= 7.0
+PORTREVISION= 1
CATEGORIES= math graphics
MASTER_SITES= http://www.math.pitt.edu/~bard/bardware/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -10,15 +11,22 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= stephen@FreeBSD.org
COMMENT= Graphical tool for solving differential equations, etc
+LICENSE= GPLv2
+
USE_XORG= xbitmaps x11 xproto
CFLAGS+= -w -Wno-return-type
WRKSRC= ${WRKDIR}
ALL_TARGET= xppaut
-.ifdef NOPORTDOCS
+post-build:
+ ${RM} -f ${WRKSRC}/ode/._*
+
+.include <bsd.port.options.mk>
+
+.if !${PORT_OPTIONS:MDOCS}
MAKE_ENV+= NOPORTDOCS=yes
.endif
-.ifdef NOPORTEXAMPLES
+.if !${PORT_OPTIONS:MEXAMPLES}
MAKE_ENV+= NOPORTEXAMPLES=yes
.endif
diff --git a/math/xppaut/pkg-plist b/math/xppaut/pkg-plist
index 222e7ae9f325..781c07dcd0a9 100644
--- a/math/xppaut/pkg-plist
+++ b/math/xppaut/pkg-plist
@@ -67,12 +67,6 @@ man/man1/xppaut.1.gz
%%PORTDOCS%%%%DOCSDIR%%/xbm/woodgrain.xbm
%%PORTDOCS%%%%DOCSDIR%%/xpp_doc.pdf
%%PORTDOCS%%%%DOCSDIR%%/xpp_sum.pdf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/._ex.so
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/._example.dylib
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/._example.so
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/._getmax.so
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/._getmin.so
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/._t.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/6x6.ani
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/6x6.ode
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ode/V0.tab