aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-12-15 18:10:11 +0800
committertobez <tobez@FreeBSD.org>2004-12-15 18:10:11 +0800
commit9af9f402b69be4237f7ac5756f89bf685a2b62a9 (patch)
treef63f8f8bf51750624a8ca3cbf9fdea42db1fadc0 /devel
parent687c2045d250b280797696ea7a4cc02c29ef3c64 (diff)
downloadfreebsd-ports-gnome-9af9f402b69be4237f7ac5756f89bf685a2b62a9.tar.gz
freebsd-ports-gnome-9af9f402b69be4237f7ac5756f89bf685a2b62a9.tar.zst
freebsd-ports-gnome-9af9f402b69be4237f7ac5756f89bf685a2b62a9.zip
Add p5-Module-Load-Conditional, a Perl module for looking up other Perl
modules information/loading at runtime.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Module-Load-Conditional/Makefile35
-rw-r--r--devel/p5-Module-Load-Conditional/distinfo2
-rw-r--r--devel/p5-Module-Load-Conditional/pkg-descr5
-rw-r--r--devel/p5-Module-Load-Conditional/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a9179112a0c9..224de76b33d3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -905,6 +905,7 @@
SUBDIR += p5-Module-Info-File
SUBDIR += p5-Module-Install
SUBDIR += p5-Module-Load
+ SUBDIR += p5-Module-Load-Conditional
SUBDIR += p5-Module-Pluggable
SUBDIR += p5-Module-Pluggable-Ordered
SUBDIR += p5-Module-Reload
diff --git a/devel/p5-Module-Load-Conditional/Makefile b/devel/p5-Module-Load-Conditional/Makefile
new file mode 100644
index 000000000000..de5cdacfa0d9
--- /dev/null
+++ b/devel/p5-Module-Load-Conditional/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: devel/p5-Module-Load-Conditional
+# Date created: 15 December 2004
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Module-Load-Conditional
+PORTVERSION= 0.06
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Module
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Looking up Perl modules information/loading at runtime
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load \
+ ${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
+ ${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Module::Load::Conditional.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500600
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Module-Load-Conditional/distinfo b/devel/p5-Module-Load-Conditional/distinfo
new file mode 100644
index 000000000000..43e42980a010
--- /dev/null
+++ b/devel/p5-Module-Load-Conditional/distinfo
@@ -0,0 +1,2 @@
+MD5 (Module-Load-Conditional-0.06.tar.gz) = 042b12469a1166e0fbc7848c58b276a6
+SIZE (Module-Load-Conditional-0.06.tar.gz) = 6533
diff --git a/devel/p5-Module-Load-Conditional/pkg-descr b/devel/p5-Module-Load-Conditional/pkg-descr
new file mode 100644
index 000000000000..1da582f0b6cc
--- /dev/null
+++ b/devel/p5-Module-Load-Conditional/pkg-descr
@@ -0,0 +1,5 @@
+Module::Load::Conditional provides simple ways to query and possibly
+load any of the modules you have installed on your system during
+runtime.
+
+WWW: http://search.cpan.org/dist/Module-Load-Conditional
diff --git a/devel/p5-Module-Load-Conditional/pkg-plist b/devel/p5-Module-Load-Conditional/pkg-plist
new file mode 100644
index 000000000000..4d8b11c99e0d
--- /dev/null
+++ b/devel/p5-Module-Load-Conditional/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Module/Load/Conditional.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Load/Conditional/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Load/Conditional
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Load 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Module/Load 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Module 2>/dev/null || true