aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pear-Image_Graph
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-09-24 00:37:41 +0800
committerbapt <bapt@FreeBSD.org>2014-09-24 00:37:41 +0800
commit9077959a0bf96921c5733902421692386fc163f8 (patch)
tree585e45b06b1505604540d9f830db6fe3c9f7115f /graphics/pear-Image_Graph
parent2ff5d15b13264f252f738b6ed9b755aad84442dd (diff)
downloadfreebsd-ports-gnome-9077959a0bf96921c5733902421692386fc163f8.tar.gz
freebsd-ports-gnome-9077959a0bf96921c5733902421692386fc163f8.tar.zst
freebsd-ports-gnome-9077959a0bf96921c5733902421692386fc163f8.zip
Convert to USES=pear
Diffstat (limited to 'graphics/pear-Image_Graph')
-rw-r--r--graphics/pear-Image_Graph/Makefile19
1 files changed, 2 insertions, 17 deletions
diff --git a/graphics/pear-Image_Graph/Makefile b/graphics/pear-Image_Graph/Makefile
index e6683cf6af8f..bcf82acf8fef 100644
--- a/graphics/pear-Image_Graph/Makefile
+++ b/graphics/pear-Image_Graph/Makefile
@@ -8,26 +8,11 @@ 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
+USES= dos2unix pear
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>
+.include <bsd.port.mk>