aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-27 18:30:30 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-27 18:30:30 +0800
commit76152bc47e59abdb74be4b2e5cea53c94b582858 (patch)
treefc3928e769061c9631cd9f480f0bf733c2e290b5 /math
parentced3301eddda19babfea5c35055ffe413198ce8d (diff)
downloadfreebsd-ports-gnome-76152bc47e59abdb74be4b2e5cea53c94b582858.tar.gz
freebsd-ports-gnome-76152bc47e59abdb74be4b2e5cea53c94b582858.tar.zst
freebsd-ports-gnome-76152bc47e59abdb74be4b2e5cea53c94b582858.zip
- Add LICENSE_FILE
- Remove needless options.mk inclusion - Fix stripping
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-TrulyRandom/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/p5-Math-TrulyRandom/Makefile b/math/p5-Math-TrulyRandom/Makefile
index 7ba4d27f23a5..0e8ccb985048 100644
--- a/math/p5-Math-TrulyRandom/Makefile
+++ b/math/p5-Math-TrulyRandom/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Math-TrulyRandom
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -12,6 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Perl interface to a truly random number generator function
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= perl5
USE_PERL5= configure
@@ -20,12 +21,12 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= *
-.include <bsd.port.options.mk>
-
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/truerand.c ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/truerand.h ${STAGEDIR}${DOCSDIR}
+ ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/TrulyRandom/TrulyRandom.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/TrulyRandom/TrulyRandom.so
+ ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/TrulyRandom/TrulyRandom.so
.include <bsd.port.mk>