5e38556079
minor COMMENT typos and surrounding whitespace fixes. Categories G-I. CR: D201 Approved by: portmgr (bapt)
33 lines
830 B
Makefile
33 lines
830 B
Makefile
# Created by: Nick Hilliard <nick@foobar.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Image_Graph
|
|
PORTVERSION= 0.8.0
|
|
CATEGORIES= graphics www pear
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= 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
|
|
USES= dos2unix
|
|
DOS2UNIX_REGEX= .*php$$
|
|
DEFAULT_PHP_VER= 5
|
|
|
|
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>
|