aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Int128/Makefile
blob: a144f4d0ccbbaea4998dfa50b17f9ed4ff118659 (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
# Created by: Kurt Jaeger <fbsd-ports@opsec.eu>
# $FreeBSD$

PORTNAME=   Math-Int128
PORTVERSION=    0.20
CATEGORIES= math perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= pi@FreeBSD.org
COMMENT=    Manipulate 128 bits integers in Perl

LICENSE=    ART10

BUILD_DEPENDS=  p5-Math-Int64>=0.34:${PORTSDIR}/math/p5-Math-Int64
RUN_DEPENDS=    p5-Math-Int64>=0.34:${PORTSDIR}/math/p5-Math-Int64

USES=       perl5
USE_PERL5=  configure

NOT_FOR_ARCHS=  i386 armv6

.include <bsd.port.pre.mk>

# need clang 3.2+ or GCC 4.4+
.if exists(/usr/bin/clang) && ${OSVERSION} > 901505
CC= /usr/bin/clang
.else
USE_GCC=    yes
.endif

post-stage:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/Int128/Int128.so

.include <bsd.port.post.mk>