aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-CAM-PDF/Makefile
blob: 82b09bd4ff6be4c62176bbb184d67e4f68a44b68 (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   CAM-PDF
PORTVERSION=    1.60
PORTREVISION=   1
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    PDF manipulation library

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Crypt-RC4>=2.02:${PORTSDIR}/security/p5-Crypt-RC4 \
        p5-Text-PDF>=0.29:${PORTSDIR}/print/p5-Text-PDF
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-Memory-Cycle>=1.02:${PORTSDIR}/devel/p5-Test-Memory-Cycle \
        p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \
        p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage

USES=       perl5
USE_PERL5=  configure

OPTIONS_DEFINE= DOCS

PORTDOCS=   CHANGES README

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."

.include <bsd.port.mk>