aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2007-04-03 22:08:26 +0800
committertobez <tobez@FreeBSD.org>2007-04-03 22:08:26 +0800
commit752fe1658bda586bdec7f39758bbaffe9f14b03e (patch)
tree3032f2455bef5b417e0ba9023950fbdb581d56d5 /devel
parentfd78988a43c72b5020e3c53116a21ed311779012 (diff)
downloadfreebsd-ports-gnome-752fe1658bda586bdec7f39758bbaffe9f14b03e.tar.gz
freebsd-ports-gnome-752fe1658bda586bdec7f39758bbaffe9f14b03e.tar.zst
freebsd-ports-gnome-752fe1658bda586bdec7f39758bbaffe9f14b03e.zip
Add devel/p5-Best 0.11.
Often there are several possible providers of some functionality your program needs, but you don't know which is available at the run site. For example, one of the modules may be implemented with XS, or not in the core Perl distribution and thus not necessarily installed. Best.pm attempts to load modules from a list, stopping at the first successful load and failing only if no alternative was found.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Best/Makefile25
-rw-r--r--devel/p5-Best/distinfo3
-rw-r--r--devel/p5-Best/pkg-descr9
-rw-r--r--devel/p5-Best/pkg-plist3
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bdb5f3a518fe..a9f43c6033c1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -856,6 +856,7 @@
SUBDIR += p5-BFD
SUBDIR += p5-BSD-Resource
SUBDIR += p5-BSD-stat
+ SUBDIR += p5-Best
SUBDIR += p5-Bundle-Perl6
SUBDIR += p5-C-Scan
SUBDIR += p5-CPAN-DistnameInfo
diff --git a/devel/p5-Best/Makefile b/devel/p5-Best/Makefile
new file mode 100644
index 000000000000..419390ccdb78
--- /dev/null
+++ b/devel/p5-Best/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: devel/p5-Best
+# Date created: 03 April 2007
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Best
+PORTVERSION= 0.11
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/G/GA/GAAL
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Fallbackable module loader
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Best.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Best/distinfo b/devel/p5-Best/distinfo
new file mode 100644
index 000000000000..511121da2bd6
--- /dev/null
+++ b/devel/p5-Best/distinfo
@@ -0,0 +1,3 @@
+MD5 (Best-0.11.tar.gz) = fad74c878582a2eeb9b2878baad9b79d
+SHA256 (Best-0.11.tar.gz) = e6a7a1a14211de31deddd6d1fe8d900ba726a7edfebee3c5f3eb0be38856166c
+SIZE (Best-0.11.tar.gz) = 28760
diff --git a/devel/p5-Best/pkg-descr b/devel/p5-Best/pkg-descr
new file mode 100644
index 000000000000..09b60fc0dc3d
--- /dev/null
+++ b/devel/p5-Best/pkg-descr
@@ -0,0 +1,9 @@
+Often there are several possible providers of some functionality your
+program needs, but you don't know which is available at the run site.
+For example, one of the modules may be implemented with XS, or not in
+the core Perl distribution and thus not necessarily installed.
+
+Best.pm attempts to load modules from a list, stopping at the first
+successful load and failing only if no alternative was found.
+
+WWW: http://search.cpan.org/dist/Best/
diff --git a/devel/p5-Best/pkg-plist b/devel/p5-Best/pkg-plist
new file mode 100644
index 000000000000..e9fc2751f8ab
--- /dev/null
+++ b/devel/p5-Best/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/Best.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Best/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Best