summaryrefslogtreecommitdiff
path: root/games/baduki
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /games/baduki
parentdf12796d2c7ff30316099a62cbdf43f49006d442 (diff)
downloadpkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz
Add DESTDIR support.
Diffstat (limited to 'games/baduki')
-rw-r--r--games/baduki/distinfo3
-rw-r--r--games/baduki/patches/patch-ab25
2 files changed, 27 insertions, 1 deletions
diff --git a/games/baduki/distinfo b/games/baduki/distinfo
index 536a85cc9c0..c6d0bdb563c 100644
--- a/games/baduki/distinfo
+++ b/games/baduki/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:11:54 agc Exp $
+$NetBSD: distinfo,v 1.7 2008/06/20 01:09:19 joerg Exp $
SHA1 (baduki-0.2.9.tar.gz) = a70a2c11b66b97bae979f597de831a99d6c8121f
RMD160 (baduki-0.2.9.tar.gz) = 11d23b04378cc13fd00ed713bd75c8a2610e4ba2
Size (baduki-0.2.9.tar.gz) = 193558 bytes
SHA1 (patch-aa) = f32188af5a36a51239057212a2a76821d5dfb2c4
+SHA1 (patch-ab) = 2680ec4215f8806fcc96e72bfdc20aac2ddd86c9
SHA1 (patch-ad) = c65aac612e200bbaf10ee57f6bd4bbd1fd6b4653
diff --git a/games/baduki/patches/patch-ab b/games/baduki/patches/patch-ab
new file mode 100644
index 00000000000..883ba58dcd9
--- /dev/null
+++ b/games/baduki/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.4 2008/06/20 01:10:02 joerg Exp $
+
+--- po/Makefile.in.in.orig 2008-06-19 13:51:20.000000000 +0000
++++ po/Makefile.in.in
+@@ -111,16 +111,16 @@ install-data: install-data-@USE_NLS@
+ install-data-no: all
+ install-data-yes: all
+ if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(datadir); \
++ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \
+ else \
+- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(SHELL) $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \
++ *) destdir=${DESTDIR}$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \