Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 12:52:48 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488536 - head/math/laspack
Message-ID:  <201812271252.wBRCqm2E079788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Dec 27 12:52:48 2018
New Revision: 488536
URL: https://svnweb.freebsd.org/changeset/ports/488536

Log:
  - Add LICENSE
  - Switch to options helpers
  - Switch to new test framework

Modified:
  head/math/laspack/Makefile

Modified: head/math/laspack/Makefile
==============================================================================
--- head/math/laspack/Makefile	Thu Dec 27 12:49:20 2018	(r488535)
+++ head/math/laspack/Makefile	Thu Dec 27 12:52:48 2018	(r488536)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812271252.wBRCqm2E079788>