aboutsummaryrefslogtreecommitdiff
path: root/net/pear-Net_Socket
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_Socket
parent95cfdcc8b6a9c07b40477662aa446e3bdd99525b (diff)
downloadports-077b4b53b0d0814df73a850dfa8625101c7b8404.tar.gz
ports-077b4b53b0d0814df73a850dfa8625101c7b8404.zip
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_Socket')
-rw-r--r--net/pear-Net_Socket/Makefile22
-rw-r--r--net/pear-Net_Socket/pkg-descr2
-rw-r--r--net/pear-Net_Socket/pkg-plist3
3 files changed, 10 insertions, 17 deletions
diff --git a/net/pear-Net_Socket/Makefile b/net/pear-Net_Socket/Makefile
index f9456bbc492a..b9ee878428e4 100644
--- a/net/pear-Net_Socket/Makefile
+++ b/net/pear-Net_Socket/Makefile
@@ -7,31 +7,21 @@
PORTNAME= Net_Socket
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= net www
-MASTER_SITES= http://pear.php.net/get/
-PKGNAMEPREFIX= pear-
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR Network Socket Interface
-BUILD_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
-RUN_DEPENDS= ${PEARDIR}.DIST_PHP:${PORTSDIR}/devel/pear-install
-
-NO_BUILD= yes
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/bin/php-config)
-PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
-.endif
-LPHP_LIB= lib/php
-PEARDIR= ${PHP_BASE}/${LPHP_LIB}
-PLIST_SUB= PEARDIR=${LPHP_LIB}
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
do-install:
+ @${MKDIR} ${PEARDIR}/Net
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}/Net
- @${CHOWN} -R root:wheel ${PEARDIR}/Net/Socket.php
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Net
.include <bsd.port.post.mk>
diff --git a/net/pear-Net_Socket/pkg-descr b/net/pear-Net_Socket/pkg-descr
index 9bca37de98af..d00622aa5be2 100644
--- a/net/pear-Net_Socket/pkg-descr
+++ b/net/pear-Net_Socket/pkg-descr
@@ -4,4 +4,4 @@ It provides blocking and non-blocking operation, with different reading
and writing modes (byte-wise, block-wise, line-wise and special formats
like network byte-order ip addresses).
-WWW: http://pear.php.net/manual/en/core.networking.net_socket.php
+WWW: http://pear.php.net/package-info.php?package=Net_Socket
diff --git a/net/pear-Net_Socket/pkg-plist b/net/pear-Net_Socket/pkg-plist
index 2426b9ad72eb..da686f64a0e6 100644
--- a/net/pear-Net_Socket/pkg-plist
+++ b/net/pear-Net_Socket/pkg-plist
@@ -1 +1,4 @@
%%PEARDIR%%/Net/Socket.php
+%%PKGREGDIR%%/package.xml
+@dirrm %%PKGREGDIR%%
+@unexec rmdir %D/share/pear/Net 2> /dev/null || true