summaryrefslogtreecommitdiff
path: root/lang/perl5/Makefile
blob: f339b8e4cc9e9d69e70b77a1c431bffb6687df66 (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
28
# $NetBSD: Makefile,v 1.16 1998/12/02 15:04:07 tv Exp $
# FreeBSD Id: Makefile,v 1.20 1997/07/18 06:16:44 markm Exp
#

DISTNAME=		perl5.004_04
PKGNAME=		perl-5.00404
CATEGORIES=		lang devel perl5
MASTER_SITES=		ftp://ftp.digital.com/pub/plan/perl/CPAN/src/5.0/ \
			ftp://ftp.cdrom.com/pub/perl/CPAN/src/5.0/

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://language.perl.com/index.html

HAS_CONFIGURE=		yes
CONFIGURE_ENV+=		PREFIX=${PREFIX}
CONFIGURE_SCRIPT=	Configure
CONFIGURE_ARGS+=	-sde -Dprefix=${PREFIX}  -Dd_bincompat3=undef \
			-Darchname=${MACHINE_ARCH}-netbsd
MAKE_ENV+=		LD_LIBRARY_PATH=${WRKSRC}

test:
	@(cd ${WRKSRC}; make test)

post-install:
	@strip ${PREFIX}/bin/a2p
	@strip ${PREFIX}/bin/perl

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