From 0f851b037bad253b97bc590c7712ee20c39e30c4 Mon Sep 17 00:00:00 2001 From: skv Date: Sun, 2 Jun 2002 13:41:26 +0000 Subject: Updated to 2.1, examples added --- textproc/p5-SVG/Makefile | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'textproc/p5-SVG/Makefile') diff --git a/textproc/p5-SVG/Makefile b/textproc/p5-SVG/Makefile index dbd4214bd404..b7eb75cad98e 100644 --- a/textproc/p5-SVG/Makefile +++ b/textproc/p5-SVG/Makefile @@ -6,17 +6,29 @@ # PORTNAME= SVG -PORTVERSION= 1.13 +PORTVERSION= 2.1 CATEGORIES= textproc graphics perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= SVG PKGNAMEPREFIX= p5- -MAINTAINER= skv@protey.ru +MAINTAINER= skv@FreeBSD.org PERL_CONFIGURE= yes +PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}" -MAN3= SVG.3 -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= SVG.3 SVG::DOM.3 SVG::Element.3 SVG::Manual.3 SVG::XML.3 +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +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 -- cgit