svn commit: r382393 - head/math/p5-Math-TrulyRandom

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Mar 27 10:30:31 UTC 2015


Author: amdmi3
Date: Fri Mar 27 10:30:30 2015
New Revision: 382393
URL: https://svnweb.freebsd.org/changeset/ports/382393
QAT: https://qat.redports.org/buildarchive/r382393/

Log:
  - Add LICENSE_FILE
  - Remove needless options.mk inclusion
  - Fix stripping

Modified:
  head/math/p5-Math-TrulyRandom/Makefile

Modified: head/math/p5-Math-TrulyRandom/Makefile
==============================================================================
--- head/math/p5-Math-TrulyRandom/Makefile	Fri Mar 27 10:30:22 2015	(r382392)
+++ head/math/p5-Math-TrulyRandom/Makefile	Fri Mar 27 10:30:30 2015	(r382393)
@@ -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 at 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>


More information about the svn-ports-head mailing list