From 0c05f74f12221f9af3525269cec93c28a8487fff Mon Sep 17 00:00:00 2001
From: Thomas Penteker <tek@serverop.de>
Date: Tue, 7 Nov 2017 00:39:31 +0100
Subject: [PATCH] iw: fix man page location closes FS#1491

---
 iw/.footprint | 7 ++++---
 iw/.signature | 6 +++---
 iw/Pkgfile    | 2 +-
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/iw/.footprint b/iw/.footprint
index d1688766b..f9a9ac6b4 100644
--- a/iw/.footprint
+++ b/iw/.footprint
@@ -1,6 +1,7 @@
 drwxr-xr-x	root/root	usr/
-drwxr-xr-x	root/root	usr/man/
-drwxr-xr-x	root/root	usr/man/man8/
--rw-r--r--	root/root	usr/man/man8/iw.8.gz
 drwxr-xr-x	root/root	usr/sbin/
 -rwxr-xr-x	root/root	usr/sbin/iw
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/man/
+drwxr-xr-x	root/root	usr/share/man/man8/
+-rw-r--r--	root/root	usr/share/man/man8/iw.8.gz
diff --git a/iw/.signature b/iw/.signature
index a2bd575c1..c59988d9b 100644
--- a/iw/.signature
+++ b/iw/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF34sddei7LkYgKg6kYpOPCZVHJVqMHtD/gatl1ANcjfW2P5aAQr4Xi7FZHwp7oKneKh7H9zMi3TZNhQffhjUi7gc=
-SHA256 (Pkgfile) = 24b3f27fbc069d5879c7f5ff3a469c6b3e601dd3261b01ca2ab9d955f57fa2f7
-SHA256 (.footprint) = 925a9768139f3a9a4c127390a528679658ce3feac0ce476db1e5f127f23f10a2
+RWSagIOpLGJF38GIxVLdjbTqMNbnbPXMIcBVxBsYPVeVf1jVGmq+y3+4R1l+FMtQQf4Xa9ybd/tF11gAMQx1h0/baekOMosXpQA=
+SHA256 (Pkgfile) = 7378ac610d46528cc47a5ccec1a10c3015df81228229288aa0381926255946e8
+SHA256 (.footprint) = 0f6175bbce244565e07a7883e8bf7a679d7d9308b6b4d3ca9c5d840f892262ae
 SHA256 (iw-4.9.tar.xz) = 324cc805fad52cba2c16b9ab569906889fb645cc962aac4cfda1db85d2de97ce
 SHA256 (version.sh) = 54e4d9b90729968214b8a230b81043336f3c4c7cd506d17c0ddd37afb657fdf1
diff --git a/iw/Pkgfile b/iw/Pkgfile
index fda56834e..9de05d726 100644
--- a/iw/Pkgfile
+++ b/iw/Pkgfile
@@ -14,5 +14,5 @@ build() {
     cd $name-$version
     sed "s/#VER#/$version/" ../version.sh > version.sh
     make
-    MANDIR=/usr/man make DESTDIR=$PKG install
+    MANDIR=/usr/share/man make DESTDIR=$PKG install
 }