Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 14:14:19 +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: r369062 - in head/databases: pear-DB pear-DBA pear-DBA_Relational pear-DB_DataObject pear-DB_DataObject_FormBuilder pear-DB_Pager pear-DB_QueryTool pear-DB_Sqlite_Tools pear-DB_Table pe...
Message-ID:  <201409231414.s8NEEJlU009823@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 23 14:14:19 2014
New Revision: 369062
URL: http://svnweb.freebsd.org/changeset/ports/369062
QAT: https://qat.redports.org/buildarchive/r369062/

Log:
  Convert to USES=pear
  Use options helpers

Modified:
  head/databases/pear-DB/Makefile
  head/databases/pear-DBA/Makefile
  head/databases/pear-DBA_Relational/Makefile
  head/databases/pear-DB_DataObject/Makefile
  head/databases/pear-DB_DataObject_FormBuilder/Makefile
  head/databases/pear-DB_Pager/Makefile
  head/databases/pear-DB_QueryTool/Makefile
  head/databases/pear-DB_Sqlite_Tools/Makefile
  head/databases/pear-DB_Table/Makefile
  head/databases/pear-DB_ldap/Makefile
  head/databases/pear-DB_ldap2/Makefile
  head/databases/pear-DoctrineCommon/Makefile
  head/databases/pear-DoctrineDBAL/Makefile
  head/databases/pear-DoctrineORM/Makefile
  head/databases/pear-MDB/Makefile
  head/databases/pear-MDB2/Makefile
  head/databases/pear-MDB2_Driver_mysql/Makefile
  head/databases/pear-MDB2_Driver_mysqli/Makefile
  head/databases/pear-MDB2_Driver_pgsql/Makefile
  head/databases/pear-MDB2_Schema/Makefile
  head/databases/pear-MDB_QueryTool/Makefile
  head/databases/pear-Structures_DataGrid_DataSource_Array/Makefile
  head/databases/pear-Structures_DataGrid_DataSource_CSV/Makefile
  head/databases/pear-Structures_DataGrid_DataSource_DB/Makefile
  head/databases/pear-Structures_DataGrid_DataSource_DBQuery/Makefile
  head/databases/pear-Structures_DataGrid_DataSource_DBTable/Makefile
  head/databases/pear-Structures_DataGrid_DataSource_DataObject/Makefile
  head/databases/pear-Structures_DataGrid_DataSource_MDB2/Makefile
  head/databases/pear-Structures_DataGrid_DataSource_PDO/Makefile
  head/databases/pear-XML_Query2XML/Makefile

