aboutsummaryrefslogtreecommitdiffstats
path: root/science/getdp/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-06-22 16:37:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-06-22 16:37:17 +0800
commit44ed1d04e2b9b68a542d65c50fa64f4494f70b6a (patch)
tree2b7d3ecd33fd4f16229bcc41af6a5ea29303411d /science/getdp/Makefile
parent847aa3f0458ad68e8007c070bffb281d217381ac (diff)
downloadfreebsd-ports-gnome-44ed1d04e2b9b68a542d65c50fa64f4494f70b6a.tar.gz
freebsd-ports-gnome-44ed1d04e2b9b68a542d65c50fa64f4494f70b6a.tar.zst
freebsd-ports-gnome-44ed1d04e2b9b68a542d65c50fa64f4494f70b6a.zip
- Fix LICENSE
- Add LICENSE_FILE - Remove no-op WANT_PERL - Switch to new test framework Approved by: portmgr blanket
Diffstat (limited to 'science/getdp/Makefile')
-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>