aboutsummaryrefslogtreecommitdiffstats
path: root/math/unuran/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-10-07 17:01:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-10-07 17:01:51 +0800
commit42d78c17918880d8779f666f73f29c5209ee1472 (patch)
tree096c78cd11b388a30825b313880fe54911bd5e5a /math/unuran/Makefile
parent5ba3be85105fa0a869b43042761c2dd4176798b1 (diff)
downloadfreebsd-ports-gnome-42d78c17918880d8779f666f73f29c5209ee1472.tar.gz
freebsd-ports-gnome-42d78c17918880d8779f666f73f29c5209ee1472.tar.zst
freebsd-ports-gnome-42d78c17918880d8779f666f73f29c5209ee1472.zip
- Fix LICENSE
- Add LICENSE_FILE - Switch to options helpers - Cosmetic fixes - Regenerate patches
Diffstat (limited to 'math/unuran/Makefile')
-rw-r--r--math/unuran/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/math/unuran/Makefile b/math/unuran/Makefile
index 8a83056cf8c6..438ff3bcc3e6 100644
--- a/math/unuran/Makefile
+++ b/math/unuran/Makefile
@@ -11,9 +11,11 @@ MASTER_SITES= http://statmath.wu-wien.ac.at/unuran/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Universal Non-Uniform RANdom number generators
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= librngstreams.so:math/rngstreams
-LICENSE= GPLv2
USES= gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --with-urng-rngstream --with-urng-default=rngstream \
@@ -29,13 +31,13 @@ PORTDOCS= unuran.pdf unuran.txt
OPTIONS_DEFINE= DOCS
post-patch:
- ${REINPLACE_CMD} -e '/UNURANFULLCHECK=true make check/s/make/${MAKE_CMD}/' \
+ @${REINPLACE_CMD} -e '/UNURANFULLCHECK=true make check/s/make/${MAKE_CMD}/' \
${WRKSRC}/Makefile.in
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for DD in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${STAGEDIR}${DOCSDIR}
.endfor
.ifdef(MAINTAINER_MODE)