From 3020a19a0adc18cc72ca6f1a25684eeffbf86fa9 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 22 Dec 2008 21:28:51 +0000 Subject: [PATCH] relative - Load modules with relative names This module allows you to load modules using only parts of their name, relatively to the current module or to a given module. Module names are by default searched below the current module, but can be searched upper in the hierarchy using the ..:: syntax. WWW: http://search.cpan.org/dist/relative/ PR: ports/129659 Submitted by: skreuzer at exit2shell.com --- devel/Makefile | 1 + devel/p5-relative/Makefile | 27 +++++++++++++++++++++++++++ devel/p5-relative/distinfo | 3 +++ devel/p5-relative/pkg-descr | 8 ++++++++ devel/p5-relative/pkg-plist | 3 +++ 5 files changed, 42 insertions(+) create mode 100644 devel/p5-relative/Makefile create mode 100644 devel/p5-relative/distinfo create mode 100644 devel/p5-relative/pkg-descr create mode 100644 devel/p5-relative/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index fc9f8f700e91..e2aedf133d48 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1919,6 +1919,7 @@ SUBDIR += p5-parent SUBDIR += p5-prefork SUBDIR += p5-reaper + SUBDIR += p5-relative SUBDIR += p5-rpm-build-perl SUBDIR += p5-self SUBDIR += p5-subatom diff --git a/devel/p5-relative/Makefile b/devel/p5-relative/Makefile new file mode 100644 index 000000000000..3e344d25f2d7 --- /dev/null +++ b/devel/p5-relative/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: devel/p5-relative +# Date created: Tue Dec 9 11:32:16 EST 2008 +# Whom: skreuzer@exit2shell.com +# +# $FreeBSD$ +# + +PORTNAME= relative +PORTVERSION= 0.04 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= ../../authors/id/S/SA/SAPER +PKGNAMEPREFIX= p5- + +MAINTAINER= skreuzer@exit2shell.com +COMMENT= Load modules with relative names + +RUN_DEPENDS= p5-UNIVERSAL-require>=0.11:${PORTSDIR}/devel/p5-UNIVERSAL-require + +BUILD_DEPEND= ${RUN_DEPENDS} \ + p5-Test-Simple>=0.74:${PORTSDIR}/devel/p5-Test-Simple + +PERL_CONFIGURE= yes + +MAN3= relative.3 + +.include diff --git a/devel/p5-relative/distinfo b/devel/p5-relative/distinfo new file mode 100644 index 000000000000..b85a82e138cd --- /dev/null +++ b/devel/p5-relative/distinfo @@ -0,0 +1,3 @@ +MD5 (relative-0.04.tar.gz) = 923b48653599f2f7fcc7eba12db462ea +SHA256 (relative-0.04.tar.gz) = 78e0499d5392548ff7385cc1ebe697200e399498007f1148bf755d415d2d5780 +SIZE (relative-0.04.tar.gz) = 6408 diff --git a/devel/p5-relative/pkg-descr b/devel/p5-relative/pkg-descr new file mode 100644 index 000000000000..658fe815e47f --- /dev/null +++ b/devel/p5-relative/pkg-descr @@ -0,0 +1,8 @@ +relative - Load modules with relative names + +This module allows you to load modules using only parts of their name, +relatively to the current module or to a given module. Module names are by +default searched below the current module, but can be searched upper in the +hierarchy using the ..:: syntax. + +WWW: http://search.cpan.org/dist/relative/ diff --git a/devel/p5-relative/pkg-plist b/devel/p5-relative/pkg-plist new file mode 100644 index 000000000000..ceae57552434 --- /dev/null +++ b/devel/p5-relative/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_PERL%%/relative.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/relative/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/relative