Convert to USES=pear

Use options helpers
This commit is contained in:
Baptiste Daroussin 2014-09-23 14:14:19 +00:00
parent 71344a2048
commit 427938c0ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369062
30 changed files with 82 additions and 211 deletions

View file

@ -10,11 +10,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/RC/}
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>

View file

@ -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>

View file

@ -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>

View file

@ -13,24 +13,14 @@ BUILD_DEPENDS= pear-DB>=1.7.0:${PORTSDIR}/databases/pear-DB \
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>

View file

@ -10,25 +10,15 @@ COMMENT= Automatically build HTML_QuickForm objects using DB_DataObject
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>

View file

@ -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>

View file

@ -13,8 +13,6 @@ BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
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>

View file

@ -13,8 +13,6 @@ BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
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>

View file

@ -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>

View file

@ -11,8 +11,6 @@ COMMENT= PEAR DB compliant interface to LDAP servers
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>

View file

@ -13,8 +13,6 @@ BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
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>

View file

@ -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>

View file

@ -26,29 +26,16 @@ ODBC_DESC= Install PHP DBO driver for ODBC
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>

View file

@ -18,9 +18,7 @@ RUN_DEPENDS= ${PEARDIR}/.channels/pear.doctrine-project.org.reg:${PORTSDIR}/deve
${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>

View file

@ -11,8 +11,6 @@ COMMENT= PEAR unified API for DB access, based on user meta data
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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -13,8 +13,6 @@ BUILD_DEPENDS= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB \
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>

View file

@ -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>

View file

@ -11,8 +11,6 @@ COMMENT= DataSource driver using CSV files
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>

View file

@ -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>

View file

@ -13,9 +13,7 @@ BUILD_DEPENDS= ${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structu
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>

View file

@ -13,9 +13,7 @@ BUILD_DEPENDS= ${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structu
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>

View file

@ -13,9 +13,7 @@ BUILD_DEPENDS= ${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structu
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>

View file

@ -13,9 +13,7 @@ BUILD_DEPENDS= ${PEARDIR}/Structures/DataGrid.php:${PORTSDIR}/devel/pear-Structu
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>

View file

@ -11,8 +11,6 @@ COMMENT= DataSource driver using PHP Data Objects (PDO) and an SQL query
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>

View file

@ -11,22 +11,13 @@ COMMENT= PEAR class transform SQL queries into XML data
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>