Modified: head/databases/pear-DB/Makefile
==============================================================================
--- head/databases/pear-DB/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -10,11 +10,6 @@ DISTNAME=	${PORTNAME}-${PORTVERSION:S/.r
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR Database Abstraction Layer
 
-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/databases/pear-DBA/Makefile
==============================================================================
--- head/databases/pear-DBA/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DBA/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,11 +8,6 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	Berkely-style database abstraction class
 
-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/databases/pear-DBA_Relational/Makefile
==============================================================================
--- head/databases/pear-DBA_Relational/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DBA_Relational/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,13 +8,8 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	Berkely-style database abstraction class
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
 PORTSCOUT=	skipv:0.19
 
-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/databases/pear-DB_DataObject/Makefile
==============================================================================
--- head/databases/pear-DB_DataObject/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB_DataObject/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,24 +13,14 @@ BUILD_DEPENDS=	pear-DB>=1.7.0:${PORTSDIR
 RUN_DEPENDS=	pear-DB>=1.7.0:${PORTSDIR}/databases/pear-DB \
 		pear-Date>=1.4.3:${PORTSDIR}/devel/pear-Date
 
-LATEST_LINK=	pear-${PORTNAME}
+USES=	pear
 
 OPTIONS_DEFINE=	PEAR_MDB2 PEAR_VALIDATE
 
 PEAR_MDB2_DESC=		PEAR::MDB2 support
 PEAR_VALIDATE_DESC=	PEAR::Validate support
 
-PEAR_AUTOINSTALL=	yes
+PEAR_MDB2_RUN_DEPENDS=	pear-MDB2>=2.3.0:${PORTSDIR}/databases/pear-MDB2
+PEAR_VALIDATE_RUN_DEPENDS=	pear-Validate>=0.1.1:${PORTSDIR}/devel/pear-Validate
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-RUN_DEPENDS+=	pear-MDB2>=2.3.0:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_VALIDATE}
-RUN_DEPENDS+=	pear-Validate>=0.1.1:${PORTSDIR}/devel/pear-Validate
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/databases/pear-DB_DataObject_FormBuilder/Makefile
==============================================================================
--- head/databases/pear-DB_DataObject_FormBuilder/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB_DataObject_FormBuilder/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -10,25 +10,15 @@ COMMENT=	Automatically build HTML_QuickF
 
 BUILD_DEPENDS=	${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm \
 		${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject
-RUN_DEPENDS:=	${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm \
+RUN_DEPENDS=	${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm \
 		${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject
 
-LATEST_LINK=	pear-DB_DataObject_FormBuilder
+USES=		pear
 OPTIONS_DEFINE=	PEAR_DATE PEAR_HTML_TABLE
 PEAR_DATE_DESC=	PEAR::Date support
 PEAR_HTML_TABLE_DESC=	PEAR::HTML_Table support
 
-PEAR_AUTOINSTALL=yes
+PEAR_DATE_RUN_DEPENDS=	${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
+PEAR_HTML_TABLE_RUN_DEPENDS=	${PEARDIR}/HTML/Table.php:${PORTSDIR}/devel/pear-HTML_Table
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPEAR_DATE}
-RUN_DEPENDS+=	${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_HTML_TABLE}
-RUN_DEPENDS+=	${PEARDIR}/HTML/Table.php:${PORTSDIR}/devel/pear-HTML_Table
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
 .include <bsd.port.mk>

Modified: head/databases/pear-DB_Pager/Makefile
==============================================================================
--- head/databases/pear-DB_Pager/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB_Pager/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,13 +8,9 @@ CATEGORIES=	databases www pear
 MAINTAINER=	toshiya@saitoh.nu
 COMMENT=	PEAR Database Abstraction Layer
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+RUN_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
 
-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/databases/pear-DB_QueryTool/Makefile
==============================================================================
--- head/databases/pear-DB_QueryTool/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB_QueryTool/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,8 +13,6 @@ BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTS
 RUN_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
 		${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log
 
-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/databases/pear-DB_Sqlite_Tools/Makefile
==============================================================================
--- head/databases/pear-DB_Sqlite_Tools/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB_Sqlite_Tools/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,8 +13,6 @@ BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTS
 RUN_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
 		${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log
 
-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/databases/pear-DB_Table/Makefile
==============================================================================
--- head/databases/pear-DB_Table/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB_Table/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -10,29 +10,15 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR object-oriented interface to a database table
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES=	pear
 
-LATEST_LINK=	pear-DB_Table
 OPTIONS_DEFINE=	PEAR_HTML_QUICKFORM PEAR_DB PEAR_MDB2
 PEAR_HTML_QUICKFORM_DESC=	PEAR::HTML_QuickForm support
 PEAR_DB_DESC=	PEAR::DB support
 PEAR_MDB2_DESC=	PEAR::MDB2 support
-PEAR_AUTOINSTALL=	yes
 
-.include <bsd.port.options.mk>
+PEAR_HTML_QUICKFORM_RUN_DEPENDS=	${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm
+PEAR_DB_RUN_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+PEAR_MDB2_RUN_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
 
-.if ${PORT_OPTIONS:MPEAR_HTML_QUICKFORM}
-RUN_DEPENDS+=	${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_DB}
-RUN_DEPENDS+=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-RUN_DEPENDS+=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
 .include <bsd.port.mk>

Modified: head/databases/pear-DB_ldap/Makefile
==============================================================================
--- head/databases/pear-DB_ldap/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB_ldap/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -11,8 +11,6 @@ COMMENT=	PEAR DB compliant interface to 
 BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
 RUN_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
 
-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/databases/pear-DB_ldap2/Makefile
==============================================================================
--- head/databases/pear-DB_ldap2/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DB_ldap2/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,8 +13,6 @@ BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTS
 RUN_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
 
 USE_PHP=	ldap
-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/databases/pear-DoctrineCommon/Makefile
==============================================================================
--- head/databases/pear-DoctrineCommon/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DoctrineCommon/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -14,9 +14,7 @@ LICENSE=	LGPL21
 BUILD_DEPENDS=	${PEARDIR}/.channels/pear.doctrine-project.org.reg:${PORTSDIR}/devel/pear-channel-doctrine
 RUN_DEPENDS=	${PEARDIR}/.channels/pear.doctrine-project.org.reg:${PORTSDIR}/devel/pear-channel-doctrine
 
+USES=	pear
 PEAR_CHANNEL=	doctrine
-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/databases/pear-DoctrineDBAL/Makefile
==============================================================================
--- head/databases/pear-DoctrineDBAL/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DoctrineDBAL/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -26,29 +26,16 @@ ODBC_DESC=	Install PHP DBO driver for OD
 PGSQL_DESC=	Install PHP DBO driver for PostgreSQL
 SQLITE_DESC=	Install PHP DBO driver for SQLite
 
+USES=		pear
 PEAR_CHANNEL=	doctrine
-PEAR_AUTOINSTALL=	yes
 
 USE_PHP=	pdo
 WANT_PHP_CLI=	yes
 
-.include <bsd.port.pre.mk>
+DBLIB_RUN_DEPENDS=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_dblib
+MYSQL_USE=	PHP=pdo_mysql
+ODBC_RUN_DEPENDS=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_odbc
+PGSQL_USE=	PHP=pdo_pgsql
+SQLITE_USE=	PHP=pdo_sqlite
 
-.if ${PORT_OPTIONS:MDBLIB}
-RUN_DEPENDS+=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_dblib.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_dblib
-.endif
-.if ${PORT_OPTIONS:MMYSQL}
-USE_PHP+=	pdo_mysql
-.endif
-.if ${PORT_OPTIONS:MODBC}
-RUN_DEPENDS+=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:${PORTSDIR}/databases/php${PHP_VER}-pdo_odbc
-.endif
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PHP+=	pdo_pgsql
-.endif
-.if ${PORT_OPTIONS:MSQLITE}
-USE_PHP+=	pdo_sqlite
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/databases/pear-DoctrineORM/Makefile
==============================================================================
--- head/databases/pear-DoctrineORM/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-DoctrineORM/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -18,9 +18,7 @@ RUN_DEPENDS=	${PEARDIR}/.channels/pear.d
 	${PEARDIR}/Symfony/Component/Console/Application.php:${PORTSDIR}/devel/pear-Symfony_Component_Console \
 	${PEARDIR}/Symfony/Component/Yaml/Yaml.php:${PORTSDIR}/textproc/pear-Symfony_Component_Yaml
 
+USES=	pear
 PEAR_CHANNEL=	doctrine
-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/databases/pear-MDB/Makefile
==============================================================================
--- head/databases/pear-MDB/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-MDB/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -11,8 +11,6 @@ COMMENT=	PEAR unified API for DB access,
 BUILD_DEPENDS=	${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser
 RUN_DEPENDS=	${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser
 
-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/databases/pear-MDB2/Makefile
==============================================================================
--- head/databases/pear-MDB2/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-MDB2/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,11 +8,6 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR database abstraction layer
 
-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/databases/pear-MDB2_Driver_mysql/Makefile
==============================================================================
--- head/databases/pear-MDB2_Driver_mysql/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-MDB2_Driver_mysql/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,14 +8,10 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR MySQL MDB2 driver
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-RUN_DEPENDS:=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+BUILD_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+RUN_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
 
+USES=		pear
 USE_PHP=	mysql
-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/databases/pear-MDB2_Driver_mysqli/Makefile
==============================================================================
--- head/databases/pear-MDB2_Driver_mysqli/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-MDB2_Driver_mysqli/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,14 +8,10 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR MySQL MDB2 driver
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-RUN_DEPENDS:=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+BUILD_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+RUN_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
 
+USES=	pear
 USE_PHP=	mysqli
-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/databases/pear-MDB2_Driver_pgsql/Makefile
==============================================================================
--- head/databases/pear-MDB2_Driver_pgsql/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-MDB2_Driver_pgsql/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,14 +8,10 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR pgsql MDB2 driver
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-RUN_DEPENDS:=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+BUILD_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+RUN_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
 
+USES=		pear
 USE_PHP=	pgsql
-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/databases/pear-MDB2_Schema/Makefile
==============================================================================
--- head/databases/pear-MDB2_Schema/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-MDB2_Schema/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,19 +8,15 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	PEAR XML based database schema manager
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2 \
+BUILD_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2 \
 		${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
 		${PEARDIR}/XML/DTD.php:${PORTSDIR}/textproc/pear-XML_DTD \
 		${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
-RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \
-		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2 \
+RUN_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2 \
 		${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
 		${PEARDIR}/XML/DTD.php:${PORTSDIR}/textproc/pear-XML_DTD \
 		${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
 
-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/databases/pear-MDB_QueryTool/Makefile
==============================================================================
--- head/databases/pear-MDB_QueryTool/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-MDB_QueryTool/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,8 +13,6 @@ BUILD_DEPENDS=	${PEARDIR}/MDB.php:${PORT
 RUN_DEPENDS:=	${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB \
 		${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log
 
-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/databases/pear-Structures_DataGrid_DataSource_Array/Makefile
==============================================================================
--- head/databases/pear-Structures_DataGrid_DataSource_Array/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-Structures_DataGrid_DataSource_Array/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -11,8 +11,6 @@ COMMENT=	DataSource driver using arrays
 BUILD_DEPENDS=	${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structures_DataGrid
 RUN_DEPENDS=	${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structures_DataGrid
 
-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/databases/pear-Structures_DataGrid_DataSource_CSV/Makefile
==============================================================================
--- head/databases/pear-Structures_DataGrid_DataSource_CSV/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-Structures_DataGrid_DataSource_CSV/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -11,8 +11,6 @@ COMMENT=	DataSource driver using CSV fil
 BUILD_DEPENDS=	${PEARDIR}/Structures/DataGrid/DataSource/Array.php:${PORTSDIR}/databases/pear-Structures_DataGrid_DataSource_Array
 RUN_DEPENDS=	${PEARDIR}/Structures/DataGrid/DataSource/Array.php:${PORTSDIR}/databases/pear-Structures_DataGrid_DataSource_Array
 
-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/databases/pear-Structures_DataGrid_DataSource_DB/Makefile
==============================================================================
--- head/databases/pear-Structures_DataGrid_DataSource_DB/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-Structures_DataGrid_DataSource_DB/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -8,13 +8,10 @@ CATEGORIES=	databases www pear
 MAINTAINER=	miwi@FreeBSD.org
 COMMENT=	DB datasource driver for pear-Structures_DataGrid
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
 RUN_DEPENDS=	${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structures_DataGrid \
 		${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
 		${PEARDIR}/Structures/DataGrid/DataSource/Array.php:${PORTSDIR}/databases/pear-Structures_DataGrid_DataSource_Array
 
-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/databases/pear-Structures_DataGrid_DataSource_DBQuery/Makefile
==============================================================================
--- head/databases/pear-Structures_DataGrid_DataSource_DBQuery/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-Structures_DataGrid_DataSource_DBQuery/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,9 +13,7 @@ BUILD_DEPENDS=	${PEARDIR}/Structures/Dat
 RUN_DEPENDS=	${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structures_DataGrid \
 		${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
 
+USES=	pear
 USE_PHP=	mysql
-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/databases/pear-Structures_DataGrid_DataSource_DBTable/Makefile
==============================================================================
--- head/databases/pear-Structures_DataGrid_DataSource_DBTable/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-Structures_DataGrid_DataSource_DBTable/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,9 +13,7 @@ BUILD_DEPENDS=	${PEARDIR}/Structures/Dat
 RUN_DEPENDS=	${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structures_DataGrid \
 		${PEARDIR}/DB/Table.php:${PORTSDIR}/databases/pear-DB_Table
 
+USES=	pear
 USE_PHP=	mysql
-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/databases/pear-Structures_DataGrid_DataSource_DataObject/Makefile
==============================================================================
--- head/databases/pear-Structures_DataGrid_DataSource_DataObject/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-Structures_DataGrid_DataSource_DataObject/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,9 +13,7 @@ BUILD_DEPENDS=	${PEARDIR}/Structures/Dat
 RUN_DEPENDS=	${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structures_DataGrid \
 		${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject
 
+USES=	pear
 USE_PHP=	mysql
-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/databases/pear-Structures_DataGrid_DataSource_MDB2/Makefile
==============================================================================
--- head/databases/pear-Structures_DataGrid_DataSource_MDB2/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-Structures_DataGrid_DataSource_MDB2/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -13,9 +13,7 @@ BUILD_DEPENDS=	${PEARDIR}/Structures/Dat
 RUN_DEPENDS=	${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structures_DataGrid \
 		${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
 
+USES=	pear
 USE_PHP=	mysql
-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/databases/pear-Structures_DataGrid_DataSource_PDO/Makefile
==============================================================================
--- head/databases/pear-Structures_DataGrid_DataSource_PDO/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-Structures_DataGrid_DataSource_PDO/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -11,8 +11,6 @@ COMMENT=	DataSource driver using PHP Dat
 BUILD_DEPENDS=	${PEARDIR}/Structures/DataGrid/DataSource/Array.php:${PORTSDIR}/databases/pear-Structures_DataGrid_DataSource_Array
 RUN_DEPENDS=	${PEARDIR}/Structures/DataGrid/DataSource/Array.php:${PORTSDIR}/databases/pear-Structures_DataGrid_DataSource_Array
 
-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/databases/pear-XML_Query2XML/Makefile
==============================================================================
--- head/databases/pear-XML_Query2XML/Makefile	Tue Sep 23 13:54:17 2014	(r369061)
+++ head/databases/pear-XML_Query2XML/Makefile	Tue Sep 23 14:14:19 2014	(r369062)
@@ -11,22 +11,13 @@ COMMENT=	PEAR class transform SQL querie
 BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
 RUN_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
 
-LATEST_LINK=	pear-XML_Query2xml
 OPTIONS_DEFINE=	PEAR_MDB2 PEAR_NET_LDAP2
 PEAR_MDB2_DESC=	Add support for pear-MDB2
 PEAR_NET_LDAP2_DESC=	Add support for pear-Net_LDAP2
 
-PEAR_AUTOINSTALL=	yes
+USES=	pear
 
-.include <bsd.port.options.mk>
+PEAR_MDB2_BUILD_DEPENDS=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+PEAR_NET_LDAP2_BUILD_DEPENDS=	${PEARDIR}/Net/LDAP2.php:${PORTSDIR}/net/pear-Net_LDAP2
 
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-BUILD_DEPENDS+=	${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_NET_LDAP2}
-BUILD_DEPENDS+=	${PEARDIR}/Net/LDAP2.php:${PORTSDIR}/net/pear-Net_LDAP2
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
 .include <bsd.port.mk>



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