svn commit: r314363 - head/net/pear-Net_SMTP

Wen Heping wen at FreeBSD.org
Sat Mar 16 15:24:40 UTC 2013


Author: wen
Date: Sat Mar 16 15:24:39 2013
New Revision: 314363
URL: http://svnweb.freebsd.org/changeset/ports/314363

Log:
  - Convert to PEAR_AUTOINSTALL
  - Convert to optionsNG
  - Trim Makefile headers
  - Pass maintainership to miwi@

Modified:
  head/net/pear-Net_SMTP/Makefile

Modified: head/net/pear-Net_SMTP/Makefile
==============================================================================
--- head/net/pear-Net_SMTP/Makefile	Sat Mar 16 15:24:10 2013	(r314362)
+++ head/net/pear-Net_SMTP/Makefile	Sat Mar 16 15:24:39 2013	(r314363)
@@ -1,34 +1,27 @@
-# Ports collection makefile for:  pear-Net_SMTP
-# Date created:			  26 November 2002
-# Whom:				  Thierry Thomas (<thierry at pompo.net>)
-#
+# Created by: Thierry Thomas (<thierry at pompo.net>)
 # $FreeBSD$
-#
 
 PORTNAME=	Net_SMTP
 PORTVERSION=	1.6.1
 CATEGORIES=	net mail www pear
 
-MAINTAINER=	wen at FreeBSD.org
+MAINTAINER=	miwi at FreeBSD.org
 COMMENT=	PEAR class that provides an implementation of the SMTP protocol
 
 BUILD_DEPENDS=	${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-CATEGORY=	Net
-FILES=		SMTP.php
-DOCS=		guide.txt
-TESTS=		auth.phpt basic.phpt config.php.dist quotedata.phpt
-EXAMPLES=	basic.php
-
 LATEST_LINK=	pear-Net_SMTP
-OPTIONS=	PEAR_AUTH_SASL "PEAR::Auth_SASL support" off
+OPTIONS_DEiFINE=	PEAR_AUTH_SASL
+PEAR_AUTH_SASL_DESC=	PEAR::Auth_SASL support
+
+PEAR_AUTOINSTALL=	yes
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITH_PEAR_AUTH_SASL)
+.if ${PORT_OPTIONS:MPEAR_AUTH_SASL}
 BUILD_DEPENDS+=	${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL
 .endif
 
 .include "${PORTSDIR}/devel/pear/bsd.pear.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list