mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Add LICENSE
- Switch to options helpers - Switch to new test framework
This commit is contained in:
parent
42ccf50823
commit
e46fbb26e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488536
1 changed files with 10 additions and 6 deletions
|
@ -10,6 +10,11 @@ DISTNAME= ${PORTNAME}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Package for solving large sparse systems of linear equations
|
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
|
USES= tar:tgz
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
MAKEFILE= makefile
|
MAKEFILE= makefile
|
||||||
|
@ -20,14 +25,13 @@ OPTIONS_DEFINE= DOCS
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
|
@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
|
||||||
|
|
||||||
post-install:
|
post-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
.ifdef MAINTAINER_MODE
|
# XXX: test does not work properly (see work/laspack/check/diffs)
|
||||||
regression-test:
|
do-test:
|
||||||
@cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} ./install
|
cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} ./install
|
||||||
@cd ${WRKSRC}/check && ${SETENV} HOME=${WRKDIR} ./check
|
cd ${WRKSRC}/check && ${SETENV} HOME=${WRKDIR} ./check
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue