pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/fisg Add user-destdir support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dcd3faa4ce3a
branches:  trunk
changeset: 554619:dcd3faa4ce3a
user:      snj <snj%pkgsrc.org@localhost>
date:      Mon Feb 16 22:14:43 2009 +0000

description:
Add user-destdir support.

diffstat:

 chat/fisg/Makefile         |   6 +++++-
 chat/fisg/distinfo         |   4 ++--
 chat/fisg/patches/patch-aa |  14 +++++++-------
 3 files changed, 14 insertions(+), 10 deletions(-)

diffs (55 lines):

diff -r ba093cc8e84b -r dcd3faa4ce3a chat/fisg/Makefile
--- a/chat/fisg/Makefile        Mon Feb 16 21:09:57 2009 +0000
+++ b/chat/fisg/Makefile        Mon Feb 16 22:14:43 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:08:23 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2009/02/16 22:14:43 snj Exp $
 
 DISTNAME=              fisg-0.2.0
 PKGREVISION=           1
@@ -12,4 +12,8 @@
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/src
 USE_TOOLS+=            gmake
 
+INSTALLATION_DIRS+=    bin
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .include "../../mk/bsd.pkg.mk"
diff -r ba093cc8e84b -r dcd3faa4ce3a chat/fisg/distinfo
--- a/chat/fisg/distinfo        Mon Feb 16 21:09:57 2009 +0000
+++ b/chat/fisg/distinfo        Mon Feb 16 22:14:43 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 15:59:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/02/16 22:14:43 snj Exp $
 
 SHA1 (fisg-0.2.0.tar.gz) = e145f05a7d1485ef9ac2c3cf77d3ed8ec92aaf59
 RMD160 (fisg-0.2.0.tar.gz) = 75eba29d8bc87bd6c6b02ac9d8ad2b43db9c9908
 Size (fisg-0.2.0.tar.gz) = 76700 bytes
-SHA1 (patch-aa) = 7986cc039df913aed14cafffb143ede3008ca068
+SHA1 (patch-aa) = 0730fa6ee5256f8dcc234311fef9955c0442f05d
diff -r ba093cc8e84b -r dcd3faa4ce3a chat/fisg/patches/patch-aa
--- a/chat/fisg/patches/patch-aa        Mon Feb 16 21:09:57 2009 +0000
+++ b/chat/fisg/patches/patch-aa        Mon Feb 16 22:14:43 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/12/03 23:13:00 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2009/02/16 22:14:43 snj Exp $
 --- Makefile.orig      2003-02-18 02:59:18.000000000 -0800
 +++ Makefile   2003-09-28 18:41:07.000000000 -0700
 @@ -1,11 +1,19 @@
@@ -18,9 +18,9 @@
  include Makefile.gen
 +
 +install: $(FISGEXE)
-+      $(BSD_INSTALL_PROGRAM) $(FISGEXE) $(PREFIX)/bin
-+      $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/examples/fisg
-+      $(BSD_INSTALL_DATA) ../example.cfg $(PREFIX)/share/examples/fisg
-+      $(BSD_INSTALL_DATA) ../users.cfg $(PREFIX)/share/examples/fisg
-+      $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/fisg
-+      $(BSD_INSTALL_DATA) ../data/* $(PREFIX)/share/fisg
++      $(BSD_INSTALL_PROGRAM) $(FISGEXE) $(DESTDIR)$(PREFIX)/bin
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/examples/fisg
++      $(BSD_INSTALL_DATA) ../example.cfg $(DESTDIR)$(PREFIX)/share/examples/fisg
++      $(BSD_INSTALL_DATA) ../users.cfg $(DESTDIR)$(PREFIX)/share/examples/fisg
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/fisg
++      $(BSD_INSTALL_DATA) ../data/* $(DESTDIR)$(PREFIX)/share/fisg



Home | Main Index | Thread Index | Old Index