Adding port net/p5-URI-OpenURL which implements (at least in part) the OpenURL encoding standard.

Committed by:	aaron
Approved by:	tobez (implicit)
This commit is contained in:
Aaron Dalton 2006-02-18 10:01:38 +00:00
parent c7855a37dd
commit eb58cbcef8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156279
5 changed files with 62 additions and 0 deletions

View file

@ -461,6 +461,7 @@
SUBDIR += p5-Socks
SUBDIR += p5-Spread-Session
SUBDIR += p5-URI
SUBDIR += p5-URI-OpenURL
SUBDIR += p5-Validate-Net
SUBDIR += p5-X500-DN
SUBDIR += p5-XPC

View file

@ -0,0 +1,31 @@
# New ports collection makefile for: URI-OpenURL
# Date created: 18 Feb 2006
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= URI-OpenURL
PORTVERSION= 0.4.6
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= URI
PKGNAMEPREFIX= p5-
MAINTAINER= aaron@FreeBSD.org
COMMENT= Parse and construct OpenURL's (NISO Z39.88-2004)
BUILD_DEPENDS= ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS+= ${BUILD_DEPENDS}
MAN3= URI::OpenURL.3
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= uses the utf8 pragma and therefore requires at least Perl5.8
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (URI-OpenURL-0.4.6.tar.gz) = b64093ce6aa75b092cc907d3852d007f
SHA256 (URI-OpenURL-0.4.6.tar.gz) = 35b4ef83a81fa5cceba47de6a7f9620bd4bde7a1b77b5385e0d19c2449b3ad12
SIZE (URI-OpenURL-0.4.6.tar.gz) = 8315

View file

@ -0,0 +1,22 @@
This module provides an implementation of OpenURLs encoded as URIs
(Key/Encoded-Value (KEV) Format), this forms only a part of the OpenURL
spec. It does not check that OpenURLs constructed are sane according to
the OpenURL specification (to a large extent sanity will depend on the
community of use).
From the implementation guidelines:
The description of a referenced resource, and the descriptions of the
associated resources that comprise the context of the reference, bundled
together are called a ContextObject. It is a ContextObject that is
transported when a user makes a request by clicking a link. A KEV OpenURL
may contain only one ContextObject.
The ContextObject may contain up to six Entities. One of these, the
Referent, conveys information about the referenced item. It must always be
included in a ContextObject. The other five entities - ReferringEntity,
Requester, Resolver, ServiceType and Referrer - hold information about the
context of the reference and are optional.
WWW: http://search.cpan.org/dist/URI-OpenURL
Author: Tim Brody <tdb01r@ecs.soton.ac.uk>

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/URI/OpenURL.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/URI/OpenURL/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/URI/OpenURL
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/URI
@dirrmtry %%SITE_PERL%%/URI