1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add p5-Alias 2.32, a perl module that performs aliasing services.

This commit is contained in:
Will Andrews 2001-01-01 05:45:34 +00:00
parent 81bb73551f
commit 6056b08c58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36551
6 changed files with 48 additions and 0 deletions

View File

@ -206,6 +206,7 @@
SUBDIR += noweb
SUBDIR += oaf
SUBDIR += omniORB
SUBDIR += p5-Alias
SUBDIR += p5-AppConfig
SUBDIR += p5-B-Graph
SUBDIR += p5-BSD-Resource

26
devel/p5-Alias/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: Alias
# Date created: 04 Nov 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= Alias
PORTVERSION= 2.32
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Alias
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
USE_PERL5= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Alias.3
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>

1
devel/p5-Alias/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (Alias-2.32.tar.gz) = 74aee28a4a20e643dd7656c6d8096aa8

View File

@ -0,0 +1 @@
A perl module that performs aliasing services

14
devel/p5-Alias/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
Alias is a perl module that performs aliasing services. It is useful for
those of you that are tired of dereferencing hash-based object attributes,
or wish perl could make-do with fewer $, -> and {} things, or are a little
scared of using typeglobs, or want the freedom to put what you want, when you
want in the symbol table without having to deal with wierd syntax, or need
to use scalar constants in your program since you don't trust yourself from
changing $PI (heh). Most notably, there is a C<attr> function that installs
a whole hash on the symbol table with implicit localization. This allows
you to access object attributes without having to deref the object every
time, as in most other OO languages.
Author: Sarathy <gsar@umich.edu>
--will

5
devel/p5-Alias/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Alias.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Alias/Alias.so
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Alias/Alias.bs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Alias/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Alias