Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 12:27:51 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343059 - head/math/p5-Math-TrulyRandom
Message-ID:  <201402061227.s16CRpMi017840@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb  6 12:27:50 2014
New Revision: 343059
URL: http://svnweb.freebsd.org/changeset/ports/343059
QAT: https://qat.redports.org/buildarchive/r343059/

Log:
  - Support staging
  - Strip shared object
  - Don't install license file into DOCSDIR but define LICENSE

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

Modified: head/math/p5-Math-TrulyRandom/Makefile
==============================================================================
--- head/math/p5-Math-TrulyRandom/Makefile	Thu Feb  6 12:25:17 2014	(r343058)
+++ head/math/p5-Math-TrulyRandom/Makefile	Thu Feb  6 12:27:50 2014	(r343059)
@@ -10,18 +10,21 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	anders@FreeBSD.org
 COMMENT=	Perl interface to a truly random number generator function
 
+LICENSE=	BSD3CLAUSE
+
 USES=		perl5
 USE_PERL5=	configure
 
-MAN3=		Math::TrulyRandom.3
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	*
+
+.include <bsd.port.options.mk>
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${INSTALL} -d -m 0755 ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/truerand.c ${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/truerand.h ${DOCSDIR}/
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/truerand.c ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/truerand.h ${STAGEDIR}${DOCSDIR}
+	${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Math/TrulyRandom/TrulyRandom.so
 
 .include <bsd.port.mk>

Modified: head/math/p5-Math-TrulyRandom/pkg-plist
==============================================================================
--- head/math/p5-Math-TrulyRandom/pkg-plist	Thu Feb  6 12:25:17 2014	(r343058)
+++ head/math/p5-Math-TrulyRandom/pkg-plist	Thu Feb  6 12:27:50 2014	(r343059)
@@ -3,10 +3,7 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/TrulyRandom.bs
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/TrulyRandom.so
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/TrulyRandom/.packlist
-%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
-%%PORTDOCS%%%%DOCSDIR%%/truerand.c
-%%PORTDOCS%%%%DOCSDIR%%/truerand.h
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PERL5_MAN3%%/Math::TrulyRandom.3.gz
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/TrulyRandom
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061227.s16CRpMi017840>