summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 19:46:23 +0000
committerjoerg <joerg>2009-07-07 19:46:23 +0000
commit585282e9d0ef632ccfb02baa0fe82528ffdea241 (patch)
treeaf3aa682f13ad4edbf6e80898cb23b80af8ab0b2 /wm
parentb06a270ae92b0bcf6779026caa9ac0ef6127c6fa (diff)
downloadpkgsrc-585282e9d0ef632ccfb02baa0fe82528ffdea241.tar.gz
user-destdir support
Diffstat (limited to 'wm')
-rw-r--r--wm/fluxconf/Makefile4
-rw-r--r--wm/fluxconf/distinfo3
-rw-r--r--wm/fluxconf/patches/patch-ab22
3 files changed, 27 insertions, 2 deletions
diff --git a/wm/fluxconf/Makefile b/wm/fluxconf/Makefile
index f5f6c4228e1..9152c4f4fff 100644
--- a/wm/fluxconf/Makefile
+++ b/wm/fluxconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/11/01 14:52:25 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2009/07/07 19:52:56 joerg Exp $
#
DISTNAME= fluxconf-0.9.9
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://devaux.fabien.free.fr/flux/
COMMENT= GTK based configuration tool for the fluxbox window manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= fluxbox-[0-9]*:../../wm/fluxbox
GNU_CONFIGURE= yes
diff --git a/wm/fluxconf/distinfo b/wm/fluxconf/distinfo
index c569d212f47..8fe196ec20a 100644
--- a/wm/fluxconf/distinfo
+++ b/wm/fluxconf/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2007/11/04 15:46:58 rillig Exp $
+$NetBSD: distinfo,v 1.3 2009/07/07 19:52:56 joerg Exp $
SHA1 (fluxconf-0.9.9.tar.gz) = c9e262d21b4badfcebccb0f500af10c854bda9eb
RMD160 (fluxconf-0.9.9.tar.gz) = 0e9e29292d6679f0a43d6fb4d091015f66e4cf20
Size (fluxconf-0.9.9.tar.gz) = 234276 bytes
SHA1 (patch-aa) = b30a016ed61e64672240f9eb392244839c9adad9
+SHA1 (patch-ab) = 0314ff3610c6ba9c0feab523bd2d3d13a9c6970a
diff --git a/wm/fluxconf/patches/patch-ab b/wm/fluxconf/patches/patch-ab
new file mode 100644
index 00000000000..5addfa4c24a
--- /dev/null
+++ b/wm/fluxconf/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2009/07/07 19:52:56 joerg Exp $
+
+--- src/Makefile.in.orig 2009-07-07 21:50:26.000000000 +0200
++++ src/Makefile.in
+@@ -645,12 +645,12 @@ uninstall-info: uninstall-info-recursive
+ #fluxkeys: fluxconf
+ # ln -sf fluxconf fluxkeys
+ install-exec-hook:
+- @ln -sf $(bindir)/fluxconf $(bindir)/fluxkeys
+- @ln -sf $(bindir)/fluxconf $(bindir)/fluxbare
+- @if ldd fluxconf |grep pango > /dev/null ; then ln -sf $(bindir)/fluxconf $(bindir)/fluxmenu; fi
++ @ln -sf ${DESTDIR}$(bindir)/fluxconf ${DESTDIR}$(bindir)/fluxkeys
++ @ln -sf ${DESTDIR}$(bindir)/fluxconf ${DESTDIR}$(bindir)/fluxbare
++ @if ldd fluxconf |grep pango > /dev/null ; then ln -sf ${DESTDIR}$(bindir)/fluxconf ${DESTDIR}$(bindir)/fluxmenu; fi
+ @for lan in ${ALL_LANG} ; do \
+- ${mkinstalldirs} $(datadir)/locale/$$lan/LC_MESSAGES; \
+- ${INSTALL} -m444 $(top_srcdir)/po/$$lan.mo $(datadir)/locale/$$lan/LC_MESSAGES/fluxconf.mo ;\
++ ${mkinstalldirs} ${DESTDIR}$(datadir)/locale/$$lan/LC_MESSAGES; \
++ ${INSTALL} -m444 $(top_srcdir)/po/$$lan.mo ${DESTDIR}$(datadir)/locale/$$lan/LC_MESSAGES/fluxconf.mo ;\
+ done ;
+
+ uninstall-local: