summaryrefslogtreecommitdiff
path: root/graphics/pear-Image_Canvas/Makefile
blob: 34a3e31bbb80d4b4b17ca272211198a69bf824a1 (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
38
39
40
41
42
43
# Ports collection makefile for:  pear-Image_Canvas
# Date created:			  21 Oct 2005
# Whom:				  Simun Mikecin <numisemis@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=	Image_Canvas
PORTVERSION=	0.2.4
CATEGORIES=	graphics www pear

MAINTAINER=	numisemis@yahoo.com
COMMENT=	An OO PEAR common interface to image drawing

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS=	${PEARDIR}/Image/Color.php:${PORTSDIR}/graphics/pear-Image_Color

USE_PHP=	gd
USE_REINPLACE=	yes

CATEGORY=	Image
FILES=		Canvas.php Canvas/Color.php Canvas/GD.php \
		Canvas/ImageMap.php Canvas/PDF.php Canvas/SVG.php \
		Canvas/Tool.php Canvas/WithMap.php Canvas/Fonts/fontmap.txt \
		Canvas/Fonts/README Canvas/GD/JPG.php Canvas/GD/PNG.php

TESTS=		canvas_body.php gradients.php imagemap.php jpg.php \
		lineends.php pdf.php pear-icon.png png.php README svg.php \
		text.php

DOCS=		ChangeLog README examples/canvas.php examples/pear-icon.png

LATEST_LINK=	pear-Image_Canvas

post-patch:
.for file in ${FILES}
	@${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/${file}
.endfor

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"

.include <bsd.port.post.mk>