summaryrefslogtreecommitdiffstats
path: root/math/pecl-big_int/Makefile
blob: 64ef8989c5a437f9a3d93c9375eb0beffe5e3817 (plain)
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
# 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-
DIST_SUBDIR=	PECL

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

USES=		php:ext tar:tgz
IGNORE_WITH_PHP=	70

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>
OpenPOWER on IntegriCloud