summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-12 20:31:32 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-12 20:31:32 +0000
commit13d5fc203b482a67000b4f7752bc2259a1b84c11 (patch)
tree9cecd9b703ebbe0e30e8fa5fb686f95a98858153 /wm
parent2f63eb0441e023168a584e7d59286e5b63a3cd31 (diff)
downloadpkgsrc-13d5fc203b482a67000b4f7752bc2259a1b84c11.tar.gz
DESTDIR support
Diffstat (limited to 'wm')
-rw-r--r--wm/wmakerconf/Makefile4
-rw-r--r--wm/wmakerconf/distinfo4
-rw-r--r--wm/wmakerconf/patches/patch-ae25
-rw-r--r--wm/wmakerconf/patches/patch-af15
4 files changed, 46 insertions, 2 deletions
diff --git a/wm/wmakerconf/Makefile b/wm/wmakerconf/Makefile
index d4d2172656b..a3dfd3284bf 100644
--- a/wm/wmakerconf/Makefile
+++ b/wm/wmakerconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2010/01/18 09:59:30 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2010/02/12 20:31:32 joerg Exp $
DISTNAME= wmakerconf-2.11
PKGREVISION= 11
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://starplot.org/wmakerconf/
COMMENT= Gtk+ based configuration tool for Window Maker
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
diff --git a/wm/wmakerconf/distinfo b/wm/wmakerconf/distinfo
index 20e4c27cc79..d6d5654e5f4 100644
--- a/wm/wmakerconf/distinfo
+++ b/wm/wmakerconf/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2005/05/25 09:57:14 adam Exp $
+$NetBSD: distinfo,v 1.8 2010/02/12 20:31:32 joerg Exp $
SHA1 (wmakerconf-2.11.tar.gz) = 2c2409aad8b0348c2801c4350047a5468a800e48
RMD160 (wmakerconf-2.11.tar.gz) = 18d661836272ae21f9d79398359b37b97b0a396a
@@ -7,3 +7,5 @@ SHA1 (patch-aa) = d26fdc359404796ea7bf6791014e3b8b3abc4cbc
SHA1 (patch-ab) = 3e5f5f8cad200a6b09001572336920685d5e2a82
SHA1 (patch-ac) = 89f7cba515367182c6ad257b43d76256ed7be609
SHA1 (patch-ad) = ebcd4d319c9f0cd995f6b43b30bf4446daf24934
+SHA1 (patch-ae) = b656967929071c09bef3315588fede877e839ce6
+SHA1 (patch-af) = c6f05d30ee645d0e7ff1ed574208d5819beeceac
diff --git a/wm/wmakerconf/patches/patch-ae b/wm/wmakerconf/patches/patch-ae
new file mode 100644
index 00000000000..08c3b1bfc7a
--- /dev/null
+++ b/wm/wmakerconf/patches/patch-ae
@@ -0,0 +1,25 @@
+$NetBSD: patch-ae,v 1.1 2010/02/12 20:31:32 joerg Exp $
+
+--- po/Makefile.in.in.orig 2010-02-12 20:04:10.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) ${DESTDIR}$(top_srcdir)/mkinstalldirs $(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; \
diff --git a/wm/wmakerconf/patches/patch-af b/wm/wmakerconf/patches/patch-af
new file mode 100644
index 00000000000..0a41fb3052c
--- /dev/null
+++ b/wm/wmakerconf/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2010/02/12 20:31:32 joerg Exp $
+
+--- data/po/Makefile.in.orig 2010-02-12 20:07:42.000000000 +0000
++++ data/po/Makefile.in
+@@ -319,8 +319,8 @@ install-data-yes: all
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \
++ *) destdir=${DESTDIR}$(localedir);; \
+ esac; \
+ echo $$destdir; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \