summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-04-21 12:36:04 +0000
committerjperkin <jperkin@pkgsrc.org>2016-04-21 12:36:04 +0000
commit48004420ef9644186670e815ff1d2070fad06f96 (patch)
tree560e6b884a1348f8c881f5c00290a7686c4cd451 /x11
parentbfff5ef40e8285531045101a03852fd11ca9f122 (diff)
downloadpkgsrc-48004420ef9644186670e815ff1d2070fad06f96.tar.gz
Replace broken mandir setting with PKGMANDIR.
Diffstat (limited to 'x11')
-rw-r--r--x11/hot-babe/distinfo4
-rw-r--r--x11/hot-babe/patches/patch-ab17
2 files changed, 10 insertions, 11 deletions
diff --git a/x11/hot-babe/distinfo b/x11/hot-babe/distinfo
index c8bb6862fbe..6b197e1538b 100644
--- a/x11/hot-babe/distinfo
+++ b/x11/hot-babe/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 03:28:33 agc Exp $
+$NetBSD: distinfo,v 1.9 2016/04/21 12:36:04 jperkin Exp $
SHA1 (hot-babe-0.2.2.tar.gz) = 403a8f14322c5ca5187daed5050392468c114ec5
RMD160 (hot-babe-0.2.2.tar.gz) = 4981fdf346937d0a89f249dd967f7e33a32e05e0
SHA512 (hot-babe-0.2.2.tar.gz) = f2bfb317b9aba8708108f195fa5e2caaf898ec4f9f6f090885ec6e376cba16b4af14bdea4bf0b6d7cebb09679bed8b295ab72045922d949e7c7829c429373bef
Size (hot-babe-0.2.2.tar.gz) = 408991 bytes
SHA1 (patch-aa) = 63f951fabcaa405474c51cb2faf7c013f61f44b2
-SHA1 (patch-ab) = fc67f595280a8fdeb302ed91829c8973459cb6ad
+SHA1 (patch-ab) = 50b7ceac29b9579c457b9eb59ce69ea6ba57c21f
diff --git a/x11/hot-babe/patches/patch-ab b/x11/hot-babe/patches/patch-ab
index 7b7e0382133..9aa7093bf5e 100644
--- a/x11/hot-babe/patches/patch-ab
+++ b/x11/hot-babe/patches/patch-ab
@@ -1,11 +1,10 @@
-$NetBSD: patch-ab,v 1.2 2006/05/31 11:42:45 rillig Exp $
+$NetBSD: patch-ab,v 1.3 2016/04/21 12:36:04 jperkin Exp $
---- Makefile.orig 2004-12-05 00:49:30.000000000 +0100
-+++ Makefile 2006-05-31 12:49:08.000000000 +0200
-@@ -1,13 +1,16 @@
+--- Makefile.orig 2004-12-04 23:49:30.000000000 +0000
++++ Makefile
+@@ -1,13 +1,15 @@
# where to install this program
-PREFIX := /usr/local
-+mandir= man
+sharedir= share/hot-babe
+docdir= share/doc/hot-babe
+pixmapdir= share/pixmaps
@@ -22,7 +21,7 @@ $NetBSD: patch-ab,v 1.2 2006/05/31 11:42:45 rillig Exp $
DOC = ChangeLog NEWS TODO LICENSE CONTRIBUTORS copyright config.example
-@@ -22,18 +25,18 @@ clean:
+@@ -22,18 +24,18 @@ clean:
install:
install -d $(DESTDIR)$(PREFIX)/bin
install -m 0755 hot-babe $(DESTDIR)$(PREFIX)/bin
@@ -38,8 +37,8 @@ $NetBSD: patch-ab,v 1.2 2006/05/31 11:42:45 rillig Exp $
+ install -m 0644 hb01/* $(DESTDIR)$(PREFIX)/${sharedir}/hb01
+ install -d $(DESTDIR)$(PREFIX)/${docdir}
+ install -m 0644 $(DOC) $(DESTDIR)$(PREFIX)/${docdir}
-+ install -d $(DESTDIR)$(PREFIX)/${mandir}/man1
-+ install -m 0644 hot-babe.1 $(DESTDIR)$(PREFIX)/${mandir}/man1
++ install -d $(DESTDIR)$(PREFIX)/${PKGMANDIR}/man1
++ install -m 0644 hot-babe.1 $(DESTDIR)$(PREFIX)/${PKGMANDIR}/man1
+ install -d $(DESTDIR)$(PREFIX)/${pixmapdir}
+ install -m 0644 hot-babe.xpm $(DESTDIR)$(PREFIX)/${pixmapdir}
@@ -51,5 +50,5 @@ $NetBSD: patch-ab,v 1.2 2006/05/31 11:42:45 rillig Exp $
- rm -f $(DESTDIR)$(PREFIX)/share/pixmaps/hot-babe.xpm
+ rm -rf $(DESTDIR)$(PREFIX)/${sharedir}
+ rm -rf $(DESTDIR)$(PREFIX)/${docdir}
-+ rm -f $(DESTDIR)$(PREFIX)/${mandir}/man1/hot-babe.1
++ rm -f $(DESTDIR)$(PREFIX)/${PKGMANDIR}/man1/hot-babe.1
+ rm -f $(DESTDIR)$(PREFIX)/${pixmapdir}/hot-babe.xpm