mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
f17e3fd2f0
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.
26 lines
548 B
Makefile
26 lines
548 B
Makefile
# 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>
|