diff options
author | jmmv <jmmv> | 2003-03-21 17:31:36 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-03-21 17:31:36 +0000 |
commit | 4bdaafaaa77fd12a5b307ebcfc38f3a12c6fa2d9 (patch) | |
tree | 8c1ff70930a0118ec819ba9c981784ab9588c769 /mail/ezmlm-idx/Makefile | |
parent | f9d2523920bc9dfe6a72c3643ce9adfaa97aa576 (diff) | |
download | pkgsrc-4bdaafaaa77fd12a5b307ebcfc38f3a12c6fa2d9.tar.gz |
Honor PKG_SYSCONFDIR, as requested in PR pkg/19289 by Thomas T. Thai.
Bump PKGREVISION to 1.
Diffstat (limited to 'mail/ezmlm-idx/Makefile')
-rw-r--r-- | mail/ezmlm-idx/Makefile | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile index a814f993652..cba703d3c5f 100644 --- a/mail/ezmlm-idx/Makefile +++ b/mail/ezmlm-idx/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/07/23 08:49:46 schmonz Exp $ +# $NetBSD: Makefile,v 1.2 2003/03/21 17:31:36 jmmv Exp $ # .include "../../mail/ezmlm/Makefile.common" DISTNAME= ezmlm-idx-0.40 +PKGREVISION= 1 MASTER_SITES+= http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/ \ ftp://ftp.ezmlm.org/pub/patches/ @@ -16,10 +17,26 @@ CONFLICTS= ezmlm-[0-9]* DISTFILES+= ${EZMLM_VERS}.tar.gz PLIST_SRC+= PLIST.idx -do-patch: +USE_PKGINSTALL= YES + +PKG_SYSCONFSUBDIR= ezmlm +CFLAGS+= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\"\\\" + +EGDIR= ${PREFIX}/share/examples/ezmlm-idx +CONF_FILES= ${EGDIR}/ezcgirc ${PKG_SYSCONFDIR}/ezcgirc +CONF_FILES+= ${EGDIR}/ezmlmrc ${PKG_SYSCONFDIR}/ezmlmrc + +pre-patch: @${MV} ${WRKSRC}/* ${WRKDIR}/${EZMLM_VERS} @${RMDIR} ${WRKSRC} @${MV} ${WRKDIR}/${EZMLM_VERS} ${WRKSRC} @cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < idx.patch +post-install: + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/ezcgirc ${EGDIR}/ezcgirc + ${INSTALL_DATA} ${WRKSRC}/ezmlmrc ${EGDIR}/ezmlmrc + ${INSTALL_DATA} ${WRKSRC}/ezmlmglrc ${EGDIR}/ezmlmglrc + ${INSTALL_DATA} ${WRKSRC}/ezmlmsubrc ${EGDIR}/ezmlmsubrc + .include "../../mk/bsd.pkg.mk" |