Tweak math/pecl-big_int version 1.0.7_1
[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 PORTREVISION=   1
7 CATEGORIES=     math devel pear
8
9 MAINTAINER=     joneum@bsdproject.de
10 COMMENT=        Functions for calculations with arbitrary length integers and bitsets
11
12 LICENSE=        BIG_INT
13 LICENSE_NAME=   BIG_INT license
14 LICENSE_FILE=   ${WRKSRC}/LICENSE
15 LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
16
17 USES=           php:pecl
18 IGNORE_WITH_PHP=        70 71
19
20 CONFIGURE_ARGS= --enable-big-int=shared
21
22 OPTIONS_DEFINE= DOCS EXAMPLES
23
24 post-install-DOCS-on:
25         @${MKDIR} ${STAGEDIR}${DOCSDIR}
26 .for doc in CREDITS README docs/index.html libbig_int/CREDITS
27         ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
28 .endfor
29
30 post-install-EXAMPLES-on:
31         @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
32 .for test in bitset.php example.php rand.php RSA.php std_header.php
33         ${INSTALL_DATA} ${WRKSRC}/tests/${test} ${STAGEDIR}${EXAMPLESDIR}
34 .endfor
35
36 .include <bsd.port.mk>