pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/exim Add PKG_DESTDIR_SUPPORT=destdir
details: https://anonhg.NetBSD.org/pkgsrc/rev/d6d27c58b726
branches: trunk
changeset: 554366:d6d27c58b726
user: abs <abs%pkgsrc.org@localhost>
date: Fri Feb 13 15:28:03 2009 +0000
description:
Add PKG_DESTDIR_SUPPORT=destdir
diffstat:
mail/exim/Makefile | 11 +++++++----
mail/exim/distinfo | 4 ++--
mail/exim/patches/patch-ae | 6 +++---
3 files changed, 12 insertions(+), 9 deletions(-)
diffs (69 lines):
diff -r f435c7184b06 -r d6d27c58b726 mail/exim/Makefile
--- a/mail/exim/Makefile Fri Feb 13 15:22:02 2009 +0000
+++ b/mail/exim/Makefile Fri Feb 13 15:28:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2009/01/12 18:59:24 abs Exp $
+# $NetBSD: Makefile,v 1.95 2009/02/13 15:28:03 abs Exp $
DISTNAME= exim-4.69
PKGREVISION= 4
@@ -23,6 +23,8 @@
MAKE_FLAGS+= FULLECHO=''
MAKE_JOBS_SAFE= no
+PKG_DESTDIR_SUPPORT = destdir
+
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= EXIM_DB EXIM_MAX_INCLUDE_SIZE
@@ -106,10 +108,11 @@
${FILESDIR}/mailer.conf.exim \
> ${WRKDIR}/mailer.conf
+INSTALLATION_DIRS = ${PKGMANDIR}/man8 sbin share/examples/exim
+
post-install:
- ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/exim.8 ${PREFIX}/${PKGMANDIR}/man8/exim.8
+ ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${DESTDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/exim.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/exim.8
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r f435c7184b06 -r d6d27c58b726 mail/exim/distinfo
--- a/mail/exim/distinfo Fri Feb 13 15:22:02 2009 +0000
+++ b/mail/exim/distinfo Fri Feb 13 15:28:03 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2009/01/12 18:59:24 abs Exp $
+$NetBSD: distinfo,v 1.41 2009/02/13 15:28:03 abs Exp $
SHA1 (exim-4.69.tar.bz2) = 321e238b6e6b32498110511ce72a911538305a39
RMD160 (exim-4.69.tar.bz2) = ae97c807c63f858ba4a0ab402677225da9337d05
@@ -7,5 +7,5 @@
SHA1 (patch-ab) = 1c6e7882346974390c22e7b9e09a76c5ed670d1d
SHA1 (patch-ac) = de96032a9cf5450101cc73d615d374ddf6817fee
SHA1 (patch-ad) = 804ab58f454f7e100c117f2cec9cf478375c1752
-SHA1 (patch-ae) = 6cb0f00d159de7c342a55b09fb87ab533c5670bf
+SHA1 (patch-ae) = 33573e3d02edbca0c44ed54d1aadd2db50fa1fe6
SHA1 (patch-ag) = 8512795060ad913f4699c277867fd24e7a785519
diff -r f435c7184b06 -r d6d27c58b726 mail/exim/patches/patch-ae
--- a/mail/exim/patches/patch-ae Fri Feb 13 15:22:02 2009 +0000
+++ b/mail/exim/patches/patch-ae Fri Feb 13 15:28:03 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.9 2006/08/08 15:24:01 abs Exp $
+$NetBSD: patch-ae,v 1.10 2009/02/13 15:28:03 abs Exp $
--- scripts/exim_install.orig 2006-04-28 11:32:21.000000000 +0100
+++ scripts/exim_install
@@ -24,8 +24,8 @@
- echo ${CP} ../src/aliases.default ${SYSTEM_ALIASES_FILE}
- ${real} ${CP} ../src/aliases.default ${SYSTEM_ALIASES_FILE}
- fi
-+ echo ${CP} ../src/aliases.default ${PREFIX}/share/examples/exim/aliases
-+ ${real} ${CP} ../src/aliases.default ${PREFIX}/share/examples/exim/aliases
++ echo ${CP} ../src/aliases.default ${DESTDIR}${PREFIX}/share/examples/exim/aliases
++ ${real} ${CP} ../src/aliases.default ${DESTDIR}${PREFIX}/share/examples/exim/aliases
else
echo $com Configuration file ${CONFIGURE_FILE} already exists
Home |
Main Index |
Thread Index |
Old Index