Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 22:52:32 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340867 - head/mail/dbmail
Message-ID:  <201401232252.s0NMqWw5070460@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Thu Jan 23 22:52:32 2014
New Revision: 340867
URL: http://svnweb.freebsd.org/changeset/ports/340867
QAT: https://qat.redports.org/buildarchive/r340867/

Log:
  - Update from 3.1.9 to 3.1.10
  
  while here
  - Convert all "if's" in options helpers
  
  PR:		ports/186047
  Submitted by:	Alan Hicks <ahicks@p-o.co.uk> (maintainer)

Modified:
  head/mail/dbmail/Makefile
  head/mail/dbmail/distinfo

Modified: head/mail/dbmail/Makefile
==============================================================================
--- head/mail/dbmail/Makefile	Thu Jan 23 22:40:23 2014	(r340866)
+++ head/mail/dbmail/Makefile	Thu Jan 23 22:52:32 2014	(r340867)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	dbmail
-PORTVERSION=	3.1.9
+PORTVERSION=	3.1.10
 CATEGORIES=	mail
 MASTER_SITES=	http://www.dbmail.org/download/3.1/ \
 		http://git.dbmail.eu/paul/dbmail/snapshot/
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libgmime-2.6.so:${PORTSDIR}
 		libmhash.so:${PORTSDIR}/security/mhash \
 		libevent-2.0.so:${PORTSDIR}/devel/libevent2
 
-BUILD_DEPENDS+=	asciidoc:${PORTSDIR}/textproc/asciidoc \
+BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
 		xmlto:${PORTSDIR}/textproc/xmlto \
 		${LOCALBASE}/share/sgml/docbook/4.5/docbookx.dtd:${PORTSDIR}/textproc/docbook-450
 
@@ -27,6 +27,8 @@ OPTIONS_DEFINE=	DOCS LDAP SIEVE THREADS
 OPTIONS_DEFAULT=	THREADS
 SIEVE_DESC=	Build with support for Sieve mail sorting language
 
+OPTIONS_SUB=	yes
+
 USE_AUTOTOOLS=	libtool autoheader autoconf
 USE_LDCONFIG=	${PREFIX}/lib/dbmail
 USE_RC_SUBR=	dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved
@@ -43,7 +45,13 @@ MAKE_ARGS+=	mandir=${MANPREFIX}/man
 
 DOCS=		AUTHORS BUGS INSTALL THANKS UPGRADING
 
-.include <bsd.port.options.mk>
+SIEVE_CONFIGURE_WITH=	sieve
+SIEVE_LIB_DEPENDS=	libsieve.so:${PORTSDIR}/mail/libsieve
+
+LDAP_CONFIGURE_WITH=	ldap
+LDAP_USE=		OPENLDAP=yes
+
+THREADS_EXTRA_PATCHES=	${FILESDIR}/extra-patch-acinclude.m4
 
 DBMAIL_USER?=	mailnull
 DBMAIL_GROUP?=	mail
@@ -53,28 +61,6 @@ PLIST_SUB+=	DBMAIL_USER="${DBMAIL_USER}"
 		DBMAIL_GROUP="${DBMAIL_GROUP}" \
 		PIDDIR="${PIDDIR}"
 
-.if ${PORT_OPTIONS:MSIEVE}
-CONFIGURE_ARGS+=--with-sieve=${LOCALBASE}
-LIB_DEPENDS+=	libsieve.so:${PORTSDIR}/mail/libsieve
-PLIST_SUB+=	SIEVE=""
-.else
-CONFIGURE_ARGS+=--without-sieve
-PLIST_SUB+=	SIEVE="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MLDAP}
-CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
-USE_OPENLDAP=	yes
-PLIST_SUB+=	LDAP=""
-.else
-CONFIGURE_ARGS+=--without-ldap
-PLIST_SUB+=	LDAP="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MTHREADS}
-EXTRA_PATCHES=	${FILESDIR}/extra-patch-acinclude.m4
-.endif
-
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${STAGEDIR}${PREFIX}/etc/dbmail.conf-dist
 	@${MKDIR} ${STAGEDIR}${DATADIR}
@@ -86,6 +72,6 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${PIDDIR}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/mail/dbmail/distinfo
==============================================================================
--- head/mail/dbmail/distinfo	Thu Jan 23 22:40:23 2014	(r340866)
+++ head/mail/dbmail/distinfo	Thu Jan 23 22:52:32 2014	(r340867)
@@ -1,2 +1,2 @@
-SHA256 (dbmail-3.1.9.tar.gz) = 665f42700654aae767d24647dde284a4df7aec1702a00d1122d55b3f9f4318dd
-SIZE (dbmail-3.1.9.tar.gz) = 2397293
+SHA256 (dbmail-3.1.10.tar.gz) = 7a5b82eb8feb45faf215bebee7fb648092e5eaa71b2d5acd5826ca36d8e63f4f
+SIZE (dbmail-3.1.10.tar.gz) = 2397512



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401232252.s0NMqWw5070460>