pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/silc-server DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbd1044a4b77
branches:  trunk
changeset: 571555:dbd1044a4b77
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Feb 14 20:18:06 2010 +0000

description:
DESTDIR support

diffstat:

 chat/silc-server/Makefile         |   8 ++++++--
 chat/silc-server/distinfo         |   4 ++--
 chat/silc-server/patches/patch-aa |  10 +++++-----
 3 files changed, 13 insertions(+), 9 deletions(-)

diffs (66 lines):

diff -r e64e07a7db1d -r dbd1044a4b77 chat/silc-server/Makefile
--- a/chat/silc-server/Makefile Sun Feb 14 20:00:12 2010 +0000
+++ b/chat/silc-server/Makefile Sun Feb 14 20:18:06 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2009/04/28 19:26:24 zafer Exp $
+# $NetBSD: Makefile,v 1.61 2010/02/14 20:18:06 joerg Exp $
 #
 
 DISTNAME=              silc-server-1.1.6
@@ -11,6 +11,8 @@
 HOMEPAGE=              http://www.silcnet.org/
 COMMENT=               Server for the Secure Internet Live Conferencing (SILC) protocol
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
 OVERRIDE_DIRDEPTH=     3
@@ -76,7 +78,9 @@
 post-extract:
        ${CP} ${FILESDIR}/motd.txt ${WRKSRC}
 
+INSTALLATION_DIRS+=    ${EGDIR}
+
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/motd.txt ${EGDIR}/motd.txt.default
+       ${INSTALL_DATA} ${WRKSRC}/motd.txt ${DESTDIR}${EGDIR}/motd.txt.default
 
 .include "../../mk/bsd.pkg.mk"
diff -r e64e07a7db1d -r dbd1044a4b77 chat/silc-server/distinfo
--- a/chat/silc-server/distinfo Sun Feb 14 20:00:12 2010 +0000
+++ b/chat/silc-server/distinfo Sun Feb 14 20:18:06 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.34 2008/04/24 08:30:49 wiz Exp $
+$NetBSD: distinfo,v 1.35 2010/02/14 20:18:06 joerg Exp $
 
 SHA1 (silc-server-1.1.6.tar.bz2) = 2f06d07e49a4313ad1458c5e1c79684418e242d3
 RMD160 (silc-server-1.1.6.tar.bz2) = f309ba57222ed4278e904a2eaab5230893b58095
 Size (silc-server-1.1.6.tar.bz2) = 924011 bytes
-SHA1 (patch-aa) = 3b189047000593b36305f23301987982706355dc
+SHA1 (patch-aa) = b65ad3161d637fbc79a8ebb6516aebb7d396a7b3
 SHA1 (patch-ab) = 55b3f00076c5b8a443465753ae07b9e812236f18
diff -r e64e07a7db1d -r dbd1044a4b77 chat/silc-server/patches/patch-aa
--- a/chat/silc-server/patches/patch-aa Sun Feb 14 20:00:12 2010 +0000
+++ b/chat/silc-server/patches/patch-aa Sun Feb 14 20:18:06 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.10 2005/06/19 01:22:17 salo Exp $
+$NetBSD: patch-aa,v 1.11 2010/02/14 20:18:06 joerg Exp $
 
 --- apps/silcd/Makefile.in.orig        2005-05-10 18:59:04.000000000 +0200
 +++ apps/silcd/Makefile.in     2005-06-19 02:36:04.000000000 +0200
@@ -22,10 +22,10 @@
  examples-install:
 -      -mkdir -p $(docdir)/examples/
 -      -$(INSTALL_DATA) $(top_srcdir)/doc/examples/* $(docdir)/examples/
-+      -mkdir -p $(examplesdir)
-+      -$(INSTALL_DATA) $(top_srcdir)/doc/examples/* $(examplesdir)/
-+      -$(INSTALL_DATA) $(top_srcdir)/doc/example_silcd.conf $(examplesdir)/silcd.conf.default
-+      -$(INSTALL_DATA) $(top_srcdir)/doc/silcalgs.conf $(examplesdir)/silcalgs.conf.default
++      -mkdir -p ${DESTDIR}$(examplesdir)
++      -$(INSTALL_DATA) $(top_srcdir)/doc/examples/* ${DESTDIR}$(examplesdir)/
++      -$(INSTALL_DATA) $(top_srcdir)/doc/example_silcd.conf ${DESTDIR}$(examplesdir)/silcd.conf.default
++      -$(INSTALL_DATA) $(top_srcdir)/doc/silcalgs.conf ${DESTDIR}$(examplesdir)/silcalgs.conf.default
  
  generate-server-key:
        -@if test '!' -f $(etcdir)/silcd.pub ; then \



Home | Main Index | Thread Index | Old Index