freebsd-ports/devel/p5-Hash-AutoHash/Makefile
Sahil Tandon cfd1dc5e85 This is yet another module that lets you access or change the elements
of a hash using methods with the same name as the element's key.  It
follows in the footsteps of Hash::AsObject, Hash::Inflator,
Data::OpenStruct::Deep, Object::AutoAccessor, and probably others. The
main difference between this module and its forebears is that it
supports tied hashes, in addition to regular hashes. This allows a
modular division of labor: this class is generic and treats all hashes
the same; any special semantics come from the tied hash.

WWW: http://search.cpan.org/dist/Hash-AutoHash/

PR:		ports/150528
Submitted by:	Frederic Culot <frederic@culot.org>
2010-09-18 04:33:05 +00:00

27 lines
705 B
Makefile

# New ports collection makefile for: p5-Hash-AutoHash
# Date created: 2010-09-13
# Whom: Frederic Culot <frederic@culot.org>
#
# $FreeBSD$
#
PORTNAME= Hash-AutoHash
PORTVERSION= 1.12
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= frederic@culot.org
COMMENT= Object-oriented access to real and tied hashes
BUILD_DEPENDS= p5-Tie-Hash-MultiValue>0:${PORTSDIR}/devel/p5-Tie-Hash-MultiValue
RUN_DEPENDS:= ${BUILD_DEPENDS} \
p5-List-MoreUtils>=0.09:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Tie-ToObject>0:${PORTSDIR}/devel/p5-Tie-ToObject
TEST_DEPENDS= p5-Test-Deep>0:${PORTSDIR}/devel/p5-Test-Deep
PERL_MODBUILD= 5.8.3+
MAN3= Hash::AutoHash.3
.include <bsd.port.mk>