freebsd-ports/graphics/pear-Image_Graph/Makefile
Martin Wilke 8bd0c8a8ca - Update to 0.8.0
PR:		166982
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2012-05-30 09:53:58 +00:00

38 lines
942 B
Makefile

# Ports collection makefile for: pear-Image-Graph
# Date created: 01 March 2005
# Whom: Nick Hilliard <nick@foobar.org>
#
# $FreeBSD$
#
PORTNAME= Image_Graph
PORTVERSION= 0.8.0
CATEGORIES= graphics www pear
MAINTAINER= miwi@FreeBSD.org
COMMENT= An OO PEAR graph rendering package
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log \
${PEARDIR}/Image/Canvas.php:${PORTSDIR}/graphics/pear-Image_Canvas
PEAR_AUTOINSTALL= yes
USE_PHP= yes
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*php$$
DEFAULT_PHP_VER= 5
IGNORE_WITH_PHP= 4
LATEST_LINK= pear-Image_Graph
.include <bsd.port.pre.mk>
post-patch:
# don't modify images
.for file in ${FILES}
@if ${ECHO_CMD} ${file} | ${GREP} -q -e "php$$" ; then \
${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/${file}; \
fi
.endfor
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>