diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-11-27 13:01:16 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-11-27 13:01:16 +0000 |
commit | 2d5e0a6f7b4c1654f787d0eee1d265288bedbc38 (patch) | |
tree | 34ffce2e1a9b781b8b339f1e011cbb617dd7d19b /net | |
parent | 54df23c26deb791cdeb0a68cdb00acf8a6057a5e (diff) | |
download | pkgsrc-2d5e0a6f7b4c1654f787d0eee1d265288bedbc38.tar.gz |
Add pear-Net_SMTP package 1.2.6. This is for PHP5 only, PHP4 has this
bundled.
Diffstat (limited to 'net')
-rw-r--r-- | net/pear-Net_SMTP/DESCR | 1 | ||||
-rw-r--r-- | net/pear-Net_SMTP/Makefile | 16 | ||||
-rw-r--r-- | net/pear-Net_SMTP/PLIST | 1 | ||||
-rw-r--r-- | net/pear-Net_SMTP/buildlink3.mk | 25 | ||||
-rw-r--r-- | net/pear-Net_SMTP/builtin.mk | 13 | ||||
-rw-r--r-- | net/pear-Net_SMTP/distinfo | 4 |
6 files changed, 60 insertions, 0 deletions
diff --git a/net/pear-Net_SMTP/DESCR b/net/pear-Net_SMTP/DESCR new file mode 100644 index 00000000000..562829aa51a --- /dev/null +++ b/net/pear-Net_SMTP/DESCR @@ -0,0 +1 @@ +Provides an implementation of the SMTP protocol diff --git a/net/pear-Net_SMTP/Makefile b/net/pear-Net_SMTP/Makefile new file mode 100644 index 00000000000..dc7503c7a59 --- /dev/null +++ b/net/pear-Net_SMTP/Makefile @@ -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 +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 --git a/net/pear-Net_SMTP/PLIST b/net/pear-Net_SMTP/PLIST new file mode 100644 index 00000000000..2c23d9ed1f1 --- /dev/null +++ b/net/pear-Net_SMTP/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/27 13:01:16 jdolecek Exp $ diff --git a/net/pear-Net_SMTP/buildlink3.mk b/net/pear-Net_SMTP/buildlink3.mk new file mode 100644 index 00000000000..85bc0d766c1 --- /dev/null +++ b/net/pear-Net_SMTP/buildlink3.mk @@ -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 --git a/net/pear-Net_SMTP/builtin.mk b/net/pear-Net_SMTP/builtin.mk new file mode 100644 index 00000000000..918d6b0de60 --- /dev/null +++ b/net/pear-Net_SMTP/builtin.mk @@ -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 --git a/net/pear-Net_SMTP/distinfo b/net/pear-Net_SMTP/distinfo new file mode 100644 index 00000000000..cc340997f94 --- /dev/null +++ b/net/pear-Net_SMTP/distinfo @@ -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 |