pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

obnc: change manpage install path to $PREFIX/man



Module Name:	pkgsrc-wip
Committed By:	Dean Matzkov <bapabooiee%gmail.com@localhost>
Pushed By:	bapa
Date:		Fri Mar 9 10:46:36 2018 -0700
Changeset:	6adb622d64c16557469c07a94c64993541b43c29

Modified Files:
	obnc/PLIST
	obnc/TODO
	obnc/distinfo
Added Files:
	obnc/patches/patch-install

Log Message:
obnc: change manpage install path to $PREFIX/man

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6adb622d64c16557469c07a94c64993541b43c29

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 obnc/PLIST                 |  8 ++++----
 obnc/TODO                  |  2 --
 obnc/distinfo              |  1 +
 obnc/patches/patch-install | 27 +++++++++++++++++++++++++++
 4 files changed, 32 insertions(+), 6 deletions(-)

diffs:
diff --git a/obnc/PLIST b/obnc/PLIST
index a1f8c65281..784e5aa146 100644
--- a/obnc/PLIST
+++ b/obnc/PLIST
@@ -10,6 +10,10 @@ include/obnc/OBNC.h
 include/obnc/OBNCConfig.h
 lib/obnc/OBNC.env
 lib/obnc/OBNC.o
+man/man1/obnc-compile.1
+man/man1/obnc-path.1
+man/man1/obnc.1
+man/man1/obncdoc.1
 share/doc/obnc/oberon-report.html
 share/doc/obnc/obncdoc/index.html
 share/doc/obnc/obncdoc/obnc/Files.def
@@ -29,7 +33,3 @@ share/doc/obnc/obncdoc/obnc/XYplane.def.html
 share/doc/obnc/obncdoc/obnc/index.html
 share/doc/obnc/obncdoc/obnc/style.css
 share/doc/obnc/obncdoc/style.css
-share/man/man1/obnc-compile.1
-share/man/man1/obnc-path.1
-share/man/man1/obnc.1
-share/man/man1/obncdoc.1
diff --git a/obnc/TODO b/obnc/TODO
index 5d5da3af7d..f9645c2335 100644
--- a/obnc/TODO
+++ b/obnc/TODO
@@ -12,8 +12,6 @@
   framework to selectively-enable using it (which'll probably require patching
   the ./install script).
 
-- Install manpages into ${PREFIX}/man instead of ${PREFIX}/share/man.
-
 - Update DESCR so it's not just a copy of COMMENT.
 
 - Investigate the Standard Library tarball from <http://miasap.se/obnc/>,
diff --git a/obnc/distinfo b/obnc/distinfo
index bc05d488f7..52a650501d 100644
--- a/obnc/distinfo
+++ b/obnc/distinfo
@@ -4,3 +4,4 @@ SHA1 (obnc_0.12.0.tar.gz) = ec12219c4060d8d6b78b0d02c5785783aa778509
 RMD160 (obnc_0.12.0.tar.gz) = 90714832c0a0658910109a275a5469d7f7383a76
 SHA512 (obnc_0.12.0.tar.gz) = 2f7fe4ce5e0e9ec71fcdb7df8badb69cc0c086d3272ff2c4c2b55dc24a37fec762b1c1563a100aa46ca528b2ba9512de252470035cb71af6828309cd203b7cd5
 Size (obnc_0.12.0.tar.gz) = 187778 bytes
+SHA1 (patch-install) = 62a9c83b9bdf4b7ba2a100c7f8c9c35341d81690
diff --git a/obnc/patches/patch-install b/obnc/patches/patch-install
new file mode 100644
index 0000000000..ff0bc705c8
--- /dev/null
+++ b/obnc/patches/patch-install
@@ -0,0 +1,27 @@
+$NetBSD$
+
+1) Install manpages into $PREFIX/man instead of $PREFIX/share/man
+
+--- install.orig	2018-01-01 12:38:47.000000000 +0000
++++ install
+@@ -90,9 +90,9 @@ Install()
+ 	cd - >/dev/null
+ 
+ 	#install man pages
+-	EchoAndRun mkdir -p "$destdir$prefix/share/man/man1"
++	EchoAndRun mkdir -p "$destdir$prefix/man/man1"
+ 	for file in $man1Files; do
+-		EchoAndRun cp "share/man/man1/$file" "$destdir$prefix/share/man/man1"
++		EchoAndRun cp "share/man/man1/$file" "$destdir$prefix/man/man1"
+ 	done
+ }
+ 
+@@ -131,7 +131,7 @@ Uninstall()
+ 
+ 	#delete man pages
+ 	for file in $man1Files; do
+-		EchoAndRun rm -f "$destdir$prefix/share/man/man1/$file"
++		EchoAndRun rm -f "$destdir$prefix/man/man1/$file"
+ 	done
+ }
+ 


Home | Main Index | Thread Index | Old Index