91f60db676
C++ and Fortran by default, but doing so does not bomb configure or build, so there's no harm in the pkgsrc warnings.) Because this changes the dependencies on systems using pkgsrc-supplied gcc, bump PKGREVISION. <sigh>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.54 2006/06/15 15:14:59 tv Exp $
|
|
|
|
DISTNAME= dovecot-1.0.beta9
|
|
PKGNAME= ${DISTNAME:S/.beta/beta/}
|
|
PKGREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.dovecot.org/releases/
|
|
|
|
MAINTAINER= ghen@NetBSD.org
|
|
HOMEPAGE= http://www.dovecot.org/
|
|
COMMENT= Secure IMAP and POP3 server
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
|
CONFIGURE_ARGS+= --with-ssldir=${SSLCERTS:Q}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "options.mk"
|
|
|
|
RCD_SCRIPTS= dovecot
|
|
|
|
DOVECOT_USER?= dovecot
|
|
DOVECOT_GROUP?= dovecot
|
|
PKG_GROUPS= ${DOVECOT_GROUP}
|
|
PKG_USERS= ${DOVECOT_USER}:${DOVECOT_GROUP}
|
|
|
|
PKG_GECOS.${DOVECOT_USER}= Dovecot IMAP/POP3 user
|
|
|
|
EGDIR= ${PREFIX}/share/examples/dovecot
|
|
CONF_FILES= ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
|
|
|
|
INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot \
|
|
share/examples/dovecot
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= dovecot-example.conf
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf \
|
|
${EGDIR}/dovecot.conf.default
|
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${EGDIR}
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|