Import textproc/p5-SVG version 2.53
[dports.git] / textproc / p5-SVG / Makefile
1 # New ports collection makefile for:    SVG
2 # Date created:         21 Nov 2001
3 # Whom:                 Sergey Skvortsov <skv@protey.ru>
4 #
5 # $FreeBSD: ports/textproc/p5-SVG/Makefile,v 1.17 2012/11/17 06:02:08 svnexp Exp $
6 #
7
8 PORTNAME=       SVG
9 PORTVERSION=    2.53
10 CATEGORIES=     textproc graphics perl5
11 MASTER_SITES=   CPAN
12 PKGNAMEPREFIX=  p5-
13
14 MAINTAINER=     perl@FreeBSD.org
15 COMMENT=        Perl extension for generating Scalable Vector Graphics (SVG) documents
16
17 LICENSE=        ART10 GPLv1
18 LICENSE_COMB=   dual
19
20 OPTIONS_DEFINE= EXAMPLES
21
22 PERL_CONFIGURE= yes
23 USE_DOS2UNIX=   yes
24
25 MAN3=           SVG.3 SVG::DOM.3 SVG::Element.3 SVG::Extension.3 \
26                 SVG::Manual.3 SVG::XML.3
27
28 .include <bsd.port.options.mk>
29
30 post-install:
31 .if ${PORT_OPTIONS:MEXAMPLES}
32         @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
33         ${MKDIR} ${EXAMPLESDIR}/
34         ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
35 .endif
36
37 .include <bsd.port.pre.mk>
38
39 .if ${PERL_LEVEL} < 501001
40 BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
41 RUN_DEPENDS+=   p5-parent>=0:${PORTSDIR}/devel/p5-parent
42 .endif
43
44 .include <bsd.port.post.mk>