1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add p5-CLASS 1.00, alias for __PACKAGE__.

PR:		ports/112306
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2007-05-04 00:48:22 +00:00
parent bf3990a6a5
commit 88caba5c54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191509
5 changed files with 39 additions and 0 deletions

View File

@ -865,6 +865,7 @@
SUBDIR += p5-Best
SUBDIR += p5-Bundle-Perl6
SUBDIR += p5-C-Scan
SUBDIR += p5-CLASS
SUBDIR += p5-CPAN-DistnameInfo
SUBDIR += p5-CPAN-Mini
SUBDIR += p5-CPAN-SQLite

22
devel/p5-CLASS/Makefile Normal file
View File

@ -0,0 +1,22 @@
# New ports collection makefile for: p5-CLASS
# Date created: 2007-05-02
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= CLASS
PORTVERSION= 1.00
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/M/MS/MSCHWERN/
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Alias for __PACKAGE__
PERL_CONFIGURE= yes
MAN3= CLASS.3
.include <bsd.port.mk>

3
devel/p5-CLASS/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (CLASS-1.00.tar.gz) = 834b888b9c8a936b12de2c168798b618
SHA256 (CLASS-1.00.tar.gz) = c5185620815701b3fec21314ccd8c5693e6bfd519431527da3370a8164220671
SIZE (CLASS-1.00.tar.gz) = 3579

9
devel/p5-CLASS/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
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/

4
devel/p5-CLASS/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CLASS/.packlist
%%SITE_PERL%%/CLASS.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CLASS