Add p5-Module-Load-Conditional, a Perl module for looking up other Perl

modules information/loading at runtime.
This commit is contained in:
Anton Berezin 2004-12-15 10:10:11 +00:00
parent 9412503150
commit 4e4fe67b87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124090
5 changed files with 50 additions and 0 deletions

View file

@ -905,6 +905,7 @@
SUBDIR += p5-Module-Info-File SUBDIR += p5-Module-Info-File
SUBDIR += p5-Module-Install SUBDIR += p5-Module-Install
SUBDIR += p5-Module-Load SUBDIR += p5-Module-Load
SUBDIR += p5-Module-Load-Conditional
SUBDIR += p5-Module-Pluggable SUBDIR += p5-Module-Pluggable
SUBDIR += p5-Module-Pluggable-Ordered SUBDIR += p5-Module-Pluggable-Ordered
SUBDIR += p5-Module-Reload SUBDIR += p5-Module-Reload

View file

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

View file

@ -0,0 +1,2 @@
MD5 (Module-Load-Conditional-0.06.tar.gz) = 042b12469a1166e0fbc7848c58b276a6
SIZE (Module-Load-Conditional-0.06.tar.gz) = 6533

View file

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

View file

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