aboutsummaryrefslogtreecommitdiff
path: root/math/spblas
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-04-27 09:33:50 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-04-27 09:33:50 +0000
commit62d4ec8296187415416f401ba9f8f5cc249b2d2e (patch)
treef4b899ef333637986f20786ed0f3f706b1c9afa1 /math/spblas
parentbeeb841cdbc7dd65accd4641060ce4e0ef86edf3 (diff)
downloadports-62d4ec8296187415416f401ba9f8f5cc249b2d2e.tar.gz
ports-62d4ec8296187415416f401ba9f8f5cc249b2d2e.zip
- Add LICENSE
- Switch to options helpers - Update WWW - Unsilence installation commands
Notes
Notes: svn path=/head/; revision=468411
Diffstat (limited to 'math/spblas')
-rw-r--r--math/spblas/Makefile16
-rw-r--r--math/spblas/pkg-descr2
2 files changed, 10 insertions, 8 deletions
diff --git a/math/spblas/Makefile b/math/spblas/Makefile
index 33603b5ddf7f..bee4b6a1edb4 100644
--- a/math/spblas/Makefile
+++ b/math/spblas/Makefile
@@ -11,6 +11,8 @@ DISTFILES= nist_spblas_${DISTVERSION}.zip:1
MAINTAINER= ports@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>
diff --git a/math/spblas/pkg-descr b/math/spblas/pkg-descr
index 4e1e8dfdff05..d2a133d4eb67 100644
--- a/math/spblas/pkg-descr
+++ b/math/spblas/pkg-descr
@@ -6,4 +6,4 @@ for complex arithmetic and templates to facilitate to creation of various
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/