Date: Wed, 29 Jun 2016 19:35:48 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417790 - head/math/rngstreams Message-ID: <201606291935.u5TJZmXY060918@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jun 29 19:35:48 2016 New Revision: 417790 URL: https://svnweb.freebsd.org/changeset/ports/417790 Log: - Add LICENSE - Switch to new test framework - Style fixes - Strip library - Switch to options helpers Modified: head/math/rngstreams/Makefile Modified: head/math/rngstreams/Makefile ============================================================================== --- head/math/rngstreams/Makefile Wed Jun 29 19:33:02 2016 (r417789) +++ head/math/rngstreams/Makefile Wed Jun 29 19:35:48 2016 (r417790) @@ -3,38 +3,45 @@ PORTNAME= rngstreams PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= http://statmath.wu-wien.ac.at/software/RngStreams/ MAINTAINER= ports@FreeBSD.org COMMENT= C implementation of a high-quality uniform random number generator +LICENSE= GPLv2+ # code says GPLv2+, COPYING is GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= libtool GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-shared +CONFIGURE_ARGS= --enable-shared USE_LDCONFIG= yes -PLIST_FILES= lib/librngstreams.a \ - lib/librngstreams.so.0.0.0 \ - lib/librngstreams.so.0 \ +TEST_TARGET= check + +PLIST_FILES= include/RngStream.h \ + lib/librngstreams.a \ lib/librngstreams.so \ - include/RngStream.h + lib/librngstreams.so.0 \ + lib/librngstreams.so.0.0.0 PORTDOCS= rngstreams.txt PORTEXAMPLES= example1.c OPTIONS_DEFINE= DOCS EXAMPLES post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librngstreams.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for DD in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${STAGEDIR}${DOCSDIR} .endfor + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for EE in ${PORTEXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/examples/${EE} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/${EE} ${STAGEDIR}${EXAMPLESDIR} .endfor -regression-test: build - @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check) - .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606291935.u5TJZmXY060918>