diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-06 16:20:19 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-06 16:20:19 +0000 |
commit | 819cc103d4bf63bc3c9358e9700845e3feeaa336 (patch) | |
tree | 64c017fa98aa209635465725679ae9663e0bf87b /textproc/p5-SVG | |
parent | dc6588024934caa186b09f1a3de61c003c26c77f (diff) | |
download | ports-819cc103d4bf63bc3c9358e9700845e3feeaa336.tar.gz ports-819cc103d4bf63bc3c9358e9700845e3feeaa336.zip |
Notes
Diffstat (limited to 'textproc/p5-SVG')
-rw-r--r-- | textproc/p5-SVG/Makefile | 20 | ||||
-rw-r--r-- | textproc/p5-SVG/distinfo | 4 | ||||
-rw-r--r-- | textproc/p5-SVG/pkg-plist | 3 |
3 files changed, 17 insertions, 10 deletions
diff --git a/textproc/p5-SVG/Makefile b/textproc/p5-SVG/Makefile index 77dbbeac2069..272d8e8de372 100644 --- a/textproc/p5-SVG/Makefile +++ b/textproc/p5-SVG/Makefile @@ -6,7 +6,7 @@ # PORTNAME= SVG -PORTVERSION= 2.51 +PORTVERSION= 2.52 CATEGORIES= textproc graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -18,19 +18,23 @@ LICENSE= ART10 GPLv1 LICENSE_COMB= dual PERL_CONFIGURE= yes +USE_DOS2UNIX= yes MAN3= SVG.3 SVG::DOM.3 SVG::Element.3 SVG::Extension.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} + ${MKDIR} ${EXAMPLESDIR}/ + ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/ +.endif + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/p5-SVG/distinfo b/textproc/p5-SVG/distinfo index 044044fc7d58..578b2f4075d1 100644 --- a/textproc/p5-SVG/distinfo +++ b/textproc/p5-SVG/distinfo @@ -1,2 +1,2 @@ -SHA256 (SVG-2.51.tar.gz) = 1b9d5e30de094954a6480c24eaad1c5bcf0583f1f1cca510dc3f9e4dbd65665d -SIZE (SVG-2.51.tar.gz) = 52590 +SHA256 (SVG-2.52.tar.gz) = 99c4086ea050cbca286f25be9f8f08353b9558d9620c584afdd3ff6843530aac +SIZE (SVG-2.52.tar.gz) = 53809 diff --git a/textproc/p5-SVG/pkg-plist b/textproc/p5-SVG/pkg-plist index 36750c7bdb47..fca4bcf75690 100644 --- a/textproc/p5-SVG/pkg-plist +++ b/textproc/p5-SVG/pkg-plist @@ -7,6 +7,9 @@ %%SITE_PERL%%/SVG/XML.pm @dirrmtry %%SITE_PERL%%/SVG @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVG +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/01_circle.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/02_circle_with_color.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/03_circle_and_square.pl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/SVG_02_sample.pl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/attributeManip.pl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/image_sample.pl |