From 52a965391f2ae0a84311d8e34ecfd356c86fd4c6 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 27 Dec 2018 12:52:48 +0000 Subject: - Add LICENSE - Switch to options helpers - Switch to new test framework --- math/laspack/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'math') 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 -- cgit