pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mini_sendmail DESTDIRify.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f056319c3e9
branches:  trunk
changeset: 572457:2f056319c3e9
user:      is <is%pkgsrc.org@localhost>
date:      Fri Feb 26 19:45:11 2010 +0000

description:
DESTDIRify.

diffstat:

 mail/mini_sendmail/Makefile.common  |  10 +++++-----
 mail/mini_sendmail/distinfo         |   6 +++---
 mail/mini_sendmail/patches/patch-ab |   6 +++---
 mail/mini_sendmail/patches/patch-ad |   4 ++--
 4 files changed, 13 insertions(+), 13 deletions(-)

diffs (88 lines):

diff -r caff9e0f5580 -r 2f056319c3e9 mail/mini_sendmail/Makefile.common
--- a/mail/mini_sendmail/Makefile.common        Fri Feb 26 18:57:27 2010 +0000
+++ b/mail/mini_sendmail/Makefile.common        Fri Feb 26 19:45:11 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2007/01/07 09:13:58 rillig Exp $
+# $NetBSD: Makefile.common,v 1.14 2010/02/26 19:45:11 is Exp $
 #
 
 DISTNAME=      mini_sendmail-1.3.6
@@ -10,13 +10,14 @@
 COMMENT=       Accept email on behalf of the real sendmail without spooling
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
 
 
 FILESDIR=      ${.CURDIR}/../mini_sendmail/files
 
-EGDIR=         ${PREFIX}/share/examples/mini_sendmail
+EGDIR=         share/examples/mini_sendmail
 
-INSTALLATION_DIRS=     ${PKGMANDIR}/man8 sbin
+INSTALLATION_DIRS=     ${PKGMANDIR}/man8 sbin ${EGDIR}
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -29,7 +30,6 @@
            <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf
 
 post-install:
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EGDIR}
+       ${INSTALL_DATA} ${WRKDIR}/mailer.conf ${DESTDIR}${PREFIX}/${EGDIR}
 
 .include "../../mk/bsd.pkg.mk"
diff -r caff9e0f5580 -r 2f056319c3e9 mail/mini_sendmail/distinfo
--- a/mail/mini_sendmail/distinfo       Fri Feb 26 18:57:27 2010 +0000
+++ b/mail/mini_sendmail/distinfo       Fri Feb 26 19:45:11 2010 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.11 2007/10/27 11:30:36 martin Exp $
+$NetBSD: distinfo,v 1.12 2010/02/26 19:45:11 is Exp $
 
 SHA1 (mini_sendmail-1.3.6.tar.gz) = e8d18419ffa5075ce0b3f49a52bd5e1a38beeb02
 RMD160 (mini_sendmail-1.3.6.tar.gz) = 87fc1133c5976ae6e85730d3600149f69c7cab55
 Size (mini_sendmail-1.3.6.tar.gz) = 7579 bytes
 SHA1 (patch-aa) = 54601fa54cedeb9b3bfbafdbd9b2f7e129a53fcd
-SHA1 (patch-ab) = f96d22be2f94445a6f8b249cdd823dcfbd1528de
+SHA1 (patch-ab) = 60715acc1895d01d65c546bfb1a2e4d530f36954
 SHA1 (patch-ac) = b14f2687f3186e198af03b2662b81726c7321558
-SHA1 (patch-ad) = 35319baaf3eac9dd931170ed4e6d638a19fff8b5
+SHA1 (patch-ad) = aa0ef96edc6d3607a5fce872d8515fec2656d7fb
diff -r caff9e0f5580 -r 2f056319c3e9 mail/mini_sendmail/patches/patch-ab
--- a/mail/mini_sendmail/patches/patch-ab       Fri Feb 26 18:57:27 2010 +0000
+++ b/mail/mini_sendmail/patches/patch-ab       Fri Feb 26 19:45:11 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1 2003/02/15 22:11:28 is Exp $
+$NetBSD: patch-ab,v 1.2 2010/02/26 19:45:11 is Exp $
 
 --- Makefile.orig      Fri Jan  4 07:05:25 2002
 +++ Makefile
@@ -10,8 +10,8 @@
 -MANDIR =      /usr/local/man
 -CC =          gcc
 -CFLAGS =      -O
-+BINDIR =      $(PREFIX)/sbin
-+MANDIR =      $(PREFIX)/man
++BINDIR =      ${DESTDIR}$(PREFIX)/sbin
++MANDIR =      ${DESTDIR}$(PREFIX)/man
 +#CC =         gcc
 +#CFLAGS =     -O
  #CFLAGS =     -g
diff -r caff9e0f5580 -r 2f056319c3e9 mail/mini_sendmail/patches/patch-ad
--- a/mail/mini_sendmail/patches/patch-ad       Fri Feb 26 18:57:27 2010 +0000
+++ b/mail/mini_sendmail/patches/patch-ad       Fri Feb 26 19:45:11 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.6 2005/06/29 22:01:19 is Exp $
+$NetBSD: patch-ad,v 1.7 2010/02/26 19:45:11 is Exp $
 
 --- version.h.orig     2005-06-29 19:39:00.000000000 +0200
 +++ version.h
@@ -7,6 +7,6 @@
  #define _VERSION_H_
  
 -#define VERSION "mini_sendmail/1.3.6 29jun2005"
-+#define VERSION "mini_sendmail/1.3.6 29jun2005 nb1 29jun2005"
++#define VERSION "mini_sendmail/1.3.6 29jun2005 nb2 25feb2010"
  
  #endif /* _VERSION_H_ */



Home | Main Index | Thread Index | Old Index