summaryrefslogtreecommitdiff
path: root/mail/dbmail/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz>2005-01-09 04:17:39 +0000
committerschmonz <schmonz>2005-01-09 04:17:39 +0000
commitbef9b9b17c3489ec081ac94bf3c3567b48823ce6 (patch)
tree0845d923c7740ba8004816d0415efe0b1f5ab814 /mail/dbmail/Makefile
parent758fb95d895e8db6cd1b25dfc7b012d2a9c99663 (diff)
downloadpkgsrc-bef9b9b17c3489ec081ac94bf3c3567b48823ce6.tar.gz
A config file and some rc.d scripts might help. Bump PKGREVISION.
Diffstat (limited to 'mail/dbmail/Makefile')
-rw-r--r--mail/dbmail/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile
index 4b958e70fc8..376382d6df4 100644
--- a/mail/dbmail/Makefile
+++ b/mail/dbmail/Makefile
@@ -1,20 +1,26 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2005/01/09 04:17:39 schmonz Exp $
#
DISTNAME= dbmail-2.0.1
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dbmail.org/download/
EXTRACT_SUFX= .tgz
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.dbmail.org/
-COMMENT= Store and retrieve mail messages from a database
+COMMENT= Store and retrieve mail messages in a database
-USE_BUILDLINK3= yes
-USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
+USE_PKGINSTALL= yes
+USE_PKGLOCALEDIR= yes
+
+EGDIR= ${PREFIX}/share/examples/dbmail
+CONF_FILES= ${EGDIR}/dbmail.conf ${PKG_SYSCONFDIR}/dbmail.conf
+RCD_SCRIPTS= dbmail dbmailimapd dbmaillmtpd dbmailpop3d
PLIST_SUBST+= SQLDB=${SQLDB}
@@ -26,6 +32,10 @@ SUBST_FILES.sysconf+= dbmail.h
SUBST_SED.sysconf= -e 's|/etc/dbmail\.conf|${PKG_SYSCONFDIR}/dbmail.conf|g'
SUBST_MESSAGE.sysconf= "Fixing sysconf paths."
+INSTALLATION_DIRS= lib man man/man1 man/man8 sbin share/examples/dbmail
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${EGDIR}
+
.include "options.mk"
.include "../../mk/bsd.pkg.mk"