svn commit: r369311 - in head: security/pear-Auth security/pear-Auth_HTTP security/pear-Auth_OpenID security/pear-Auth_PrefManager security/pear-Auth_SASL security/pear-Crypt_Blowfish security/pear...
Baptiste Daroussin
bapt at FreeBSD.org
Fri Sep 26 09:06:09 UTC 2014
Author: bapt
Date: Fri Sep 26 09:05:59 2014
New Revision: 369311
URL: http://svnweb.freebsd.org/changeset/ports/369311
QAT: https://qat.redports.org/buildarchive/r369311/
Log:
Convert to USES=pear
Modified:
head/security/pear-Auth/Makefile
head/security/pear-Auth_HTTP/Makefile
head/security/pear-Auth_OpenID/Makefile
head/security/pear-Auth_PrefManager/Makefile
head/security/pear-Auth_SASL/Makefile
head/security/pear-Crypt_Blowfish/Makefile
head/security/pear-Crypt_CBC/Makefile
head/security/pear-Crypt_CHAP/Makefile
head/security/pear-Crypt_DiffieHellman/Makefile
head/security/pear-Crypt_GPG/Makefile
head/security/pear-Crypt_HMAC2/Makefile
head/security/pear-Crypt_MicroID/Makefile
head/security/pear-Crypt_RC4/Makefile
head/security/pear-Crypt_RSA/Makefile
head/security/pear-Crypt_XXTEA/Makefile
head/security/pear-File_HtAccess/Makefile
head/security/pear-File_Passwd/Makefile
head/security/pear-File_SMBPasswd/Makefile
head/security/pear-HTML_Crypt/Makefile
head/security/pear-Horde_Auth/Makefile
head/security/pear-Horde_Crypt/Makefile
head/security/pear-LiveUser/Makefile
head/security/pear-LiveUser_Admin/Makefile
head/security/pear-Net_Portscan/Makefile
head/security/pear-Text_Password/Makefile
head/shells/pear-PHP_Shell/Makefile
head/sysutils/pear-Cache/Makefile
head/sysutils/pear-Cache_Lite/Makefile
head/sysutils/pear-File/Makefile
head/sysutils/pear-File_Find/Makefile
head/sysutils/pear-File_Fstab/Makefile
head/sysutils/pear-File_Gettext/Makefile
head/sysutils/pear-I18Nv2/Makefile
head/sysutils/pear-Log/Makefile
head/sysutils/pear-Translation2/Makefile
Modified: head/security/pear-Auth/Makefile
==============================================================================
--- head/security/pear-Auth/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Auth/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,8 @@ CATEGORIES= security pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class for creating an authentication system
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES= pear
-PEAR_AUTOINSTALL= yes
-LATEST_LINK= pear-Auth
OPTIONS_DEFINE= PEAR_LOG PEAR_FILE_PASSWD PEAR_NET_POP3 PEAR_DB PEAR_MDB \
PEAR_MDB2 PEAR_AUTH_RADIUS PEAR_CRYPT_CHAP PEAR_FILE_SMBPASSWD \
PEAR_SOAP PEAR_NET_VPOPMAILD
@@ -28,54 +25,19 @@ PEAR_FILE_SMBPASSWD_DESC= PEAR::File_SMB
PEAR_SOAP_DESC= PEAR::SOAP support
PEAR_NET_VPOPMAILD_DESC= PEAR::Net_Vpopmaild support
+PEAR_LOG_RUN_DEPENDS= ${PEARDIR}/Log/syslog.php:${PORTSDIR}/sysutils/pear-Log
+PEAR_FILE_PASSWD_RUN_DEPENDS= ${PEARDIR}/File/Passwd.php:${PORTSDIR}/security/pear-File_Passwd
+PEAR_CRYPT_CHAP_RUN_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:${PORTSDIR}/security/pear-Crypt_CHAP
+PEAR_NET_POP3_RUN_DEPENDS= ${PEARDIR}/Net/POP3.php:${PORTSDIR}/net/pear-Net_POP3
+PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
+PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+PEAR_AUTH_RADIUS_RUN_DEPENDS= ${PEARDIR}/Auth/RADIUS.php:${PORTSDIR}/net/pear-Auth_RADIUS
+PEAR_FILE_SMBPASSWD_RUN_DEPENDS= ${PEARDIR}/File/SMBPasswd.php:${PORTSDIR}/security/pear-File_SMBPasswd
+PEAR_SOAP_RUN_DEPENDS= ${PEARDIR}/SOAP/Base.php:${PORTSDIR}/net/pear-SOAP
+PEAR_NET_VPOPMAILD_RUN_DEPENDS= ${PEARDIR}/Net/Vpopmaild.php:${PORTSDIR}/net/pear-Net_Vpopmaild
+
post-extract:
@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/Auth.php
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPEAR_LOG}
-RUN_DEPENDS+= ${PEARDIR}/Log/syslog.php:${PORTSDIR}/sysutils/pear-Log
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_FILE_PASSWD}
-RUN_DEPENDS+= ${PEARDIR}/File/Passwd.php:${PORTSDIR}/security/pear-File_Passwd
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_CRYPT_CHAP}
-RUN_DEPENDS+= ${PEARDIR}/Crypt/CHAP.php:${PORTSDIR}/security/pear-Crypt_CHAP
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_NET_POP3}
-RUN_DEPENDS+= ${PEARDIR}/Net/POP3.php:${PORTSDIR}/net/pear-Net_POP3
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_DB}
-RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB}
-RUN_DEPENDS+= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-RUN_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_AUTH_RADIUS}
-RUN_DEPENDS+= ${PEARDIR}/Auth/RADIUS.php:${PORTSDIR}/net/pear-Auth_RADIUS
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_FILE_SMBPASSWD}
-RUN_DEPENDS+= ${PEARDIR}/File/SMBPasswd.php:${PORTSDIR}/security/pear-File_SMBPasswd
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_SOAP}
-RUN_DEPENDS+= ${PEARDIR}/SOAP/Base.php:${PORTSDIR}/net/pear-SOAP
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_NET_VPOPMAILD}
-RUN_DEPENDS+= ${PEARDIR}/Net/Vpopmaild.php:${PORTSDIR}/net/pear-Net_Vpopmaild
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>
Modified: head/security/pear-Auth_HTTP/Makefile
==============================================================================
--- head/security/pear-Auth_HTTP/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Auth_HTTP/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -7,11 +7,6 @@ CATEGORIES= security www pear
MAINTAINER= ports at FreeBSD.org
COMMENT= PEAR HTTP authentication
-BUILD_DEPENDS= ${PEARDIR}/Auth/Auth.php:${PORTSDIR}/security/pear-Auth
-RUN_DEPENDS= ${PEARDIR}/Auth/Auth.php:${PORTSDIR}/security/pear-Auth
+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/security/pear-Auth_OpenID/Makefile
==============================================================================
--- head/security/pear-Auth_OpenID/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Auth_OpenID/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -10,16 +10,13 @@ DISTNAME= php-openid-${PORTVERSION}
MAINTAINER= miwi at FreeBSD.org
COMMENT= PHP OpenID library v2 for PEAR
-RUN_DEPENDS= pear:${PORTSDIR}/devel/pear
-BUILD_DEPENDS:= ${RUN_DEPENDS}
-
CONFLICTS= php-Auth_OpenID-1.*
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= tar:bzip2
-LATEST_LINK= pear-Auth_OpenID
+
+USES= tar:bzip2 pear python:build
WRKSRC= ${WRKDIR}/php-openid-${PORTVERSION}
@@ -28,12 +25,11 @@ BCMATH_DESC= Use bcmath instead of libgm
PEAR_DB_DESC= Support SQL stores
USE_PHP= curl dom
-USE_PYTHON_BUILD= yes
-PEAR_AUTOINSTALL= yes
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-EXTRACT_SUFX= .tar.bz2
+PEAR_DB_BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBCMATH}
USE_PHP+= bcmath
@@ -41,12 +37,8 @@ USE_PHP+= bcmath
USE_PHP+= gmp
.endif
-.if ${PORT_OPTIONS:MPEAR_DB}
-BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
post-configure:
@cd ${WRKSRC}/admin && ${PYTHON_CMD} packagexml.py ${PORTVERSION} package2.xml ../CHANGELOG > ${WRKDIR}/package.xml
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/security/pear-Auth_PrefManager/Makefile
==============================================================================
--- head/security/pear-Auth_PrefManager/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Auth_PrefManager/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR preferences management class
-BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-RUN_DEPENDS:= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+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/security/pear-Auth_SASL/Makefile
==============================================================================
--- head/security/pear-Auth_SASL/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Auth_SASL/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -10,11 +10,9 @@ COMMENT= PEAR abstraction of various SAS
LICENSE= BSD3CLAUSE
-BUILD_DEPENDS= ${PEARDIR}/Auth/Auth.php:${PORTSDIR}/security/pear-Auth
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+USES= pear
-PEAR_AUTOINSTALL= yes
+BUILD_DEPENDS= ${PEARDIR}/Auth/Auth.php:${PORTSDIR}/security/pear-Auth
+RUN_DEPENDS= ${PEARDIR}/Auth/Auth.php:${PORTSDIR}/security/pear-Auth
-.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/security/pear-Crypt_Blowfish/Makefile
==============================================================================
--- head/security/pear-Crypt_Blowfish/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_Blowfish/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -9,14 +9,12 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class for blowfish encryption
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES= pear
-PEAR_AUTOINSTALL= yes
+OPTIONS_DEFINE= MCRYPT
+MCRYPT_DESC= Additional MCrypt PHP support
-.if defined(WITH_PHP_MCRYPT)
-USE_PHP=mcrypt
-.endif
+MCRYPT_USE= PHP=mcrypt
pre-fetch:
@${ECHO_CMD} ""
@@ -29,6 +27,4 @@ post-patch:
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
.endfor
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/security/pear-Crypt_CBC/Makefile
==============================================================================
--- head/security/pear-Crypt_CBC/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_CBC/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class to emulate Perl's Crypt::CBC module
-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/security/pear-Crypt_CHAP/Makefile
==============================================================================
--- head/security/pear-Crypt_CHAP/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_CHAP/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,13 +8,7 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class for generating CHAP packets
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
+USES= pear
USE_PHP= mcrypt mhash
-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/security/pear-Crypt_DiffieHellman/Makefile
==============================================================================
--- head/security/pear-Crypt_DiffieHellman/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_DiffieHellman/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,13 +8,7 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class implementing Diffie-Hellman Key Exchange protocol for PHP5
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
+USES= pear
USE_PHP= bcmath mbstring gmp
-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/security/pear-Crypt_GPG/Makefile
==============================================================================
--- head/security/pear-Crypt_GPG/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_GPG/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,12 +8,7 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= GNU Privacy Guard (GPG)
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
+USES= pear
USE_PHP= posix
-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/security/pear-Crypt_HMAC2/Makefile
==============================================================================
--- head/security/pear-Crypt_HMAC2/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_HMAC2/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= Implementation of Hashed Message Authentication Code for PHP5
-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/security/pear-Crypt_MicroID/Makefile
==============================================================================
--- head/security/pear-Crypt_MicroID/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_MicroID/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PHP MicroID library
-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/security/pear-Crypt_RC4/Makefile
==============================================================================
--- head/security/pear-Crypt_RC4/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_RC4/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR encryption class for RC4 encryption
-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/security/pear-Crypt_RSA/Makefile
==============================================================================
--- head/security/pear-Crypt_RSA/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_RSA/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -9,24 +9,13 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class allows you to use two-key strong cryptography
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES= pear
OPTIONS_DEFINE= BCMATH GMP
BCMATH_DESC= PHP BCMath extension support
GMP_DESC= PHP GMP extension support
-LATEST_LINK= pear-${PORTNAME}
+BCMATH_USE= PHP=bcmath
+GMP_USE= PHP=gmp
-PEAR_AUTOINSTALL= yes
-
-.include <bsd.port.options.mk>
-
-.for opt in BCMATH GMP
-. if ${PORT_OPTIONS:M${opt}}
-USE_PHP+= ${opt:tl}
-. endif
-.endfor
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>
Modified: head/security/pear-Crypt_XXTEA/Makefile
==============================================================================
--- head/security/pear-Crypt_XXTEA/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Crypt_XXTEA/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR XXTEA encryption algorithm
-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/security/pear-File_HtAccess/Makefile
==============================================================================
--- head/security/pear-File_HtAccess/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-File_HtAccess/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class to manipulate .htaccess files
-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/security/pear-File_Passwd/Makefile
==============================================================================
--- head/security/pear-File_Passwd/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-File_Passwd/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,20 +8,11 @@ CATEGORIES= security pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class to manipulate many kinds of password files
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+USES= pear
-LATEST_LINK= pear-File_Passwd
OPTIONS_DEFINE= PEAR_CRYPT_CHAP
PEAR_CRYPT_CHAP_DESC= PEAR::Crypt_CHAP support
-PEAR_AUTOINSTALL= yes
+PEAR_CRYPT_CHAP_RUN_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:${PORTSDIR}/security/pear-Crypt_CHAP
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MPEAR_CRYPT_CHAP}
-RUN_DEPENDS+= ${PEARDIR}/Crypt/CHAP.php:${PORTSDIR}/security/pear-Crypt_CHAP
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/security/pear-File_SMBPasswd/Makefile
==============================================================================
--- head/security/pear-File_SMBPasswd/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-File_SMBPasswd/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -11,9 +11,7 @@ COMMENT= PEAR class for managing SAMBA s
BUILD_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:${PORTSDIR}/security/pear-Crypt_CHAP
RUN_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:${PORTSDIR}/security/pear-Crypt_CHAP
+USES= pear
USE_PHP= mhash
-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/security/pear-HTML_Crypt/Makefile
==============================================================================
--- head/security/pear-HTML_Crypt/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-HTML_Crypt/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= Encrypts text which is later decoded using JavaScript on the client side
-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/security/pear-Horde_Auth/Makefile
==============================================================================
--- head/security/pear-Horde_Auth/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Horde_Auth/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -10,6 +10,4 @@ COMMENT= Horde Authentication API
USE_HORDE_RUN= Horde_Exception Horde_Util
USE_PHP= hash
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/security/pear-Horde_Crypt/Makefile
==============================================================================
--- head/security/pear-Horde_Crypt/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Horde_Crypt/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -19,11 +19,6 @@ USE_HORDE_RUN= Horde_Exception \
Horde_Util
USE_PHP= hash openssl
-.include <bsd.port.pre.mk>
+BCMATH_USE= PHP=bcmath
-.if ${PORT_OPTIONS:MBCMATH}
-USE_PHP+= bcmath
-.endif
-
-.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/security/pear-LiveUser/Makefile
==============================================================================
--- head/security/pear-LiveUser/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-LiveUser/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -13,7 +13,7 @@ RUN_DEPENDS= ${PEARDIR}/Event/Dispatcher
PORTSCOUT= skipv:0.61
-LATEST_LINK= pear-LiveUser
+USES= pear
OPTIONS_DEFINE= PEAD_DB PEAR_MDB PEAR_MDB2 PEAR_LOG PEAR_XML_TREE PEAR_CRYPT_RC4
PEAR_DB_DESC= PEAR::DB support
@@ -23,33 +23,11 @@ PEAR_LOG_DESC= PEAR::Log support
PEAR_XML_TREE_DESC= PEAR::XML_Tree support
PEAR_CRYPT_RC4_DESC= PEAR::Crypt_RC4 support
-PEAR_AUTOINSTALL=yes
+PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
+PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+PEAR_LOG_RUN_DEPENDS= ${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log
+PEAR_XML_TREE_RUN_DEPENDS= ${PEARDIR}/XML/Tree.php:${PORTSDIR}/devel/pear-XML_Tree
+PEAR_CRYPT_RC4_RUN_DEPENDS= ${PEARDIR}/Crypt/Rc4.php:${PORTSDIR}/security/pear-Crypt_RC4
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPEAR_DB}
-RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB}
-RUN_DEPENDS+= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-RUN_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_LOG}
-RUN_DEPENDS+= ${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_XML_TREE}
-RUN_DEPENDS+= ${PEARDIR}/XML/Tree.php:${PORTSDIR}/devel/pear-XML_Tree
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_CRYPT_RC4}
-RUN_DEPENDS+= ${PEARDIR}/Crypt/Rc4.php:${PORTSDIR}/security/pear-Crypt_RC4
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>
Modified: head/security/pear-LiveUser_Admin/Makefile
==============================================================================
--- head/security/pear-LiveUser_Admin/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-LiveUser_Admin/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -12,7 +12,6 @@ COMMENT= PEAR user authentication and pe
BUILD_DEPENDS= ${PEARDIR}/LiveUser.php:${PORTSDIR}/security/pear-LiveUser
RUN_DEPENDS= ${PEARDIR}/LiveUser.php:${PORTSDIR}/security/pear-LiveUser
-LATEST_LINK= pear-LiveUser_Admin
OPTIONS_DEFINE= PEAR_DB PEAR_MDB PEAR_MDB2 PEAR_LOG PEAR_XML_TREE PEAR_CRYPT_RC4
PEAR_DB_DESC= PEAR::DB support
@@ -22,33 +21,13 @@ PEAR_LOG_DESC= PEAR::Log support
PEAR_XML_TREE_DESC= PEAR::XML_Tree support
PEAR_CRYPT_RC4_DESC= PEAR::Crypt_RC4 support
-PEAR_AUTOINSTALL= yes
+USES= pear
-.include <bsd.port.options.mk>
+PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
+PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+PEAR_LOG_RUN_DEPENDS= ${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
+PEAR_XML_TREE_RUN_DEPENDS= ${PEARDIR}/XML/Tree.php:${PORTSDIR}/devel/pear-XML_Tree
+PEAR_CRYPT_RC4_RUN_DEPENDS= ${PEARDIR}/Crypt/Rc4.php:${PORTSDIR}/security/pear-Crypt_RC4
-.if ${PORT_OPTIONS:MPEAR_DB}
-RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB}
-RUN_DEPENDS+= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-RUN_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_LOG}
-RUN_DEPENDS+= ${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_XML_TREE}
-RUN_DEPENDS+= ${PEARDIR}/XML/Tree.php:${PORTSDIR}/devel/pear-XML_Tree
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_CRYPT_RC4}
-RUN_DEPENDS+= ${PEARDIR}/Crypt/Rc4.php:${PORTSDIR}/security/pear-Crypt_RC4
-.endif
-
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>
Modified: head/security/pear-Net_Portscan/Makefile
==============================================================================
--- head/security/pear-Net_Portscan/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Net_Portscan/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,6 @@ CATEGORIES= security pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= Provides an API for scanning ports
-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/security/pear-Text_Password/Makefile
==============================================================================
--- head/security/pear-Text_Password/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/security/pear-Text_Password/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -9,9 +9,7 @@ MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR random password creator
USE_PHP= yes
-PEAR_AUTOINSTALL= yes
+USES= pear
WRKSRC= ${WRKDIR}/Text_Password-${PORTVERSION}
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/shells/pear-PHP_Shell/Makefile
==============================================================================
--- head/shells/pear-PHP_Shell/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/shells/pear-PHP_Shell/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -10,11 +10,6 @@ COMMENT= Interactive PHP Shell
USE_PHP= pcre tokenizer readline
-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/sysutils/pear-Cache/Makefile
==============================================================================
--- head/sysutils/pear-Cache/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-Cache/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -12,8 +12,6 @@ COMMENT= PEAR framework for caching of a
BUILD_DEPENDS= ${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request
RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request
-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/sysutils/pear-Cache_Lite/Makefile
==============================================================================
--- head/sysutils/pear-Cache_Lite/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-Cache_Lite/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -9,11 +9,6 @@ CATEGORIES= sysutils www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR fast and safe little cache system
-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/sysutils/pear-File/Makefile
==============================================================================
--- head/sysutils/pear-File/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-File/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -9,12 +9,7 @@ CATEGORIES= sysutils www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR common file and directory routines
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
+USES= pear
USE_PHP= pcre
-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/sysutils/pear-File_Find/Makefile
==============================================================================
--- head/sysutils/pear-File_Find/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-File_Find/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -10,11 +10,6 @@ COMMENT= PEAR class that facilitates the
LICENSE= PHP301
-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/sysutils/pear-File_Fstab/Makefile
==============================================================================
--- head/sysutils/pear-File_Fstab/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-File_Fstab/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,18 +8,11 @@ CATEGORIES= sysutils devel pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class to read and write fstab files
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
-#PEAR_CATSRC= yes
-
-PEAR_AUTOINSTALL= yes
+USES= pear
post-extract:
.for file in ${FILES}
@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/File/${file}
.endfor
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/sysutils/pear-File_Gettext/Makefile
==============================================================================
--- head/sysutils/pear-File_Gettext/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-File_Gettext/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,13 +8,7 @@ CATEGORIES= sysutils devel pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR GNU Gettext file parser
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS:= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
+USES= pear
USE_PHP= yes
-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/sysutils/pear-I18Nv2/Makefile
==============================================================================
--- head/sysutils/pear-I18Nv2/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-I18Nv2/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,12 +8,7 @@ CATEGORIES= sysutils devel pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR Internationalization
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
+USES= pear
USE_PHP= iconv
-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/sysutils/pear-Log/Makefile
==============================================================================
--- head/sysutils/pear-Log/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-Log/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -8,11 +8,8 @@ CATEGORIES= sysutils www pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR logging utilities
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
+USES= pear
USE_PHP= yes
-PEAR_AUTOINSTALL= yes
LATEST_LINK= pear-Log
OPTIONS_DEFINE= PEAR_DB PEAR_MDB2 PEAR_MAIL PEAR_SQLITE
@@ -21,23 +18,9 @@ PEAR_MDB2_DESC= PEAR::MDB2 support
PEAR_MAIL_DESC= PEAR::Mail support
PHP_SQLITE_DESC= PHP sqlite support (php5 only)
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPEAR_DB}
-BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-BUILD_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MAIL}
-BUILD_DEPENDS+= ${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail
-.endif
-
-.if ${PORT_OPTIONS:MPHP_SQLITE}
-USE_PHP+= sqlite
-.endif
+PEAR_DB_BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+PEAR_MDB2_BUILD_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+PEAR_MAIL_BUILD_DEPENDS= ${PEARDIR}/Mail.php:${PORTSDIR}/mail/pear-Mail
+PHP_SQLITE_USE= PHP=sqlite
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>
Modified: head/sysutils/pear-Translation2/Makefile
==============================================================================
--- head/sysutils/pear-Translation2/Makefile Fri Sep 26 09:05:15 2014 (r369310)
+++ head/sysutils/pear-Translation2/Makefile Fri Sep 26 09:05:59 2014 (r369311)
@@ -9,13 +9,9 @@ CATEGORIES= sysutils devel pear
MAINTAINER= miwi at FreeBSD.org
COMMENT= PEAR class for multilingual applications management
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-
+USES= pear
USE_PHP= yes
-PEAR_AUTOINSTALL= yes
-LATEST_LINK= pear-Translation2
OPTIONS_DEFINE= PEAR_CACHE_LITE PEAR_DB PEAR_DB_DATAOBJECT PEAR_MDB PEAR_MDB2 \
PEAR_FILE_GETTEXT PEAR_I18NV2 PEAR_XML_SERIALIZER
PEAR_CACHE_LITE_DESC= PEAR::Cache_Lite support
@@ -27,39 +23,13 @@ PEAR_FILE_GETTEXT_DESC= PEAR::File_Gette
PEAR_I18NV2_DESC= PEAR::I18Nv2 support
PEAR_XML_SERIALIZER_DESC= PEAR::XML_Serializer support
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPEAR_CACHE_LITE}
-RUN_DEPENDS+= ${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_DB}
-RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_DB_DATAOBJECT}
-RUN_DEPENDS+= ${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB}
-RUN_DEPENDS+= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_MDB2}
-RUN_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_FILE_GETTEXT}
-RUN_DEPENDS+= ${PEARDIR}/File/Gettext.php:${PORTSDIR}/sysutils/pear-File_Gettext
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_I18NV2}
-RUN_DEPENDS+= ${PEARDIR}/File/I18Nv2.php:${PORTSDIR}/sysutils/pear-I18Nv2
-.endif
-
-.if ${PORT_OPTIONS:MPEAR_XML_SERIALIZER}
-RUN_DEPENDS+= ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
-.endif
+PEAR_CACHE_LITE_RUN_DEPENDS= ${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite
+PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+PEAR_DB_DATAOBJECT_RUN_DEPENDS= ${PEARDIR}/DB/DataObject.php:${PORTSDIR}/databases/pear-DB_DataObject
+PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB
+PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+PEAR_FILE_GETTEXT_RUN_DEPENDS= ${PEARDIR}/File/Gettext.php:${PORTSDIR}/sysutils/pear-File_Gettext
+PEAR_I18NV2_RUN_DEPENDS= ${PEARDIR}/File/I18Nv2.php:${PORTSDIR}/sysutils/pear-I18Nv2
+PEAR_XML_SERIALIZER_RUN_DEPENDS= ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
-.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list