1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/p5-Sub-Alias/Makefile
Frederic Culot dbf9a74fe7 Sub::Alias does a compile-time code injection to let you define subroutine
aliases based on its name.

This differs from p5-Sub-Name in that it defines a typeglob in a more correct
way and keeps you from manipulating the symbols table directly. You can use
the subroutine as if it was defined the ordinary way then.

This is particularly useful in the cases when you need to have several
identical subroutines with different names.

WWW: http://search.cpan.org/dist/Sub-Alias/

PR:		ports/157632
Submitted by:	Peter Vereshagin <peter@vereshagin.org>
2011-06-06 17:25:52 +00:00

31 lines
784 B
Makefile

# New ports collection makefile for: devel/p5-Sub-Alias
# Date created: 2011-06-06
# Whom: Peter Vereshagin <peter@vereshagin.org>
#
# $FreeBSD$
#
PORTNAME= Sub-Alias
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= peter@vereshagin.org
COMMENT= Simple subroutine alias
BUILD_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \
p5-Devel-Declare>=0:${PORTSDIR}/devel/p5-Devel-Declare \
p5-Devel-BeginLift>=0:${PORTSDIR}/devel/p5-Devel-BeginLift
RUN_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \
p5-Devel-Declare>=0:${PORTSDIR}/devel/p5-Devel-Declare \
p5-Devel-BeginLift>=0:${PORTSDIR}/devel/p5-Devel-BeginLift
PERL_CONFIGURE= 5.8.0+
LICENSE= MIT
MAN3= Sub::Alias.3
.include <bsd.port.mk>