freebsd-ports/www/p5-Template-Iterator-AlzaboWrapperCursor/Makefile
Andrew Pantyukhin 0acc92c3c0 Add port www/p5-Template-Iterator-AlzaboWrapperCursor:
This module allows a Class::AlzaboWrapper::Cursor object to be used as
a TT2 iterator.

For a cursor which returns one object at a time, the iterator simply
returns one object per iteration. When the cursor returns multiple
objects, the iterator returns a hash reference where the keys are the
table name of the object's class in lower-case, with camel-casing
turned into underscores. The values of the hash are the objects.

So if the cursor returns Foo::User and Foo::Page objects, the keys are
"user" and "page".

WWW: http://search.cpan.org/dist/Template-Iterator-AlzaboWrapperCursor/

Justification:	socialtext dependency
2006-08-02 10:54:42 +00:00

25 lines
663 B
Makefile

# New ports collection makefile for: p5-Template-Iterator-AlzaboWrapperCursor
# Date created: 2 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Template-Iterator-AlzaboWrapperCursor
DISTVERSION= 0.01
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Turns a Class-AlzaboWrapper-Cursor object into a TT2 iterator
BUILD_DEPENDS= p5-Template-Toolkit>=2:${PORTSDIR}/www/p5-Template-Toolkit \
p5-Class-AlzaboWrapper>=0:${PORTSDIR}/devel/p5-Class-AlzaboWrapper
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= YES
MAN3= ${PORTNAME:S/-/::/g}.3
.include <bsd.port.mk>