Tweak math/pecl-big_int version 1.0.7
[dports.git] / math / pecl-big_int / Makefile
1 # Created by: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
2 # $FreeBSD$
3
4 PORTNAME=       big_int
5 PORTVERSION=    1.0.7
6 CATEGORIES=     math devel pear
7 MASTER_SITES=   http://pecl.php.net/get/
8 PKGNAMEPREFIX=  pecl-
9 EXTRACT_SUFX=   .tgz
10 DIST_SUBDIR=    PECL
11
12 MAINTAINER=     ports@FreeBSD.org
13 COMMENT=        Functions for calculations with arbitrary length integers and bitsets
14
15 USE_PHP=        yes
16 USE_PHPEXT=     yes
17
18 DOCS=           CREDITS INSTALL LICENSE README docs/index.html libbig_int/CREDITS \
19                 libbig_int/LICENSE
20 EXAMPLES=       bitset.php example.php rand.php RSA.php std_header.php
21
22 CONFIGURE_ARGS= --enable-big-int=shared
23
24 OPTIONS_DEFINE= DOCS EXAMPLES
25
26 post-install:
27         ${MKDIR} ${STAGEDIR}${DOCSDIR}
28         ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
29 .  for doc in ${DOCS}
30         ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
31 .  endfor
32 .  for test in ${STAGEDIR}${EXAMPLES}
33         ${INSTALL_DATA} ${WRKSRC}/tests/${test} ${STAGEDIR}${EXAMPLESDIR}
34 .  endfor
35
36 .include <bsd.port.mk>