diff options
author | schmonz <schmonz> | 2010-03-15 17:28:10 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2010-03-15 17:28:10 +0000 |
commit | ecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0 (patch) | |
tree | 0774357fb6bdaebccbcaf2e982cc260fcdf2647b /mail/ezmlm-idx | |
parent | bb99a428f53ad113bdb5c9f1e19c53101f661806 (diff) | |
download | pkgsrc-ecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0.tar.gz |
DESTDIR support.
Diffstat (limited to 'mail/ezmlm-idx')
-rw-r--r-- | mail/ezmlm-idx/Makefile | 14 | ||||
-rw-r--r-- | mail/ezmlm-idx/distinfo | 3 | ||||
-rw-r--r-- | mail/ezmlm-idx/patches/patch-ac | 17 |
3 files changed, 27 insertions, 7 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile index 01fd33a2403..015cec6d372 100644 --- a/mail/ezmlm-idx/Makefile +++ b/mail/ezmlm-idx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2009/05/19 09:07:13 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2010/03/15 17:29:23 schmonz Exp $ # .include "../../mail/ezmlm/Makefile.common" @@ -17,9 +17,11 @@ CONFLICTS= ezmlm-[0-9]* DISTFILES+= ${EZMLM_VERS}.tar.gz PLIST_SRC+= PLIST.idx +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews DJB_RESTRICTED= no +DJB_CONFIG_CMDS= ${ECHO} ${DESTDIR:Q} > conf-destdir PKG_SYSCONFSUBDIR= ezmlm CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\"" @@ -42,11 +44,11 @@ pre-patch: 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 + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/ezcgirc ${DESTDIR}${EGDIR}/ezcgirc + ${INSTALL_DATA} ${WRKSRC}/ezmlmrc ${DESTDIR}${EGDIR}/ezmlmrc + ${INSTALL_DATA} ${WRKSRC}/ezmlmglrc ${DESTDIR}${EGDIR}/ezmlmglrc + ${INSTALL_DATA} ${WRKSRC}/ezmlmsubrc ${DESTDIR}${EGDIR}/ezmlmsubrc .include "../../mk/djbware.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/ezmlm-idx/distinfo b/mail/ezmlm-idx/distinfo index 78bd6fab914..8060372992c 100644 --- a/mail/ezmlm-idx/distinfo +++ b/mail/ezmlm-idx/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.17 2006/12/29 06:21:06 schmonz Exp $ +$NetBSD: distinfo,v 1.18 2010/03/15 17:29:23 schmonz Exp $ SHA1 (ezmlm-0.53.tar.gz) = 3a7b618737fed8b774bec69c272d70f4142c1e30 RMD160 (ezmlm-0.53.tar.gz) = 6d366de2d7028a984ba454f1bec9d2d9f495c88b @@ -8,3 +8,4 @@ RMD160 (ezmlm-idx-0.444.tar.gz) = 7af28d61c604123113e6718d263d7d207f09fd33 Size (ezmlm-idx-0.444.tar.gz) = 615519 bytes SHA1 (patch-aa) = 1a30d5f859ed87723f2c32e33a3b96167c460446 SHA1 (patch-ab) = a8f41d4fad49dca3e65a317e95bc54a1b530afe0 +SHA1 (patch-ac) = 1a3e784f3c20fc0214d20671ce5a33dcc8b14427 diff --git a/mail/ezmlm-idx/patches/patch-ac b/mail/ezmlm-idx/patches/patch-ac new file mode 100644 index 00000000000..c95b95ce1d2 --- /dev/null +++ b/mail/ezmlm-idx/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.7 2010/03/15 17:29:23 schmonz Exp $ + +--- Makefile.orig 2006-11-23 19:12:29.000000000 +0000 ++++ Makefile +@@ -1095,9 +1095,9 @@ compile seek_set.c seek.h + ./compile seek_set.c + + setup: \ +-it man install conf-bin conf-man BIN MAN +- ./install "`head -n 1 conf-bin`" < BIN +- ./install "`head -n 1 conf-man`" < MAN ++it man install conf-bin conf-man conf-destdir BIN MAN ++ ./install "`head -1 conf-destdir``head -n 1 conf-bin`" < BIN ++ ./install "`head -1 conf-destdir``head -n 1 conf-man`" < MAN + + sgetopt.0: \ + sgetopt.3 |