From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 1 16:10:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43F6616A406 for ; Tue, 1 May 2007 16:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2626213C465 for ; Tue, 1 May 2007 16:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l41GA4G3027831 for ; Tue, 1 May 2007 16:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l41GA4F3027830; Tue, 1 May 2007 16:10:04 GMT (envelope-from gnats) Resent-Date: Tue, 1 May 2007 16:10:04 GMT Resent-Message-Id: <200705011610.l41GA4F3027830@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56A4616A402 for ; Tue, 1 May 2007 16:04:11 +0000 (UTC) (envelope-from gslin@netnews.NCTU.edu.tw) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.freebsd.org (Postfix) with ESMTP id 2B39313C44B for ; Tue, 1 May 2007 16:04:08 +0000 (UTC) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id 31F364B4; Wed, 2 May 2007 00:04:08 +0800 (CST) Message-Id: <20070501160408.31F364B4@netnews.NCTU.edu.tw> Date: Wed, 2 May 2007 00:04:08 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/112306: [NEW PORT] devel/p5-CLASS: Alias for __PACKAGE__ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 16:10:05 -0000 >Number: 112306 >Category: ports >Synopsis: [NEW PORT] devel/p5-CLASS: Alias for __PACKAGE__ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue May 01 16:10:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.2-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Sat Apr 28 00:53:10 CST 2007 >Description: CLASS and $CLASS are both synonyms for __PACKAGE__. Easier to type. $CLASS has the additional benefit of working in strings. CLASS is a constant, not a subroutine call. $CLASS is a plain variable, it is not tied. There is no performance loss for using CLASS over __PACKAGE__ except the loading of the module. WWW: http://search.cpan.org/dist/CLASS/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-CLASS-1.00.shar begins here --- # 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 # p5-CLASS/pkg-descr # p5-CLASS/Makefile # p5-CLASS/pkg-plist # p5-CLASS/distinfo # echo c - p5-CLASS mkdir -p p5-CLASS > /dev/null 2>&1 echo x - p5-CLASS/pkg-descr sed 's/^X//' >p5-CLASS/pkg-descr << 'END-of-p5-CLASS/pkg-descr' XCLASS and $CLASS are both synonyms for __PACKAGE__. Easier to type. X X$CLASS has the additional benefit of working in strings. X XCLASS is a constant, not a subroutine call. $CLASS is a plain Xvariable, it is not tied. There is no performance loss for using CLASS Xover __PACKAGE__ except the loading of the module. X XWWW: http://search.cpan.org/dist/CLASS/ END-of-p5-CLASS/pkg-descr echo x - p5-CLASS/Makefile sed 's/^X//' >p5-CLASS/Makefile << 'END-of-p5-CLASS/Makefile' X# New ports collection makefile for: p5-CLASS X# Date created: 2007-05-02 X# Whom: Gea-Suan Lin X# X# $FreeBSD$ X# X XPORTNAME= CLASS XPORTVERSION= 1.00 XCATEGORIES= devel perl5 XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= ../../authors/id/M/MS/MSCHWERN/ XPKGNAMEPREFIX= p5- X XMAINTAINER= gslin@gslin.org XCOMMENT= Alias for __PACKAGE__ X XPERL_CONFIGURE= yes X XMAN3= CLASS.3 X X.include END-of-p5-CLASS/Makefile echo x - p5-CLASS/pkg-plist sed 's/^X//' >p5-CLASS/pkg-plist << 'END-of-p5-CLASS/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/%%PERL_ARCH%%/auto/CLASS/.packlist X%%SITE_PERL%%/CLASS.pm X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CLASS END-of-p5-CLASS/pkg-plist echo x - p5-CLASS/distinfo sed 's/^X//' >p5-CLASS/distinfo << 'END-of-p5-CLASS/distinfo' XMD5 (CLASS-1.00.tar.gz) = 834b888b9c8a936b12de2c168798b618 XSHA256 (CLASS-1.00.tar.gz) = c5185620815701b3fec21314ccd8c5693e6bfd519431527da3370a8164220671 XSIZE (CLASS-1.00.tar.gz) = 3579 END-of-p5-CLASS/distinfo exit --- p5-CLASS-1.00.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: