aboutsummaryrefslogtreecommitdiff
path: root/math/pecl-big_int/Makefile
blob: 1d251d653b8ef9375b74a4b53d87a760acfac7be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
# $FreeBSD$

PORTNAME=	big_int
PORTVERSION=	1.0.7
PORTREVISION=	1
CATEGORIES=	math devel pear

MAINTAINER=	joneum@FreeBSD.org
COMMENT=	Functions for calculations with arbitrary length integers and bitsets

DEPRECATED=	Works only with EOL php 5.6
EXPIRATION_DATE=	2018-12-30

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:pecl
IGNORE_WITH_PHP=	70 71 72 73

CONFIGURE_ARGS=	--enable-big-int=shared

OPTIONS_DEFINE=	DOCS EXAMPLES

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

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

.include <bsd.port.mk>