summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-24 19:48:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-24 19:48:48 +0000
commit15a6efbb01ea2bffff07aded19eabc20e07762e1 (patch)
tree148e149e474009e9b6b5b5c55e54d46877e64ee7 /textproc
parent- Update to pwcbsd-1.3.1 (diff)
Parse FOAF (Friend of a Friend) data
Author: Benjamin Trott <ben+cpan@stupidfool.org> WWW: http://search.cpan.org/~btrott/XML-FOAF-0.03/ PR: ports/103579 Submitted by: markun@onohara.to
Notes
Notes: svn path=/head/; revision=173735
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-FOAF/Makefile35
-rw-r--r--textproc/p5-XML-FOAF/distinfo3
-rw-r--r--textproc/p5-XML-FOAF/pkg-descr4
-rw-r--r--textproc/p5-XML-FOAF/pkg-plist9
5 files changed, 52 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 415cfc420b72..cfb7de117137 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -577,6 +577,7 @@
SUBDIR += p5-XML-Dumper
SUBDIR += p5-XML-Elemental
SUBDIR += p5-XML-Encoding
+ SUBDIR += p5-XML-FOAF
SUBDIR += p5-XML-Feed
SUBDIR += p5-XML-Filter-BufferText
SUBDIR += p5-XML-Filter-DOMFilter-LibXML
diff --git a/textproc/p5-XML-FOAF/Makefile b/textproc/p5-XML-FOAF/Makefile
new file mode 100644
index 000000000000..c3f35659b562
--- /dev/null
+++ b/textproc/p5-XML-FOAF/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: textproc/p5-XML-FOAF
+# Date created: 2006-09-25
+# Whom: Masahiro Teramoto <markun@onohara.to>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-FOAF
+PORTVERSION= 0.03
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/B/BT/BTROTT
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= markun@onohara.to
+COMMENT= Parse FOAF (Friend of a Friend) data
+
+BUILD_DEPENDS= ${SITE_PERL}/RDF/Core.pm:${PORTSDIR}/textproc/p5-RDF-Core
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::FOAF.3 \
+ XML::FOAF::Person.3
+
+post-patch:
+ ${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.x or later. Install lang/perl5 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-XML-FOAF/distinfo b/textproc/p5-XML-FOAF/distinfo
new file mode 100644
index 000000000000..03902057e83f
--- /dev/null
+++ b/textproc/p5-XML-FOAF/distinfo
@@ -0,0 +1,3 @@
+MD5 (XML-FOAF-0.03.tar.gz) = 131574041080371a24f6b68ba0ef90f2
+SHA256 (XML-FOAF-0.03.tar.gz) = 1a9f8a101e48c56d0d091c60c1d8f25efc9aca9fc58ba7d0b745dfa9fe8c35da
+SIZE (XML-FOAF-0.03.tar.gz) = 18600
diff --git a/textproc/p5-XML-FOAF/pkg-descr b/textproc/p5-XML-FOAF/pkg-descr
new file mode 100644
index 000000000000..151d6382b3be
--- /dev/null
+++ b/textproc/p5-XML-FOAF/pkg-descr
@@ -0,0 +1,4 @@
+Parse FOAF (Friend of a Friend) data
+
+Author: Benjamin Trott <ben+cpan@stupidfool.org>
+WWW: http://search.cpan.org/~btrott/XML-FOAF-0.03/
diff --git a/textproc/p5-XML-FOAF/pkg-plist b/textproc/p5-XML-FOAF/pkg-plist
new file mode 100644
index 000000000000..c005723351ab
--- /dev/null
+++ b/textproc/p5-XML-FOAF/pkg-plist
@@ -0,0 +1,9 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/FOAF/.packlist
+%%SITE_PERL%%/XML/FOAF.pm
+%%SITE_PERL%%/XML/FOAF/ErrorHandler.pm
+%%SITE_PERL%%/XML/FOAF/Person.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/FOAF
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
+@dirrmtry %%SITE_PERL%%/XML/FOAF
+@dirrmtry %%SITE_PERL%%/XML