aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-11-22 23:36:22 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-11-22 23:36:22 +0000
commita7bc9872058dd6bd81fe68674b523c389a65fdd8 (patch)
tree2df9bd473f72b7daf46ce94982a99ac21294257e /textproc
parent40a0e44ddff0389749551d686931a88ddcecac66 (diff)
downloadports-a7bc9872058dd6bd81fe68674b523c389a65fdd8.tar.gz
ports-a7bc9872058dd6bd81fe68674b523c389a65fdd8.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-RDF-Notation3/Makefile33
-rw-r--r--textproc/p5-RDF-Notation3/distinfo1
-rw-r--r--textproc/p5-RDF-Notation3/pkg-comment1
-rw-r--r--textproc/p5-RDF-Notation3/pkg-descr8
-rw-r--r--textproc/p5-RDF-Notation3/pkg-plist14
6 files changed, 58 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 2b0cfe89d1ff..f5dc41e46f6a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -110,6 +110,7 @@
SUBDIR += p5-Number-Format
SUBDIR += p5-PDF-Create
SUBDIR += p5-Parse-Syslog
+ SUBDIR += p5-RDF-Notation3
SUBDIR += p5-Sort-ArbBiLex
SUBDIR += p5-Sort-Fields
SUBDIR += p5-Sort-PolySort
diff --git a/textproc/p5-RDF-Notation3/Makefile b/textproc/p5-RDF-Notation3/Makefile
new file mode 100644
index 000000000000..5ec849967a6e
--- /dev/null
+++ b/textproc/p5-RDF-Notation3/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: RDF::Notation3
+# Date created: 21 Nov 2001
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= RDF-Notation3
+PORTVERSION= 0.40
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= RDF
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@protey.ru
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= RDF::Notation3.3 RDF::Notation3::PrefTriples.3 \
+ RDF::Notation3::ReaderFile.3 RDF::Notation3::ReaderString.3 \
+ RDF::Notation3::Template::TReader.3 \
+ RDF::Notation3::Template::TTriples.3 RDF::Notation3::Triples.3
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+pre-patch:
+ @find ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \
+ '$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$)(VERSION)\s+=!$$1$${package}::$$2=!;'
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-RDF-Notation3/distinfo b/textproc/p5-RDF-Notation3/distinfo
new file mode 100644
index 000000000000..ac9b5d07716c
--- /dev/null
+++ b/textproc/p5-RDF-Notation3/distinfo
@@ -0,0 +1 @@
+MD5 (RDF-Notation3-0.40.tar.gz) = 144818b57889094abf02c635288543e1
diff --git a/textproc/p5-RDF-Notation3/pkg-comment b/textproc/p5-RDF-Notation3/pkg-comment
new file mode 100644
index 000000000000..58baeb3e3981
--- /dev/null
+++ b/textproc/p5-RDF-Notation3/pkg-comment
@@ -0,0 +1 @@
+RDF Notation3 parser
diff --git a/textproc/p5-RDF-Notation3/pkg-descr b/textproc/p5-RDF-Notation3/pkg-descr
new file mode 100644
index 000000000000..ffaaaf4c312b
--- /dev/null
+++ b/textproc/p5-RDF-Notation3/pkg-descr
@@ -0,0 +1,8 @@
+This module is an RDF/N3 parser; it can parse N3 files or strings and provide
+results in whatever format (as far as there are subclasses supporting your
+desired format available).
+
+WWW: http://search.cpan.org/search?dist=RDF-Notation3
+
+-- Sergey Skvortsov
+skv@protey.ru
diff --git a/textproc/p5-RDF-Notation3/pkg-plist b/textproc/p5-RDF-Notation3/pkg-plist
new file mode 100644
index 000000000000..9691bcc3ebc4
--- /dev/null
+++ b/textproc/p5-RDF-Notation3/pkg-plist
@@ -0,0 +1,14 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RDF/Notation3/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3.pm
+lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3.pod
+lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3/PrefTriples.pm
+lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3/ReaderFile.pm
+lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3/ReaderString.pm
+lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3/Template/TReader.pm
+lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3/Template/TTriples.pm
+lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3/Triples.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3/Template
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/RDF/Notation3
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/RDF 2>/dev/null || true
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RDF/Notation3
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RDF 2>/dev/null || true