aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-SVG/Makefile
blob: 89216e2cedbe0d3780d8b6482b43c1e6f9318f33 (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
# New ports collection makefile for:    SVG
# Date created:     21 Nov 2001
# Whom:         Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   SVG
PORTVERSION=    2.27
CATEGORIES= textproc graphics perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= SVG
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Perl extension for generating Scalable Vector Graphics (SVG) documents

PERL_CONFIGURE= yes

MAN3=       SVG.3 SVG::DOM.3 SVG::Element.3 SVG::Manual.3 SVG::XML.3

post-patch:
    @${FIND} ${WRKSRC} \( -name "*.p[lm]" -or -name "*.cgi" \
        -or -name "*.pod" \)|xargs ${PERL} -pi -e 's/\x0d//g;'

post-install:
.ifndef(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>