1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

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.
This commit is contained in:
Anton Berezin 2007-04-03 14:08:26 +00:00
parent f69709f0f2
commit f17e3fd2f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189095
5 changed files with 41 additions and 0 deletions

View File

@ -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

25
devel/p5-Best/Makefile Normal file
View File

@ -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>

3
devel/p5-Best/distinfo Normal file
View File

@ -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

9
devel/p5-Best/pkg-descr Normal file
View File

@ -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/

3
devel/p5-Best/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
%%SITE_PERL%%/Best.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Best/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Best