summaryrefslogtreecommitdiff
path: root/chat/fisg
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2009-02-16 22:14:43 +0000
committersnj <snj@pkgsrc.org>2009-02-16 22:14:43 +0000
commit9d6e075374624996f59ec67075c82a16fabec757 (patch)
tree426adb6aa8266a2d4c4c3288aabf243caa7243ca /chat/fisg
parent1fc2a4a538c0018b08c0f69537fd70d535bbbec1 (diff)
downloadpkgsrc-9d6e075374624996f59ec67075c82a16fabec757.tar.gz
Add user-destdir support.
Diffstat (limited to 'chat/fisg')
-rw-r--r--chat/fisg/Makefile6
-rw-r--r--chat/fisg/distinfo4
-rw-r--r--chat/fisg/patches/patch-aa14
3 files changed, 14 insertions, 10 deletions
diff --git a/chat/fisg/Makefile b/chat/fisg/Makefile
index f56577dde17..1410fdb8f26 100644
--- a/chat/fisg/Makefile
+++ b/chat/fisg/Makefile
@@ -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 @@ COMMENT= Fast IRC statistics generator
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_TOOLS+= gmake
+INSTALLATION_DIRS+= bin
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/fisg/distinfo b/chat/fisg/distinfo
index 4f6616ffc16..65f651a8434 100644
--- a/chat/fisg/distinfo
+++ b/chat/fisg/distinfo
@@ -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 --git a/chat/fisg/patches/patch-aa b/chat/fisg/patches/patch-aa
index 9b5e2fc0c96..9d22b8d4797 100644
--- a/chat/fisg/patches/patch-aa
+++ b/chat/fisg/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/12/03 23:13:00 xtraeme Exp $
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