mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
37 lines
927 B
Makefile
37 lines
927 B
Makefile
# Created by: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= big_int
|
|
PORTVERSION= 1.0.7
|
|
CATEGORIES= math devel pear
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= PECL
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= Functions for calculations with arbitrary length integers and bitsets
|
|
|
|
USE_PHP= yes
|
|
USE_PHPEXT= yes
|
|
|
|
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}
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
|
. endfor
|
|
. for test in ${STAGEDIR}${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/tests/${test} ${STAGEDIR}${EXAMPLESDIR}
|
|
. endfor
|
|
|
|
.include <bsd.port.mk>
|