summaryrefslogtreecommitdiff
path: root/devel/p5-Devel-ptkdb/Makefile
blob: a3f351e458d75cd853ca9b037efc0a2fd5e420e9 (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
# New ports collection makefile for:	p5-Devel-ptkdb
# Date created:				May 9th 2002
# Whom:					Alex Kapranoff <kappa@freebsd.org.ua>
#
# $FreeBSD$
#

PORTNAME=	Devel-ptkdb
PORTVERSION=	1.1074
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Devel
PKGNAMEPREFIX=	p5-

MAINTAINER=	kappa@freebsd.org.ua

RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk

PERL_CONFIGURE=	yes
INSTALL_TARGET=	pure_install

MAN3=		Devel::ptkdb.3
MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}

post-patch:
	@${PERL} -pi -e 's|\bperl\b|site| if $$. == 5;' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>