summaryrefslogtreecommitdiff
path: root/devel/p5-Data-Dumper/Makefile
blob: 5108204c13213fc1133bb6a1f1a2fabc29b56d8b (plain)
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
# $NetBSD: Makefile,v 1.15 2001/02/26 07:23:56 jlam Exp $
# FreeBSD Id: Makefile,v 1.7 1997/06/24 18:43:11 jfitz Exp

DISTNAME=	Data-Dumper-2.101
PKGNAME=	p5-Data-Dumper-2.101
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Data/}

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://theory.uwinnipeg.ca/CPAN/data/Data-Dumper/Dumper.html
COMMENT=	perl5 module for stringified perl data structures

# Some perl packages install their own versions of this module.
# Can't simply define USE_PERL5.
DEPENDS+=	perl-{5.0*,5.6.0nb[12],base-5.[6-9]*}:../../lang/perl5-base

PERL5_PACKLIST=	${PERL5_SITEARCH}/auto/Data/Dumper/.packlist

do-configure:
	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL

.include "../../mk/bsd.pkg.mk"

.if !defined(PERL5_SITEARCH)
PERL5_SITEARCH!=	eval `${PERL5} -V:installsitearch 2>/dev/null`; \
			${ECHO} $${installsitearch}
.endif