077b4b53b0
Update to pear-PEAR 1.1. Update to pear-HTML_Common 1.2. Update to pear-Net_SMTP 1.2.3. Update to pear-Log 1.6.5. Update to pear-I18N 0.8.5. Update to pear 4.3.2. Adapt following ports for pear-PEAR's Makefile.common. pear-Console_Getopt, pear-Auth, pear-Auth_SASL, devel/pear-Date, net/pear-Net_Socket, pear-Mail_Mime, pear-Crypt_CBC, pear-mailparse, pear-File, pear-HTML_Select_Common, and pear-Net_Sieve PR: ports/52596, ports/52641, ports/52655, ports/52656, ports/52671, ports/52678, ports/52845 Submitted by: Thierry Thomas <thierry@pompo.net>
41 lines
1012 B
Makefile
41 lines
1012 B
Makefile
# Ports collection makefile for: pear
|
|
# Date created: Sat Nov 10, 2001
|
|
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pear
|
|
PORTVERSION= ${PHP_VERSION:C/RC.//}
|
|
CATEGORIES= devel www
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # none
|
|
EXTRACT_ONLY= # empty
|
|
|
|
MAINTAINER= thierry@pompo.net
|
|
COMMENT= A framework and distribution system for reusable PHP components
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/php-config:${PORTSDIR}/lang/php4
|
|
RUN_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
|
|
${PEARDIR}/File.php:${PORTSDIR}/sysutils/pear-File \
|
|
${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log \
|
|
${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime
|
|
|
|
NO_BUILD= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if exists(${LOCALBASE}/bin/php-config)
|
|
PHP_VERSION!= ${LOCALBASE}/bin/php-config --version
|
|
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
|
|
.else
|
|
PHP_VERSION= 4.3.2
|
|
PHP_BASE= ${LOCALBASE}
|
|
.endif
|
|
PEARDIR= ${PHP_BASE}/share/pear
|
|
|
|
do-install: # empty
|
|
${DO_NADA}
|
|
|
|
.include <bsd.port.post.mk>
|