Date: Thu, 05 Jul 2001 16:43:14 +0400 From: skv@protey.ru To: FreeBSD-gnats-submit@freebsd.org Subject: ports/28719: New port: p5-Class-Loader Message-ID: <E15I8TS-000A9p-00@3wgraphics.com>
next in thread | raw e-mail | index | archive | help
>Number: 28719 >Category: ports >Synopsis: New port: p5-Class-Loader >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 05 05:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Sergey Skvortsov >Release: FreeBSD 4.3-STABLE i386 >Organization: <Organization of PR author (multiple lines)> >Environment: <Relevant environment information (multiple lines)> >Description: New port: p5-Class-Loader - Load modules and create objects on demand >How-To-Repeat: <Code/input/activities to reproduce the problem (multiple lines)> >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Class-Loader # p5-Class-Loader/Makefile # p5-Class-Loader/distinfo # p5-Class-Loader/pkg-comment # p5-Class-Loader/pkg-descr # p5-Class-Loader/pkg-plist # echo c - p5-Class-Loader mkdir -p p5-Class-Loader > /dev/null 2>&1 echo x - p5-Class-Loader/Makefile sed 's/^X//' >p5-Class-Loader/Makefile << 'END-of-p5-Class-Loader/Makefile' X# New ports collection makefile for: Class::Loader X# Date created: 5 Jul 2001 X# Whom: Sergey Skvortsov <skv@protey.ru> X# X# $FreeBSD$ X# X XPORTNAME= Class-Loader XPORTVERSION= 2.00 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Class XPKGNAMEPREFIX= p5- X XMAINTAINER= skv@protey.ru X XPERL_CONFIGURE= yes X XMAN3= Class::Loader.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include <bsd.port.mk> END-of-p5-Class-Loader/Makefile echo x - p5-Class-Loader/distinfo sed 's/^X//' >p5-Class-Loader/distinfo << 'END-of-p5-Class-Loader/distinfo' XMD5 (Class-Loader-2.00.tar.gz) = 41c49975f02aa4cad3e38ac95dbebd3b END-of-p5-Class-Loader/distinfo echo x - p5-Class-Loader/pkg-comment sed 's/^X//' >p5-Class-Loader/pkg-comment << 'END-of-p5-Class-Loader/pkg-comment' XLoad modules and create objects on demand END-of-p5-Class-Loader/pkg-comment echo x - p5-Class-Loader/pkg-descr sed 's/^X//' >p5-Class-Loader/pkg-descr << 'END-of-p5-Class-Loader/pkg-descr' XCertain applications like to defer the decision to use a particular module Xtill runtime. This is possible in perl, and is a useful trick in Xsituations where the type of data is not known at compile time and the Xapplication doesn't wish to pre-compile modules to handle all types of Xdata it can work with. Loading modules at runtime can also provide Xflexible interfaces for perl modules. Modules can let the programmer Xdecide what modules will be used by it instead of hard-coding their names. END-of-p5-Class-Loader/pkg-descr echo x - p5-Class-Loader/pkg-plist sed 's/^X//' >p5-Class-Loader/pkg-plist << 'END-of-p5-Class-Loader/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Loader/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/Class/Loader.pm Xlib/perl5/site_perl/%%PERL_VER%%/Class/LoaderTest.pm X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Loader X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true END-of-p5-Class-Loader/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E15I8TS-000A9p-00>