1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/p5-self/Makefile
Martin Wilke 44dd5dab0e This moudles adds self and args keywords in your Perl OO module. It's
really just handy helpers to get rid of:

    my $self = shift;

Basically, self is just eqaul to $_[0], and args is just $_[1..$#_].

WWW:	http://search.cpan.org/dist/self/

PR:		ports/120190
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2008-02-16 23:49:30 +00:00

25 lines
505 B
Makefile

# New ports collection makefile for: p5-self
# Date created: 2008-02-01
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= self
PORTVERSION= 0.15
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/G/GU/GUGOD/
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Provides "self" and "args" keywords in your OO program
RUN_DEPENDS= ${SITE_PERL}/Sub/Exporter.pm:${PORTSDIR}/devel/p5-Sub-Exporter
PERL_CONFIGURE= yes
MAN3= self.3
.include <bsd.port.mk>