aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-SVG
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-08-19 02:15:19 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-08-19 02:15:19 +0800
commitbaf599b233d689d0026f8bc2be6f2a1743054d3e (patch)
tree869fbd0057fd8548cb2617ac6390339dd6cb82bf /textproc/p5-SVG
parent01f29fe53327fb22736146bb518a21e61eb8af7e (diff)
downloadfreebsd-ports-gnome-baf599b233d689d0026f8bc2be6f2a1743054d3e.tar.gz
freebsd-ports-gnome-baf599b233d689d0026f8bc2be6f2a1743054d3e.tar.zst
freebsd-ports-gnome-baf599b233d689d0026f8bc2be6f2a1743054d3e.zip
- Update to 2.53
- Convert to new options framework - Respect EXAMPLES Changes: http://search.cpan.org/dist/SVG/Changes
Diffstat (limited to 'textproc/p5-SVG')
-rw-r--r--textproc/p5-SVG/Makefile8
-rw-r--r--textproc/p5-SVG/distinfo4
2 files changed, 8 insertions, 4 deletions
diff --git a/textproc/p5-SVG/Makefile b/textproc/p5-SVG/Makefile
index 272d8e8de372..694e42f4a370 100644
--- a/textproc/p5-SVG/Makefile
+++ b/textproc/p5-SVG/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= SVG
-PORTVERSION= 2.52
+PORTVERSION= 2.53
CATEGORIES= textproc graphics perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -17,14 +17,18 @@ COMMENT= Perl extension for generating Scalable Vector Graphics (SVG) documents
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
+OPTIONS_DEFINE= EXAMPLES
+
PERL_CONFIGURE= yes
USE_DOS2UNIX= yes
MAN3= SVG.3 SVG::DOM.3 SVG::Element.3 SVG::Extension.3 \
SVG::Manual.3 SVG::XML.3
+.include <bsd.port.options.mk>
+
post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
diff --git a/textproc/p5-SVG/distinfo b/textproc/p5-SVG/distinfo
index 578b2f4075d1..3ab7803b6973 100644
--- a/textproc/p5-SVG/distinfo
+++ b/textproc/p5-SVG/distinfo
@@ -1,2 +1,2 @@
-SHA256 (SVG-2.52.tar.gz) = 99c4086ea050cbca286f25be9f8f08353b9558d9620c584afdd3ff6843530aac
-SIZE (SVG-2.52.tar.gz) = 53809
+SHA256 (SVG-2.53.tar.gz) = 1beca8aadebc249c219b2d2c7dda0a1ed4b8d76059d312b6c834e14f71f12228
+SIZE (SVG-2.53.tar.gz) = 53857