# Ports collection makefile for:  pear-Net_SMTP
# Date created:			  26 November 2002
# Whom:				  Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD: ports/net/pear-Net_SMTP/Makefile,v 1.4 2003/11/12 23:46:17 edwin Exp $
#

PORTNAME=	Net_SMTP
PORTVERSION=	1.2.3
CATEGORIES=	net mail www 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
# The Auth_SASL package is no longer absolutely required, but it will be used if it is available.
RUN_DEPENDS=	${BUILD_DEPENDS}

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"

MANIFEST=	Net/SMTP.php

do-install:
	@${CP} -p ${WRKSRC}/SMTP.php ${PEARDIR}/Net
	@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${MANIFEST}

.include <bsd.port.post.mk>
