summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-04-01 12:31:20 +0000
committerjperkin <jperkin@pkgsrc.org>2016-04-01 12:31:20 +0000
commit3b5deedca62f186c7822a300ade75dbcef3a8fca (patch)
treede3ed13dc0bd36e297ded347d2f55c28af3da4c4 /sysutils
parenta04e8fd4fa65a07839455efb5bb459781b573759 (diff)
downloadpkgsrc-3b5deedca62f186c7822a300ade75dbcef3a8fca.tar.gz
Support PKGMANDIR.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/magicrescue/distinfo3
-rw-r--r--sysutils/magicrescue/patches/patch-Makefile.in21
2 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/magicrescue/distinfo b/sysutils/magicrescue/distinfo
index e8fb0ff9906..3d8f3f5bf9b 100644
--- a/sysutils/magicrescue/distinfo
+++ b/sysutils/magicrescue/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 01:32:20 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/04/01 12:31:20 jperkin Exp $
SHA1 (magicrescue-1.1.4.tar.gz) = b4be78fb6eba668c79aac6bf6a01123911049008
RMD160 (magicrescue-1.1.4.tar.gz) = ef8185ad19d4fb1bc277403b82eea3aa21f0e758
SHA512 (magicrescue-1.1.4.tar.gz) = 357e448bb007f181e28070e3f7f1716992e91c0ce030046567719ab9ca4b9f1482029283c9d948f7738c875fcfe6c5c7649ff9c8582529869a572d85847014be
Size (magicrescue-1.1.4.tar.gz) = 89965 bytes
+SHA1 (patch-Makefile.in) = 401d119063b14383213ca2050112b331b6e3cfd7
SHA1 (patch-aa) = 0c736f7ed1191919a4aaf816fc4a7431c717e78e
diff --git a/sysutils/magicrescue/patches/patch-Makefile.in b/sysutils/magicrescue/patches/patch-Makefile.in
new file mode 100644
index 00000000000..597bf41542a
--- /dev/null
+++ b/sysutils/magicrescue/patches/patch-Makefile.in
@@ -0,0 +1,21 @@
+$NetBSD: patch-Makefile.in,v 1.1 2016/04/01 12:31:20 jperkin Exp $
+
+Use PKGMANDIR.
+
+--- Makefile.in.orig 2004-08-14 22:36:37.000000000 +0000
++++ Makefile.in
+@@ -61,12 +61,12 @@ install: all
+
+ mkdir -p $(PREFIX)/share/magicrescue/tools \
+ $(PREFIX)/share/magicrescue/recipes \
+- $(PREFIX)/man/man1 \
++ $(PREFIX)/${PKGMANDIR}/man1 \
+ $(PREFIX)/bin
+
+ cp magicrescue$(EXE) dupemap$(EXE) magicsort $(PREFIX)/bin/
+ cp recipes/* $(PREFIX)/share/magicrescue/recipes/
+- cp $(DOCS) $(PREFIX)/man/man1
++ cp $(DOCS) $(PREFIX)/${PKGMANDIR}/man1
+
+ for f in tools/*; do \
+ if [ -x "$$f" ]; then \