aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Prime-XS/Makefile
blob: 2856ef0d2e3597b91b88e1691214ee121bb0ac8e (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
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Math-Prime-XS
PORTVERSION=    0.27
CATEGORIES= math perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Detect and calculate prime numbers with deterministic tests

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Params-Validate>=0:devel/p5-Params-Validate \
        p5-boolean>=0:devel/p5-boolean
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Pod>=1.14:devel/p5-Test-Pod \
        p5-Test-Pod-Coverage>=1.04:devel/p5-Test-Pod-Coverage

USE_PERL5=  configure
USES=       perl5

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Prime/XS/XS.so

.include <bsd.port.mk>