mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 03:45:17 -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
|
||||
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>
|
||||
|
|
Loading…
Add table
Reference in a new issue