summaryrefslogtreecommitdiff
path: root/graphics/p5-GD1/Makefile
blob: 178612e379306d99205140494c32b80ea4817015 (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
# New ports collection makefile for:	p5-GD1
# Date created:				June 26th 1997
# Whom:					James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	GD
PORTVERSION=	1.41
PORTREVISION=	2
CATEGORIES=	graphics perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	GD
PKGNAMEPREFIX=	p5-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A perl5 interface to Gd Graphics Library

LIB_DEPENDS=	gd1.2:${PORTSDIR}/graphics/gd1

PERL_CONFIGURE=	yes
USE_REINPLACE=	yes

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		GD.3

post-patch:
	${REINPLACE_CMD} \
		-e 's,@@LOCALBASE@@,${LOCALBASE},g' \
		-e 's,@@X11BASE@@,${X11BASE},g' \
		${WRKSRC}/Makefile.PL

.include <bsd.port.mk>