aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-12-27 20:52:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-12-27 20:52:48 +0800
commit52a965391f2ae0a84311d8e34ecfd356c86fd4c6 (patch)
treee53977858676ad27f2555270f8f54c4289e87300 /math
parentf08f460d5e17b9fd4f73fb4ab1e5aaa94ee895b5 (diff)
downloadfreebsd-ports-gnome-52a965391f2ae0a84311d8e34ecfd356c86fd4c6.tar.gz
freebsd-ports-gnome-52a965391f2ae0a84311d8e34ecfd356c86fd4c6.tar.zst
freebsd-ports-gnome-52a965391f2ae0a84311d8e34ecfd356c86fd4c6.zip
- Add LICENSE
- Switch to options helpers - Switch to new test framework
Diffstat (limited to 'math')
-rw-r--r--math/laspack/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/math/laspack/Makefile b/math/laspack/Makefile
index de01d295149d..c216071109eb 100644
--- a/math/laspack/Makefile
+++ b/math/laspack/Makefile
@@ -10,6 +10,11 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Package for solving large sparse systems of linear equations
+LICENSE= LASPACK
+LICENSE_FILE= ${WRKSRC}/copyrght.h
+LICENSE_NAME= LASPack license
+LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
USES= tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
@@ -20,14 +25,13 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
-.ifdef MAINTAINER_MODE
-regression-test:
- @cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} ./install
- @cd ${WRKSRC}/check && ${SETENV} HOME=${WRKDIR} ./check
-.endif
+# XXX: test does not work properly (see work/laspack/check/diffs)
+do-test:
+ cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} ./install
+ cd ${WRKSRC}/check && ${SETENV} HOME=${WRKDIR} ./check
.include <bsd.port.mk>