aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-TrulyRandom/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-27 10:30:30 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-27 10:30:30 +0000
commit48b26f9a5290ca0185e8e2384f81e431f7c40aee (patch)
treefc3928e769061c9631cd9f480f0bf733c2e290b5 /math/p5-Math-TrulyRandom/Makefile
parente07cb764b00dd019ff8960e96e9591a2f40f3ed8 (diff)
downloadports-48b26f9a5290ca0185e8e2384f81e431f7c40aee.tar.gz
ports-48b26f9a5290ca0185e8e2384f81e431f7c40aee.zip
- Add LICENSE_FILE
- Remove needless options.mk inclusion - Fix stripping
Notes
Notes: svn path=/head/; revision=382393
Diffstat (limited to 'math/p5-Math-TrulyRandom/Makefile')
-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>