- Add LICENSE_FILE

- Remove needless options.mk inclusion
- Fix stripping
This commit is contained in:
Dmitry Marakasov 2015-03-27 10:30:30 +00:00
parent e07cb764b0
commit 48b26f9a52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382393

View file

@ -3,7 +3,7 @@
PORTNAME= Math-TrulyRandom PORTNAME= Math-TrulyRandom
PORTVERSION= 1.0 PORTVERSION= 1.0
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= math perl5 CATEGORIES= math perl5
MASTER_SITES= CPAN MASTER_SITES= CPAN
PKGNAMEPREFIX= p5- PKGNAMEPREFIX= p5-
@ -12,6 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Perl interface to a truly random number generator function COMMENT= Perl interface to a truly random number generator function
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USES= perl5 USES= perl5
USE_PERL5= configure USE_PERL5= configure
@ -20,12 +21,12 @@ OPTIONS_DEFINE= DOCS
PORTDOCS= * PORTDOCS= *
.include <bsd.port.options.mk>
post-install: post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/truerand.c ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/truerand.c ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/truerand.h ${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 ${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> .include <bsd.port.mk>