svn commit: r468411 - head/math/spblas

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 27 09:33:51 UTC 2018


Author: amdmi3
Date: Fri Apr 27 09:33:50 2018
New Revision: 468411
URL: https://svnweb.freebsd.org/changeset/ports/468411

Log:
  - Add LICENSE
  - Switch to options helpers
  - Update WWW
  - Unsilence installation commands

Modified:
  head/math/spblas/Makefile
  head/math/spblas/pkg-descr

Modified: head/math/spblas/Makefile
==============================================================================
--- head/math/spblas/Makefile	Fri Apr 27 09:03:49 2018	(r468410)
+++ head/math/spblas/Makefile	Fri Apr 27 09:33:50 2018	(r468411)
@@ -11,6 +11,8 @@ DISTFILES=	nist_spblas_${DISTVERSION}.zip:1
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	NIST Sparse Basic Linear Algebra Subprograms (BLAS)
 
+LICENSE=	PD
+
 USES=		dos2unix uidfix zip
 USE_GCC=	yes
 USE_LDCONFIG=	yes
@@ -63,14 +65,14 @@ post-extract:
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/${HDIR}
-	@cd ${WRKSRC}; ${INSTALL_DATA} ${HEADERS} ${STAGEDIR}${PREFIX}/${HDIR}
-.if ${PORT_OPTIONS:MDOCS}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${HEADERS} ${STAGEDIR}${PREFIX}/${HDIR}
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	@cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/math/spblas/pkg-descr
==============================================================================
--- head/math/spblas/pkg-descr	Fri Apr 27 09:03:49 2018	(r468410)
+++ head/math/spblas/pkg-descr	Fri Apr 27 09:33:50 2018	(r468411)
@@ -6,4 +6,4 @@ for complex arithmetic and templates to facilitate to 
 precision codes.) The library includes support for all four precision types
 (single, double precision, real, and complex) and Level 1, 2, and 3 operations.
 
-WWW: http://math.nist.gov/spblas/
+WWW: https://math.nist.gov/spblas/


More information about the svn-ports-head mailing list