Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/mail/dovecot/Attic/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/mail/dovecot/Attic/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.87 retrieving revision 1.140 diff -u -p -r1.87 -r1.140 --- pkgsrc/mail/dovecot/Attic/Makefile 2007/03/01 13:26:40 1.87 +++ pkgsrc/mail/dovecot/Attic/Makefile 2009/11/14 15:53:52 1.140 @@ -1,13 +1,13 @@ -# $NetBSD: Makefile,v 1.87 2007/03/01 13:26:40 ghen Exp $ +# $NetBSD: Makefile,v 1.140 2009/11/14 15:53:52 ghen Exp $ -DISTNAME= dovecot-1.0.rc25 -PKGNAME= ${DISTNAME:S/.rc/rc/} +DISTNAME= dovecot-1.1.20 CATEGORIES= mail -MASTER_SITES= http://www.dovecot.org/releases/ +MASTER_SITES= http://www.dovecot.org/releases/1.1/ MAINTAINER= ghen@NetBSD.org HOMEPAGE= http://www.dovecot.org/ COMMENT= Secure IMAP and POP3 server +LICENSE= mit AND gnu-lgpl-v2.1 AND modified-bsd PKG_INSTALLATION_TYPES= overwrite pkgviews PKG_DESTDIR_SUPPORT= user-destdir @@ -15,10 +15,12 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_LIBTOOL= yes GNU_CONFIGURE= yes USE_TOOLS+= pkg-config +USE_TOOLS+= rpcgen CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} CONFIGURE_ARGS+= --with-ssldir=${SSLDIR:Q} +CONFIGURE_ARGS+= --enable-header-install .include "../../mk/bsd.prefs.mk" .include "options.mk" @@ -29,11 +31,13 @@ DOVECOT_USER?= dovecot DOVECOT_GROUP?= dovecot PKG_GROUPS= ${DOVECOT_GROUP} PKG_USERS= ${DOVECOT_USER}:${DOVECOT_GROUP} +PKG_GROUPS_VARS+= DOVECOT_GROUP +PKG_USERS_VARS+= DOVECOT_USER PKG_GECOS.${DOVECOT_USER}= Dovecot IMAP/POP3 user EGDIR= ${PREFIX}/share/examples/dovecot -CONF_FILES= ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf +CONF_FILES= ${EGDIR}/dovecot-example.conf ${PKG_SYSCONFDIR}/dovecot.conf INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot \ share/examples/dovecot @@ -43,6 +47,8 @@ SUBST_FILES.paths= dovecot-example.conf SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' SUBST_STAGE.paths= pre-configure +BUILD_DEFS+= VARBASE + post-build: ${SED} "s|/etc/ssl/|${SSLDIR}/|" ${WRKSRC}/dovecot-example.conf \ > ${WRKDIR}/dovecot-example.conf @@ -50,10 +56,10 @@ post-build: > ${WRKDIR}/mkcert.sh post-install: - ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf \ - ${DESTDIR}${EGDIR}/dovecot.conf.default + ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR} ${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/src/lib/liblib.a ${DESTDIR}${PREFIX}/lib/dovecot .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk"