aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-MaxMind-DB-Writer/Makefile
blob: 7865cc12d60bb3ed40448fc468ca9ecf5f7cf379 (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
40
41
42
43
44
45
46
47
48
49
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   MaxMind-DB-Writer
PORTVERSION=    0.201004
CATEGORIES= net perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:MAXMIND
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Create MaxMind DB database files

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  p5-Data-Dumper-Concise>=0:devel/p5-Data-Dumper-Concise \
        p5-Data-IEEE754>=0:devel/p5-Data-IEEE754 \
        p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \
        p5-Math-Int128>=0.21:math/p5-Math-Int128 \
        p5-Math-Int64>=0.51:math/p5-Math-Int64 \
        p5-MaxMind-DB-Common>=0:net/p5-MaxMind-DB-Common \
        p5-MaxMind-DB-Reader>=0:net/p5-MaxMind-DB-Reader \
        p5-Moose>=0:devel/p5-Moose \
        p5-MooseX-Params-Validate>=0:devel/p5-MooseX-Params-Validate \
        p5-MooseX-StrictConstructor>=0:devel/p5-MooseX-StrictConstructor \
        p5-Net-Works>=0:net/p5-Net-Works \
        p5-Sereal-Decoder>=0:converters/p5-Sereal-Decoder \
        p5-Sereal-Encoder>=3.002:converters/p5-Sereal-Encoder \
        p5-Test-Deep>=0:devel/p5-Test-Deep \
        p5-namespace-autoclean>=0:devel/p5-namespace-autoclean
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Data-Printer>=0:devel/p5-Data-Printer \
        p5-Devel-Refcount>=0:devel/p5-Devel-Refcount \
        p5-List-AllUtils>=0:devel/p5-List-AllUtils \
        p5-Test-Bits>=0:devel/p5-Test-Bits \
        p5-Test-Fatal>=0:devel/p5-Test-Fatal \
        p5-Test-HexDifferences>=0:devel/p5-Test-HexDifferences \
        p5-Test-Requires>=0:devel/p5-Test-Requires \
        p5-Test-Warnings>=0:devel/p5-Test-Warnings

USE_PERL5=  modbuild
USES=       perl5

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/MaxMind/DB/Writer/Tree/Tree.so

.include <bsd.port.mk>