summaryrefslogtreecommitdiffstats
path: root/graphics/p5-SVG-Metadata
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-03-14 04:45:56 +0000
committerahze <ahze@FreeBSD.org>2005-03-14 04:45:56 +0000
commitbf0a9dc8e6bd9af6dc4915b12116a8726614ef7b (patch)
tree3b82a6cd289d10ff71b70003fc63ec9930d62d7c /graphics/p5-SVG-Metadata
parent2245e3949079f010fea303fc63244cb883bdfb89 (diff)
downloadFreeBSD-ports-bf0a9dc8e6bd9af6dc4915b12116a8726614ef7b.zip
FreeBSD-ports-bf0a9dc8e6bd9af6dc4915b12116a8726614ef7b.tar.gz
Add p5-SVG-Metadata
Perl module to capture metadata info about an SVG file
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 0000000..c7688de
--- /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 0000000..7754bdd
--- /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 0000000..7076e91
--- /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 0000000..c76e7a1
--- /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
OpenPOWER on IntegriCloud