summaryrefslogtreecommitdiff
path: root/devel/p5-Memoize/Makefile
blob: cfaa84bf7febbcc4b78105cbecfd4ed35de9e051 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	devel/p5-Memoize
# Date created:				12 October 2001
# Whom:					tobez
#
# $FreeBSD$
#

PORTNAME=	Memoize
PORTVERSION=	1.01
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Memoize
PKGNAMEPREFIX=	p5-

MAINTAINER=	tobez@FreeBSD.org
COMMENT=	Transparently speed up perl functions by caching return values

BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Memoize.3 \
		Memoize::AnyDBM_File.3 \
		Memoize::Expire.3 \
		Memoize::ExpireFile.3 \
		Memoize::ExpireTest.3 \
		Memoize::NDBM_File.3 \
		Memoize::SDBM_File.3 \
		Memoize::Saves.3 \
		Memoize::Storable.3
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}

post-patch:
	${PERL} -pi -e '$$_=";" if /warnings::/' ${WRKSRC}/Memoize.pm

.include <bsd.port.mk>