summaryrefslogtreecommitdiff
path: root/mail/dbmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dbmail/Makefile')
-rw-r--r--mail/dbmail/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile
index 88ae3547c36..c0946eafae0 100644
--- a/mail/dbmail/Makefile
+++ b/mail/dbmail/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2007/03/19 12:51:56 ghen Exp $
+# $NetBSD: Makefile,v 1.14 2007/10/30 22:52:42 shannonjr Exp $
#
-DISTNAME= dbmail-2.0.11
+DISTNAME= dbmail-2.2.7
CATEGORIES= mail
-MASTER_SITES= http://www.dbmail.org/download/2.0/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://www.dbmail.org/download/2.2/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dbmail.org/
@@ -12,13 +11,14 @@ COMMENT= Store and retrieve mail messages in a database
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-${SQLDB}
+CONFIGURE_ARGS+= --with-pkglibdir=${PREFIX}/lib/dbmail
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
EGDIR= ${PREFIX}/share/examples/dbmail
CONF_FILES= ${EGDIR}/dbmail.conf ${PKG_SYSCONFDIR}/dbmail.conf
-RCD_SCRIPTS= dbmail dbmailimapd dbmaillmtpd dbmailpop3d
+RCD_SCRIPTS= dbmail dbmailimapd dbmaillmtpd dbmailpop3d dbmail-timsieved
PLIST_SUBST+= SQLDB=${SQLDB:Q}
@@ -34,7 +34,13 @@ INSTALLATION_DIRS= lib man ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 sbin share/exampl
post-install:
${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sql/mysql/migrate_from_2.0_to_2.2.mysql ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sql/postgresql/migrate_from_2.0_to_2.2.pgsql ${EGDIR}
+
.include "options.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mail/gmime/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"