aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-SVG-Metadata
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-03-14 04:45:56 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-03-14 04:45:56 +0000
commit4e4478adb9e439c23f4b90ead569d5bfe3310ceb (patch)
tree5a669eda92ffe58b362c452d534c4279e50337f2 /graphics/p5-SVG-Metadata
parent1b1bf89f0a0cd2e441c3da32de119dce16ba16a4 (diff)
downloadports-4e4478adb9e439c23f4b90ead569d5bfe3310ceb.tar.gz
ports-4e4478adb9e439c23f4b90ead569d5bfe3310ceb.zip
Add p5-SVG-Metadata
Perl module to capture metadata info about an SVG file
Notes
Notes: svn path=/head/; revision=131156
Diffstat (limited to 'graphics/p5-SVG-Metadata')
-rw-r--r--graphics/p5-SVG-Metadata/Makefile35
-rw-r--r--graphics/p5-SVG-Metadata/distinfo2
-rw-r--r--graphics/p5-SVG-Metadata/pkg-descr3
-rw-r--r--graphics/p5-SVG-Metadata/pkg-plist7
4 files changed, 47 insertions, 0 deletions
diff --git a/graphics/p5-SVG-Metadata/Makefile b/graphics/p5-SVG-Metadata/Makefile
new file mode 100644
index 000000000000..c7688de2fd33
--- /dev/null
+++ b/graphics/p5-SVG-Metadata/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: p5-SVG-Metadata
+# Date created: 2005-03-13
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= SVG-Metadata
+PORTVERSION= 0.21
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= SVG
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Perl module to capture metadata info about an SVG file
+
+BUILD_DEPENDS= xml_grep:${PORTSDIR}/textproc/p5-XML-Twig
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN1= svg_validate.1 svg_annotate.1
+MAN3= SVG::Metadata.3
+
+post-patch:
+ ${RM} -f ${WRKSRC}/lib/SVG/Metadata.pm.orig
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= This port requires perl 5.6.0 or later, Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/p5-SVG-Metadata/distinfo b/graphics/p5-SVG-Metadata/distinfo
new file mode 100644
index 000000000000..7754bddad036
--- /dev/null
+++ b/graphics/p5-SVG-Metadata/distinfo
@@ -0,0 +1,2 @@
+MD5 (SVG-Metadata-0.21.tar.gz) = 0985438b3260b1e0514ffd7929ee9d3c
+SIZE (SVG-Metadata-0.21.tar.gz) = 23143
diff --git a/graphics/p5-SVG-Metadata/pkg-descr b/graphics/p5-SVG-Metadata/pkg-descr
new file mode 100644
index 000000000000..7076e912a61e
--- /dev/null
+++ b/graphics/p5-SVG-Metadata/pkg-descr
@@ -0,0 +1,3 @@
+Perl module to capture metadata info about an SVG file
+
+WWW: http://search.cpan.org/~bryce/SVG-Metadata/
diff --git a/graphics/p5-SVG-Metadata/pkg-plist b/graphics/p5-SVG-Metadata/pkg-plist
new file mode 100644
index 000000000000..c76e7a182ed6
--- /dev/null
+++ b/graphics/p5-SVG-Metadata/pkg-plist
@@ -0,0 +1,7 @@
+bin/svg_annotate
+bin/svg_validate
+%%SITE_PERL%%/SVG/Metadata.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVG/Metadata/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVG/Metadata 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVG 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/SVG 2>/dev/null || true