aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Module-Load
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2004-12-15 07:51:45 +0000
committerAnton Berezin <tobez@FreeBSD.org>2004-12-15 07:51:45 +0000
commit3bb319368b3d85d1f4a330d64f01f4092e0295ca (patch)
tree3b150c99848e2791229b202778030bb6ca05cae3 /devel/p5-Module-Load
parent01e7818649a6168cefc9cba825bd92c68f162a39 (diff)
downloadports-3bb319368b3d85d1f4a330d64f01f4092e0295ca.tar.gz
ports-3bb319368b3d85d1f4a330d64f01f4092e0295ca.zip
Notes
Diffstat (limited to 'devel/p5-Module-Load')
-rw-r--r--devel/p5-Module-Load/Makefile25
-rw-r--r--devel/p5-Module-Load/distinfo2
-rw-r--r--devel/p5-Module-Load/pkg-descr4
-rw-r--r--devel/p5-Module-Load/pkg-plist5
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/p5-Module-Load/Makefile b/devel/p5-Module-Load/Makefile
new file mode 100644
index 000000000000..bedf5b7b50aa
--- /dev/null
+++ b/devel/p5-Module-Load/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: devel/p5-Module-Load
+# Date created: 15 December 2004
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Module-Load
+PORTVERSION= 0.10
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Module
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Module::Load - runtime require of both modules and files
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Module::Load.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Module-Load/distinfo b/devel/p5-Module-Load/distinfo
new file mode 100644
index 000000000000..7d6831f2948c
--- /dev/null
+++ b/devel/p5-Module-Load/distinfo
@@ -0,0 +1,2 @@
+MD5 (Module-Load-0.10.tar.gz) = ee40eb2fa3059381e43d1f14d414fe67
+SIZE (Module-Load-0.10.tar.gz) = 4039
diff --git a/devel/p5-Module-Load/pkg-descr b/devel/p5-Module-Load/pkg-descr
new file mode 100644
index 000000000000..9ff29d8b00b3
--- /dev/null
+++ b/devel/p5-Module-Load/pkg-descr
@@ -0,0 +1,4 @@
+load() eliminates the need to know whether you are trying to require
+either a file or a module.
+
+WWW: http://search.cpan.org/dist/Module-Load
diff --git a/devel/p5-Module-Load/pkg-plist b/devel/p5-Module-Load/pkg-plist
new file mode 100644
index 000000000000..dfc19a8e517e
--- /dev/null
+++ b/devel/p5-Module-Load/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Module/Load.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/Load/.packlist
+@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 2>/dev/null || true