svn commit: r305186 - head/mail/zmailer
Pietro Cerutti
gahr at FreeBSD.org
Wed Oct 3 07:36:36 UTC 2012
Author: gahr
Date: Wed Oct 3 07:36:35 2012
New Revision: 305186
URL: http://svn.freebsd.org/changeset/ports/305186
Log:
- Convert to OptionsNG
Notified by: http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG
Modified:
head/mail/zmailer/Makefile (contents, props changed)
Modified: head/mail/zmailer/Makefile
==============================================================================
--- head/mail/zmailer/Makefile Wed Oct 3 06:41:21 2012 (r305185)
+++ head/mail/zmailer/Makefile Wed Oct 3 07:36:35 2012 (r305186)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: zmailer
-# Date created: 4 January 1999
-# Whom: Alex Perel <veers at disturbed.net>
-#
+# Created by: Alex Perel <veers at disturbed.net>
# $FreeBSD$
-#
PORTNAME= zmailer
PORTVERSION= 2.99.57
@@ -16,24 +12,25 @@ COMMENT= Fully functional fast robust SM
CONFLICTS= courier-0.* postfix-1.* postfix-2.* sendmail-8.* sendmail-*-8.* smail-3.*
-OPTIONS= SSL "Enable SSL support" ON
+OPTIONS_DEFINE= SSL
+OPTIONS_DEFAULT=SSL
GNU_CONFIGURE= yes
USE_PERL5= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if ${OSVERSION} >= 900007
-EXTRA_PATCHES= ${FILESDIR}/extra-utmpx
-.endif
-
-.if defined(WITHOUT_SSL)
+.if ${PORT_OPTIONS:MSSL}
CONFIGURE_ARGS= --without-openssl
.else
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS= --with-openssl
.endif
+.if ${OSVERSION} >= 900007
+EXTRA_PATCHES= ${FILESDIR}/extra-utmpx
+.endif
+
CONFIGURE_ARGS+=--prefix=${PREFIX}/ \
--with-mailbin=${PREFIX}/sbin \
--with-mailbox=/var/mail \
@@ -84,4 +81,4 @@ post-install:
@${ECHO_CMD} 'mydomain=$$orgdomain' >> ${PREFIX}/etc/zmailer/mail.conf.sample
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list