summaryrefslogtreecommitdiff
path: root/net/pear-Net_Socket
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2005-04-11 20:08:43 +0000
committerjdolecek <jdolecek>2005-04-11 20:08:43 +0000
commit31a8761a37401bbab4d7e680153cd2a6faf107a2 (patch)
tree53d3298ddc5ed478341505f4863cbdcab4a739c1 /net/pear-Net_Socket
parent5e8371c4f87aee0f6d7583e76a7982c2492c4d3c (diff)
downloadpkgsrc-31a8761a37401bbab4d7e680153cd2a6faf107a2.tar.gz
Net_Socket and Net_SMTP were unbundled from PHP4 in 4.3.11, g/c the related
conditionals and buildlink logic, and convert to standard DEPENDS
Diffstat (limited to 'net/pear-Net_Socket')
-rw-r--r--net/pear-Net_Socket/Makefile9
-rw-r--r--net/pear-Net_Socket/buildlink3.mk25
-rw-r--r--net/pear-Net_Socket/builtin.mk18
3 files changed, 2 insertions, 50 deletions
diff --git a/net/pear-Net_Socket/Makefile b/net/pear-Net_Socket/Makefile
index 6e76a887f0f..0f3df37b19a 100644
--- a/net/pear-Net_Socket/Makefile
+++ b/net/pear-Net_Socket/Makefile
@@ -1,16 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2004/11/28 10:21:48 jdolecek Exp $
+# $NetBSD: Makefile,v 1.4 2005/04/11 20:08:43 jdolecek Exp $
DISTNAME= Net_Socket-1.0.2
+PKGREVISION= 1
CATEGORIES+= net
MAINTAINER= jdolecek@NetBSD.org
COMMENT= PHP classes to provide Network Socket Interface
.include "../../lang/php/pear.mk"
-
-# used to be bundled before PHP 5.x
-.if ${_PHP_VERSION} < 5
-PKG_SKIP_REASON= "${PKGBASE} is part of PHP${_PHP_VERSION}"
-.endif
-
.include "../../mk/bsd.pkg.mk"
diff --git a/net/pear-Net_Socket/buildlink3.mk b/net/pear-Net_Socket/buildlink3.mk
deleted file mode 100644
index 3076ad706d5..00000000000
--- a/net/pear-Net_Socket/buildlink3.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.2 2004/11/02 21:52:13 kristerw Exp $
-#
-# Net_Socket was bundled with PHP 4.x, but has been pushed to pear
-# in PHP 5.x. If we build for PHP4, use the bundled version, otherwise
-# force dependance and install of this package.
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-NETSOCKET_BUILDLINK3_MK:= ${NETSOCKET_BUILDLINK3_MK}+
-
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= pear-netsocket
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npear-netsocket}
-BUILDLINK_PACKAGES+= pear-netsocket
-
-.if !empty(NETSOCKET_BUILDLINK3_MK:M+)
-
-BUILDLINK_DEPENDS.pear-netsocket+= pear-Net_Socket>=1.0.1
-BUILDLINK_PKGSRCDIR.pear-netsocket?= ../../net/pear-Net_Socket
-BUILDLINK_DEPMETHOD.pear-netsocket?= full
-
-.endif # NETSOCKET_BUILDLINK3_MK
-
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/net/pear-Net_Socket/builtin.mk b/net/pear-Net_Socket/builtin.mk
deleted file mode 100644
index 3c95452f238..00000000000
--- a/net/pear-Net_Socket/builtin.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD: builtin.mk,v 1.3 2004/11/27 14:16:39 jdolecek Exp $
-
-.include "../../lang/php/phpversion.mk"
-
-.if ${_PHP_VERSION} <= 4
-IS_BUILTIN.pear-netsocket= yes
-. if defined(PEAR_NETSOCKET_VERSION_REQD) \
- && !empty(PEAR_NETSOCKET_VERSION_REQD:M1.0.2)
-# need Net_Socket 1.0.2
-DEPENDS+= php>=4.3.9nb2:../../www/php4
-. endif
-.else
-IS_BUILTIN.pear-netsocket= no
-.endif
-
-USE_BUILTIN.pear-netsocket?= ${IS_BUILTIN.pear-netsocket}
-
-BUILDLINK_VARS+= IS_BUILTIN.pear-netsocket