Date: Tue, 7 Mar 2017 09:01:51 +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: r435586 - head/math/pecl-big_int Message-ID: <201703070901.v2791pnB054554@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Mar 7 09:01:51 2017 New Revision: 435586 URL: https://svnweb.freebsd.org/changeset/ports/435586 Log: - Add LICENSE, don't install it with docs - Switch to options helpers Approved by: portmgr blanket Modified: head/math/pecl-big_int/Makefile head/math/pecl-big_int/pkg-plist Modified: head/math/pecl-big_int/Makefile ============================================================================== --- head/math/pecl-big_int/Makefile Tue Mar 7 09:00:09 2017 (r435585) +++ head/math/pecl-big_int/Makefile Tue Mar 7 09:01:51 2017 (r435586) @@ -12,25 +12,28 @@ DIST_SUBDIR= PECL MAINTAINER= joneum@bsdproject.de COMMENT= Functions for calculations with arbitrary length integers and bitsets +LICENSE= BIG_INT +LICENSE_NAME= BIG_INT license +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + USES= php:ext tar:tgz IGNORE_WITH_PHP= 70 71 -DOCS= CREDITS INSTALL LICENSE README docs/index.html libbig_int/CREDITS \ - libbig_int/LICENSE -EXAMPLES= bitset.php example.php rand.php RSA.php std_header.php - CONFIGURE_ARGS= --enable-big-int=shared OPTIONS_DEFINE= DOCS EXAMPLES -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} -. for doc in ${DOCS} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for doc in CREDITS README docs/index.html libbig_int/CREDITS ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} -. endfor -. for test in ${STAGEDIR}${EXAMPLES} +.endfor + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} +.for test in bitset.php example.php rand.php RSA.php std_header.php ${INSTALL_DATA} ${WRKSRC}/tests/${test} ${STAGEDIR}${EXAMPLESDIR} -. endfor +.endfor .include <bsd.port.mk> Modified: head/math/pecl-big_int/pkg-plist ============================================================================== --- head/math/pecl-big_int/pkg-plist Tue Mar 7 09:00:09 2017 (r435585) +++ head/math/pecl-big_int/pkg-plist Tue Mar 7 09:01:51 2017 (r435586) @@ -1,6 +1,4 @@ %%PORTDOCS%%%%DOCSDIR%%/CREDITS -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/index.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/RSA.php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703070901.v2791pnB054554>