From owner-freebsd-ports Thu Jul 5 5:50:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CDD5E37B409 for ; Thu, 5 Jul 2001 05:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f65Co2t27947; Thu, 5 Jul 2001 05:50:02 -0700 (PDT) (envelope-from gnats) Received: from pinochet.cityline.ru (pinochet.cityline.ru [195.46.160.34]) by hub.freebsd.org (Postfix) with ESMTP id 2BAE837B401 for ; Thu, 5 Jul 2001 05:48:07 -0700 (PDT) (envelope-from root@3wgraphics.com) Received: from 3wgraphics.com (747c431d92f322b57b9179bf12496350@231.168.06.dn.dialup.cityline.ru [195.46.168.231]) by pinochet.cityline.ru (8.10.2/t/08-Oct-1998) with ESMTP id f65ChGV52624 for ; Thu, 5 Jul 2001 16:43:18 +0400 (MSD) Received: from root by 3wgraphics.com with local (Exim 3.30 #1) id 15I8TS-000A9p-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 05 Jul 2001 16:43:14 +0400 Message-Id: Date: Thu, 05 Jul 2001 16:43:14 +0400 From: skv@protey.ru Reply-To: skv@protey.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/28719: New port: p5-Class-Loader Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: >Environment: >Description: New port: p5-Class-Loader - Load modules and create objects on demand >How-To-Repeat: >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 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 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