aboutsummaryrefslogtreecommitdiff
path: root/graphics/pear-Image_Canvas/Makefile
blob: 3f89b47851a41d8bdd7d4368f0c6e9fbe1f76b87 (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
# Created by: Simun Mikecin <numisemis@yahoo.com>
# $FreeBSD$

PORTNAME=	Image_Canvas
PORTVERSION=	0.3.2
PORTREVISION=	1
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_DOS2UNIX=	yes

PEAR_AUTOINSTALL=	yes

LATEST_LINK=	pear-Image_Canvas

NO_STAGE=	yes
post-patch:
.for file in ${FILES}
	@${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/${file}
	@${FIND} ${WRKSRC} -name "*.bak" -delete
.endfor

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

.include <bsd.port.post.mk>