Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 16:37:42 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369089 - in head: games/pear-Games_Chess graphics/pear-IO_SWF graphics/pear-Image_3D graphics/pear-Image_Barcode graphics/pear-Image_Barcode2 graphics/pear-Image_Canvas graphics/pear-I...
Message-ID:  <201409231637.s8NGbgPl082719@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 23 16:37:41 2014
New Revision: 369089
URL: http://svnweb.freebsd.org/changeset/ports/369089
QAT: https://qat.redports.org/buildarchive/r369089/

Log:
  Convert to USES=pear

Modified:
  head/games/pear-Games_Chess/Makefile
  head/graphics/pear-IO_SWF/Makefile
  head/graphics/pear-Image_3D/Makefile
  head/graphics/pear-Image_Barcode/Makefile
  head/graphics/pear-Image_Barcode2/Makefile
  head/graphics/pear-Image_Canvas/Makefile
  head/graphics/pear-Image_Color/Makefile
  head/graphics/pear-Image_Graph/Makefile
  head/graphics/pear-Image_GraphViz/Makefile
  head/graphics/pear-Image_Transform/Makefile

Modified: head/games/pear-Games_Chess/Makefile
==============================================================================
--- head/games/pear-Games_Chess/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/games/pear-Games_Chess/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -8,11 +8,6 @@ CATEGORIES=	games devel pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR methods for constructing and validating chess games in PGN
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES=	pear
 
-PEAR_AUTOINSTALL=	yes
-
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pear-IO_SWF/Makefile
==============================================================================
--- head/graphics/pear-IO_SWF/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-IO_SWF/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -19,8 +19,6 @@ RUN_DEPENDS=	pear-IO_Bit>0:${PORTSDIR}/d
 
 USE_PHP=	yes
 PEAR_CHANNEL=	openpear
-PEAR_AUTOINSTALL=	yes
+USES=	pear
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pear-Image_3D/Makefile
==============================================================================
--- head/graphics/pear-Image_3D/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-Image_3D/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -8,15 +8,7 @@ CATEGORIES=	graphics www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR class allows the rendering of 3 dimensional objects
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:=	${BUILD_DEPENDS}
-
 USE_PHP=	gd
+USES=	pear
 
-LATEST_LINK=	pear-${PORTNAME}
-
-PEAR_AUTOINSTALL=	yes
-
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pear-Image_Barcode/Makefile
==============================================================================
--- head/graphics/pear-Image_Barcode/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-Image_Barcode/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -8,23 +8,12 @@ CATEGORIES=	graphics www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR class for barcode generation
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
 USE_PHP=	gd
-
-LATEST_LINK=	pear-${PORTNAME}
+USES=	pear
 
 OPTIONS_DEFINE=		PEAR_PHP_COMPAT
 PEAR_PHP_COMPAT_DESC=	PEAR::PHP_Compat support
 
-PEAR_AUTOINSTALL=	yes
-
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MPEAR_PHP_COMPAT}
-RUN_DEPENDS+=	${PEARDIR}/PHP/Compat.php:${PORTSDIR}/devel/pear-PHP_Compat
-.endif
+PEAR_PHP_COMPAT_RUN_DEPENDS=	${PEARDIR}/PHP/Compat.php:${PORTSDIR}/devel/pear-PHP_Compat
 
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pear-Image_Barcode2/Makefile
==============================================================================
--- head/graphics/pear-Image_Barcode2/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-Image_Barcode2/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -8,14 +8,7 @@ CATEGORIES=	graphics www pear
 MAINTAINER=	5u623l20@gmail.com
 COMMENT=	PEAR class for barcode generation
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
 USE_PHP=	gd
-PEAR_AUTOINSTALL=	yes
-
-LATEST_LINK=	pear-${PORTNAME}
+USES=	pear
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pear-Image_Canvas/Makefile
==============================================================================
--- head/graphics/pear-Image_Canvas/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-Image_Canvas/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -9,23 +9,9 @@ CATEGORIES=	graphics www pear
 MAINTAINER=	numisemis@yahoo.com
 COMMENT=	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
-USES=		dos2unix
+USES=		dos2unix pear
 
-PEAR_AUTOINSTALL=	yes
-
-LATEST_LINK=	pear-Image_Canvas
-
-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>
+.include <bsd.port.mk>

Modified: head/graphics/pear-Image_Color/Makefile
==============================================================================
--- head/graphics/pear-Image_Color/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-Image_Color/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -8,12 +8,7 @@ CATEGORIES=	graphics www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR::Image_Color manages and handles color data and conversions
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:=	${BUILD_DEPENDS}
-
 USE_PHP=	gd
-PEAR_AUTOINSTALL=	yes
+USES=	pear
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pear-Image_Graph/Makefile
==============================================================================
--- head/graphics/pear-Image_Graph/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-Image_Graph/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -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>

Modified: head/graphics/pear-Image_GraphViz/Makefile
==============================================================================
--- head/graphics/pear-Image_GraphViz/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-Image_GraphViz/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -8,12 +8,8 @@ CATEGORIES=	graphics www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	Interface to AT&T's GraphViz tools
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:=	${BUILD_DEPENDS} \
-		${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz
+RUN_DEPENDS=	${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz
 
-PEAR_AUTOINSTALL=	yes
+USES=	pear
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pear-Image_Transform/Makefile
==============================================================================
--- head/graphics/pear-Image_Transform/Makefile	Tue Sep 23 16:33:50 2014	(r369088)
+++ head/graphics/pear-Image_Transform/Makefile	Tue Sep 23 16:37:41 2014	(r369089)
@@ -8,12 +8,7 @@ CATEGORIES=	graphics www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	Standard interface to manipulate images using different libraries
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
 USE_PHP=	gd
-PEAR_AUTOINSTALL=	yes
+USES=	pear
 
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409231637.s8NGbgPl082719>