aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-22 08:37:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-22 08:37:17 +0000
commitc00f8f215d53cbd0cd5d85678c7a498446cd227e (patch)
tree2b7d3ecd33fd4f16229bcc41af6a5ea29303411d /science
parent4cceb98fa2ff2e38dda846d21da01670fa04c1c6 (diff)
downloadports-c00f8f215d53cbd0cd5d85678c7a498446cd227e.tar.gz
ports-c00f8f215d53cbd0cd5d85678c7a498446cd227e.zip
- Fix LICENSE
- Add LICENSE_FILE - Remove no-op WANT_PERL - Switch to new test framework Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=473024
Diffstat (limited to 'science')
-rw-r--r--science/getdp/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/science/getdp/Makefile b/science/getdp/Makefile
index f283565fb7a7..46c5fd57539f 100644
--- a/science/getdp/Makefile
+++ b/science/getdp/Makefile
@@ -10,22 +10,17 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= stephen@FreeBSD.org
COMMENT= Rather general finite element solver using mixed finite elements
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/README.txt
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libgsl.so:math/gsl \
liblapack.so:math/lapack
USES= fortran tar:tgz cmake
-WANT_PERL= yes
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.pre.mk>
+do-test:
+ cd ${WRKSRC}/demos && yes "" | ${STAGEDIR}${PREFIX}/bin/${PORTNAME} magnet.pro -solve MagSta_phi
-.if defined(MAINTAINER_MODE)
-regression-test: install
- cd ${WRKSRC}/demos && yes "" | ${PORTNAME} magnet.pro -solve MagSta_phi
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>