Index: head/math/pecl-big_int/Makefile =================================================================== --- head/math/pecl-big_int/Makefile (revision 435585) +++ head/math/pecl-big_int/Makefile (revision 435586) @@ -1,36 +1,39 @@ # Created by: Antonio Carlos Venancio Junior () # $FreeBSD$ PORTNAME= big_int PORTVERSION= 1.0.7 PORTREVISION= 1 CATEGORIES= math devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- 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 Index: head/math/pecl-big_int/pkg-plist =================================================================== --- head/math/pecl-big_int/pkg-plist (revision 435585) +++ head/math/pecl-big_int/pkg-plist (revision 435586) @@ -1,10 +1,8 @@ %%PORTDOCS%%%%DOCSDIR%%/CREDITS -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/index.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/RSA.php %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bitset.php %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.php %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rand.php %%PORTEXAMPLES%%%%EXAMPLESDIR%%/std_header.php