pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/pear-Net_SMTP Add pear-Net_SMTP package 1.2.6. Thi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e564ed6ba9f
branches:  trunk
changeset: 484400:2e564ed6ba9f
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Nov 27 13:01:16 2004 +0000

description:
Add pear-Net_SMTP package 1.2.6. This is for PHP5 only, PHP4 has this
bundled.

diffstat:

 net/pear-Net_SMTP/DESCR         |   1 +
 net/pear-Net_SMTP/Makefile      |  16 ++++++++++++++++
 net/pear-Net_SMTP/PLIST         |   1 +
 net/pear-Net_SMTP/buildlink3.mk |  25 +++++++++++++++++++++++++
 net/pear-Net_SMTP/builtin.mk    |  13 +++++++++++++
 net/pear-Net_SMTP/distinfo      |   4 ++++
 6 files changed, 60 insertions(+), 0 deletions(-)

diffs (84 lines):

diff -r c597d065e998 -r 2e564ed6ba9f net/pear-Net_SMTP/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_SMTP/DESCR   Sat Nov 27 13:01:16 2004 +0000
@@ -0,0 +1,1 @@
+Provides an implementation of the SMTP protocol
diff -r c597d065e998 -r 2e564ed6ba9f net/pear-Net_SMTP/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_SMTP/Makefile        Sat Nov 27 13:01:16 2004 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/27 13:01:16 jdolecek Exp $
+
+DISTNAME=      Net_SMTP-1.2.6
+CATEGORIES+=   net mail
+
+MAINTAINER=    jdolecek%NetBSD.org@localhost
+COMMENT=       PHP classes to provide SMTP Interface
+
+.include "../../lang/php/pear.mk"
+
+# used to be bundled before PHP 5.x
+.if ${_PHP_VERSION} < 5
+PKG_SKIP_REASON=       "${PKGNAME} is part of PHP${_PHP_VERSION}"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r c597d065e998 -r 2e564ed6ba9f net/pear-Net_SMTP/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_SMTP/PLIST   Sat Nov 27 13:01:16 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/27 13:01:16 jdolecek Exp $
diff -r c597d065e998 -r 2e564ed6ba9f net/pear-Net_SMTP/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_SMTP/buildlink3.mk   Sat Nov 27 13:01:16 2004 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/11/27 13:01:16 jdolecek Exp $
+#
+# Net_SMTP 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-netsmtp
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npear-netsmtp}
+BUILDLINK_PACKAGES+=   pear-netsmtp
+
+.if !empty(NETSOCKET_BUILDLINK3_MK:M+)
+
+BUILDLINK_DEPENDS.pear-netsmtp+=       pear-Net_SMTP>=1.2.6
+BUILDLINK_PKGSRCDIR.pear-netsmtp?=     ../../net/pear-Net_SMTP
+BUILDLINK_DEPMETHOD.pear-netsmtp?=     full
+
+.endif # NETSOCKET_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r c597d065e998 -r 2e564ed6ba9f net/pear-Net_SMTP/builtin.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_SMTP/builtin.mk      Sat Nov 27 13:01:16 2004 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: builtin.mk,v 1.1.1.1 2004/11/27 13:01:16 jdolecek Exp $
+
+.include "../../lang/php/phpversion.mk"
+
+.if ${_PHP_VERSION} < 5
+IS_BUILTIN.pear-netsmtp=       yes
+.else
+IS_BUILTIN.pear-netsmtp=       no
+.endif
+
+USE_BUILTIN.pear-netsmtp?=     ${IS_BUILTIN.pear-netsmtp}
+
+BUILDLINK_VARS+=        IS_BUILTIN.netsmtp
diff -r c597d065e998 -r 2e564ed6ba9f net/pear-Net_SMTP/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/pear-Net_SMTP/distinfo        Sat Nov 27 13:01:16 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/27 13:01:16 jdolecek Exp $
+
+SHA1 (pear/Net_SMTP-1.2.6.tgz) = 9dbad39e13c1ce1e3bcd48086726235f33a16229
+Size (pear/Net_SMTP-1.2.6.tgz) = 9106 bytes



Home | Main Index | Thread Index | Old Index