849932e58b
branch. There are a number of changes, see the ChangeLog for details. Note that in the meantime, 2.2.x is the new stable release series, bringing many new features e.g. LDAP authentication, header caching, Sieve mail filtering, ... but I'll leave that update to a more experience DBMail user.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2007/03/19 12:51:56 ghen Exp $
|
|
#
|
|
|
|
DISTNAME= dbmail-2.0.11
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.dbmail.org/download/2.0/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.dbmail.org/
|
|
COMMENT= Store and retrieve mail messages in a database
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-${SQLDB}
|
|
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
|
|
|
|
PLIST_SUBST+= SQLDB=${SQLDB:Q}
|
|
|
|
SUBST_CLASSES+= sysconf
|
|
SUBST_STAGE.sysconf= do-configure
|
|
SUBST_FILES.sysconf= man/dbmail-imapd.8 man/dbmail-lmtpd.8 man/dbmail-pop3d.8
|
|
SUBST_FILES.sysconf+= man/dbmail-smtp.1 man/dbmail-users.8 man/dbmail-util.8
|
|
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 ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 sbin share/examples/dbmail
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${EGDIR}
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|