aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-12-23 05:28:51 +0800
committermiwi <miwi@FreeBSD.org>2008-12-23 05:28:51 +0800
commit97b27801ae7183bed7c94be43f82e579b5149b7d (patch)
tree1e9b944366cbf39efe7422bb6cb8733434c35868
parent6f02b5c0e52b2d0ec8089e8e466729727ddc9085 (diff)
downloadfreebsd-ports-gnome-97b27801ae7183bed7c94be43f82e579b5149b7d.tar.gz
freebsd-ports-gnome-97b27801ae7183bed7c94be43f82e579b5149b7d.tar.zst
freebsd-ports-gnome-97b27801ae7183bed7c94be43f82e579b5149b7d.zip
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
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-relative/Makefile27
-rw-r--r--devel/p5-relative/distinfo3
-rw-r--r--devel/p5-relative/pkg-descr8
-rw-r--r--devel/p5-relative/pkg-plist3
5 files changed, 42 insertions, 0 deletions
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 <bsd.port.mk>
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