Add p5-RDF-Core 0.16,

an object oriented Perl modules for handling
tasks related to RDF.
This commit is contained in:
Sergey Skvortsov 2002-05-30 15:47:38 +00:00
parent 9de1b15968
commit 2ffdc63412
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60291
6 changed files with 142 additions and 0 deletions

View file

@ -144,6 +144,7 @@
SUBDIR += p5-Pod-POM
SUBDIR += p5-PodParser
SUBDIR += p5-RADIUS-UserFile
SUBDIR += p5-RDF-Core
SUBDIR += p5-RDF-Notation3
SUBDIR += p5-Regexp-Common
SUBDIR += p5-SVG

View file

@ -0,0 +1,54 @@
# New ports collection makefile for: RDF-Core
# Date created: 30 May 2002
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= RDF-Core
PORTVERSION= 0.16
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= RDF
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
PLIST_SUB+= DOCSDIR="share/doc/${PORTNAME}"
MAN3= RDF::Core.3 RDF::Core::Constants.3 RDF::Core::Enumerator.3 \
RDF::Core::Enumerator::DB_File.3 \
RDF::Core::Enumerator::Memory.3 \
RDF::Core::Enumerator::Postgres.3 RDF::Core::Evaluator.3 \
RDF::Core::Function.3 RDF::Core::Literal.3 RDF::Core::Model.3 \
RDF::Core::Model::Parser.3 RDF::Core::Model::Serializer.3 \
RDF::Core::ModelSet.3 RDF::Core::Node.3 \
RDF::Core::NodeFactory.3 RDF::Core::Parser.3 RDF::Core::Query.3 \
RDF::Core::Resource.3 RDF::Core::Schema.3 \
RDF::Core::Serializer.3 RDF::Core::Statement.3 \
RDF::Core::Storage.3 RDF::Core::Storage::DB_File.3 \
RDF::Core::Storage::Memory.3 RDF::Core::Storage::Postgres.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
DOCSUBDIR= / RDF RDF/Core RDF/Core/Enumerator RDF/Core/Model \
RDF/Core/Storage
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=!;'
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
.for DOCDIR in ${DOCSUBDIR}
@${MKDIR} ${DOCSDIR}/${DOCDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/${DOCDIR}/*.html ${DOCSDIR}/${DOCDIR}
.endfor
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (RDF-Core-0.16.tar.gz) = f9715f966548234aceaa4f0acd638d67

View file

@ -0,0 +1 @@
An object oriented Perl modules for handling tasks related to RDF

View file

@ -0,0 +1,20 @@
RDF::Core is a pure perl implementation of RDF storage, parser,
serializer and query.
The storage functionality is basic - store, delete, query statements,
where query means ask about existence or count or retrieve statements
conforming given mask of (subject, predicate, object). Three storages
are available - in memory, file (DB_File) and DBMS (PostgreSQL).
The parser supports full RDF/XML syntax including aboutEach attribute
(though it became obsolete).
The serializer attempts to preserve anonymous nodes and to compact xml a
bit grouping statements with common subject.
The query language is rather focused on resources than on statements.
WWW: http://search.cpan.org/search?dist=RDF-Core
-- Sergey Skvortsov
skv@FreeBSD.org

View file

@ -0,0 +1,65 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RDF/Core/.packlist
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Constants.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Enumerator.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Enumerator/DB_File.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Enumerator/Memory.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Enumerator/Postgres.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Evaluator.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Function.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Literal.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Model.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Model/Parser.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Model/Serializer.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/ModelSet.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Node.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/NodeFactory.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Parser.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Query.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Resource.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Schema.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Serializer.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Statement.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Storage.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Storage/DB_File.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Storage/Memory.pm
lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Storage/Postgres.pm
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Enumerator/DB_File.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Enumerator/Memory.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Enumerator/Postgres.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Model/Parser.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Model/Serializer.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Storage/DB_File.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Storage/Memory.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Storage/Postgres.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Constants.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Enumerator.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Evaluator.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Function.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Literal.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Model.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/ModelSet.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Node.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/NodeFactory.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Parser.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Query.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Resource.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Schema.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Serializer.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Statement.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core/Storage.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF/Core.pm.html
%%PORTDOCS%%%%DOCSDIR%%/RDF-Core.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/RDF/Core/Enumerator
%%PORTDOCS%%@dirrm %%DOCSDIR%%/RDF/Core/Model
%%PORTDOCS%%@dirrm %%DOCSDIR%%/RDF/Core/Storage
%%PORTDOCS%%@dirrm %%DOCSDIR%%/RDF/Core
%%PORTDOCS%%@dirrm %%DOCSDIR%%/RDF
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Enumerator
@dirrm lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Model
@dirrm lib/perl5/site_perl/%%PERL_VER%%/RDF/Core/Storage
@dirrm lib/perl5/site_perl/%%PERL_VER%%/RDF/Core
@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/Core
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/RDF 2>/dev/null || true