summaryrefslogtreecommitdiff
path: root/net/pear-Net_SMTP
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-06-07 23:00:46 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-06-07 23:00:46 +0000
commit077b4b53b0d0814df73a850dfa8625101c7b8404 (patch)
tree1635d75a5b1ebd11d644c2d01607580c9063de35 /net/pear-Net_SMTP
parentDisplay the new pkg-message after port build. (diff)
Update to pear-Archive_Tar 1.1.
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>
Notes
Notes: svn path=/head/; revision=82484
Diffstat (limited to 'net/pear-Net_SMTP')
-rw-r--r--net/pear-Net_SMTP/Makefile28
-rw-r--r--net/pear-Net_SMTP/distinfo2
-rw-r--r--net/pear-Net_SMTP/pkg-descr2
-rw-r--r--net/pear-Net_SMTP/pkg-plist4
4 files changed, 9 insertions, 27 deletions
diff --git a/net/pear-Net_SMTP/Makefile b/net/pear-Net_SMTP/Makefile
index 027541d9e1e5..c6aa7ddcac94 100644
--- a/net/pear-Net_SMTP/Makefile
+++ b/net/pear-Net_SMTP/Makefile
@@ -6,42 +6,24 @@
#
PORTNAME= Net_SMTP
-PORTVERSION= 1.1.2
+PORTVERSION= 1.2.3
CATEGORIES= net mail www
-MASTER_SITES= http://pear.php.net/get/
-PKGNAMEPREFIX= pear-
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR class that provides an implementation of the SMTP protocol
-BUILD_DEPENDS= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL
-# ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
+BUILD_DEPENDS= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL \
+ ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
+# The Auth_SASL package is no longer absolutely required, but it will be used if it is available.
RUN_DEPENDS= ${BUILD_DEPENDS}
-NO_BUILD= yes
-
.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
-.if exists(${LOCALBASE}/bin/php-config)
-PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
-.else
-PHP_BASE= ${LOCALBASE}
-.endif
-PEAR= ${LOCALBASE}/bin/pear
-LPHP_LIB= lib/php
-PEARDIR= ${LOCALBASE}/${LPHP_LIB}
-PLIST_SUB= PEARDIR=${LPHP_LIB}
MANIFEST= Net/SMTP.php
do-install:
- @${MV} ${PEARDIR}/${MANIFEST} ${PEARDIR}/${MANIFEST}.dist
@${CP} -p ${WRKSRC}/SMTP.php ${PEARDIR}/Net
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${MANIFEST}
-post-install:
-# Register an upgraded package
- @${PEAR} upgrade -r -f ${WRKDIR}/package.xml
-
.include <bsd.port.post.mk>
diff --git a/net/pear-Net_SMTP/distinfo b/net/pear-Net_SMTP/distinfo
index 9b2b061eafc9..d75df09b3dc7 100644
--- a/net/pear-Net_SMTP/distinfo
+++ b/net/pear-Net_SMTP/distinfo
@@ -1 +1 @@
-MD5 (PEAR/Net_SMTP-1.1.2.tgz) = af7f864596ed36cc17023991aeb96c69
+MD5 (PEAR/Net_SMTP-1.2.3.tgz) = 3c1ee9556bec8184f26bf7b64ce0b80e
diff --git a/net/pear-Net_SMTP/pkg-descr b/net/pear-Net_SMTP/pkg-descr
index ace9ff315210..b3748a3dfb4e 100644
--- a/net/pear-Net_SMTP/pkg-descr
+++ b/net/pear-Net_SMTP/pkg-descr
@@ -1,4 +1,4 @@
This PEAR class provides an implementation of the SMTP protocol using PEAR's
Net_Socket:: class.
-WWW: http://pear.php.net/package-info.php?pacid=90
+WWW: http://pear.php.net/package-info.php?package=Net_SMTP
diff --git a/net/pear-Net_SMTP/pkg-plist b/net/pear-Net_SMTP/pkg-plist
index 87398a599255..4d01f94a59c7 100644
--- a/net/pear-Net_SMTP/pkg-plist
+++ b/net/pear-Net_SMTP/pkg-plist
@@ -1,3 +1,3 @@
-@exec mv %D/lib/php/Net/SMTP.php %D/lib/php/Net/SMTP.php.dist
%%PEARDIR%%/Net/SMTP.php
-@unexec mv %D/lib/php/Net/SMTP.php.dist %D/lib/php/Net/SMTP.php || true
+%%PKGREGDIR%%/package.xml
+@dirrm %%PKGREGDIR%%