Annotation of pkgsrc/mail/dbmail/Makefile, Revision 1.9
1.9 ! joerg 1: # $NetBSD: Makefile,v 1.8 2006/01/13 21:43:54 schmonz Exp $
1.1 schmonz 2: #
3:
1.8 schmonz 4: DISTNAME= dbmail-2.0.7
1.9 ! joerg 5: PKGREVISION= 1
1.1 schmonz 6: CATEGORIES= mail
1.8 schmonz 7: MASTER_SITES= http://www.dbmail.org/download/2.0/
1.1 schmonz 8:
9: MAINTAINER= schmonz@NetBSD.org
10: HOMEPAGE= http://www.dbmail.org/
1.2 schmonz 11: COMMENT= Store and retrieve mail messages in a database
1.1 schmonz 12:
1.2 schmonz 13: GNU_CONFIGURE= yes
1.8 schmonz 14: CONFIGURE_ARGS+= --with-${SQLDB}
1.4 jlam 15: USE_TOOLS+= gmake
1.1 schmonz 16: USE_LIBTOOL= yes
1.2 schmonz 17: USE_PKGLOCALEDIR= yes
18:
19: EGDIR= ${PREFIX}/share/examples/dbmail
20: CONF_FILES= ${EGDIR}/dbmail.conf ${PKG_SYSCONFDIR}/dbmail.conf
21: RCD_SCRIPTS= dbmail dbmailimapd dbmaillmtpd dbmailpop3d
1.1 schmonz 22:
1.5 rillig 23: PLIST_SUBST+= SQLDB=${SQLDB:Q}
1.1 schmonz 24:
25: SUBST_CLASSES+= sysconf
26: SUBST_STAGE.sysconf= do-configure
27: SUBST_FILES.sysconf= man/dbmail-imapd.8 man/dbmail-lmtpd.8 man/dbmail-pop3d.8
28: SUBST_FILES.sysconf+= man/dbmail-smtp.1 man/dbmail-users.8 man/dbmail-util.8
29: SUBST_FILES.sysconf+= dbmail.h
30: SUBST_SED.sysconf= -e 's|/etc/dbmail\.conf|${PKG_SYSCONFDIR}/dbmail.conf|g'
31: SUBST_MESSAGE.sysconf= "Fixing sysconf paths."
32:
1.2 schmonz 33: INSTALLATION_DIRS= lib man man/man1 man/man8 sbin share/examples/dbmail
1.8 schmonz 34:
1.2 schmonz 35: post-install:
36: ${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${EGDIR}
37:
1.1 schmonz 38: .include "options.mk"
39:
40: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>