aboutsummaryrefslogtreecommitdiff
path: root/mail/dbmail
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-10-17 17:54:34 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-10-17 17:54:34 +0000
commit8ce98bea6d35ed6415cc8974693f6706fcd7ea07 (patch)
tree9e923180dea7742bbd245b60a806b74a45072ec5 /mail/dbmail
parentd43121ae1a1b3ceeb579ea310524792cf30408bd (diff)
downloadports-8ce98bea6d35ed6415cc8974693f6706fcd7ea07.tar.gz
ports-8ce98bea6d35ed6415cc8974693f6706fcd7ea07.zip
Notes
Diffstat (limited to 'mail/dbmail')
-rw-r--r--mail/dbmail/Makefile27
-rw-r--r--mail/dbmail/pkg-descr2
2 files changed, 13 insertions, 16 deletions
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile
index cdbf724654ce..83062f122cd6 100644
--- a/mail/dbmail/Makefile
+++ b/mail/dbmail/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dbmail
-# Date created: 07/26/2003
-# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
-#
+# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
-#
PORTNAME= dbmail
PORTVERSION= 3.0.2
@@ -16,23 +12,24 @@ COMMENT= An SQL database-based mail system (POP3 and IMAP)
LICENSE= GPLv2
-.if !defined(NOPORTDOCS)
-BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \
- xmlto:${PORTSDIR}/textproc/xmlto
-.endif
LIB_DEPENDS= gmime-2.4:${PORTSDIR}/mail/gmime24 \
zdb:${PORTSDIR}/databases/libzdb \
mhash:${PORTSDIR}/security/mhash \
event:${PORTSDIR}/devel/libevent
-CONFLICTS= dbmail-*-2.0.* dbmail-2.*
+CONFLICTS= dbmail-2.*
OPTIONS_DEFINE= LDAP SIEVE THREADS
OPTIONS_DEFAULT= THREADS
-SIEVE_DESC= "Build with support for Sieve mail sorting language"
+SIEVE_DESC= Build with support for Sieve mail sorting language
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
+BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \
+ xmlto:${PORTSDIR}/textproc/xmlto
+.endif
+
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_LDCONFIG= ${PREFIX}/lib/dbmail
@@ -46,7 +43,7 @@ CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc
MAKE_ARGS+= mandir=${MANPREFIX}/man
PORTDOCS= AUTHORS BUGS INSTALL THANKS UPGRADING
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
MAN1= dbmail-deliver.1 dbmail.1
MAN5= dbmail.conf.5
MAN8= dbmail-export.8 dbmail-httpd.8 dbmail-imapd.8 \
@@ -62,7 +59,7 @@ PLIST_SUB+= DBMAIL_USER="${DBMAIL_USER}" \
DBMAIL_GROUP="${DBMAIL_GROUP}" \
PIDDIR="${PIDDIR}"
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
PLIST_SUB+= PORTDOCS="@comment "
.else
PLIST_SUB+= PORTDOCS=""
@@ -91,7 +88,7 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-acinclude.m4
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+= --enable-manpages
.endif
@@ -108,7 +105,7 @@ post-install:
done
@${MKDIR} ${PIDDIR}
@${CHOWN} ${DBMAIL_USER}:${DBMAIL_GROUP} ${PIDDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} * ${DOCSDIR})
diff --git a/mail/dbmail/pkg-descr b/mail/dbmail/pkg-descr
index 3b9f7d21187f..5c1648e0e4a6 100644
--- a/mail/dbmail/pkg-descr
+++ b/mail/dbmail/pkg-descr
@@ -21,4 +21,4 @@ PostgreSQL or SQLite).
Changes on a Dbmail system (adding of users, changing passwords etc.) are
effective immediately.
-WWW: http://www.dbmail.org/
+WWW: http://www.dbmail.org/