pkgsrc-WIP-changes archive

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

cmark: Fix installation dir of man-pages



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Feb 28 03:51:15 2016 +0100
Changeset:	d735a29c0b5afaf2338341b2a25744d15d20a383

Modified Files:
	cmark/PLIST
	cmark/distinfo
Added Files:
	cmark/patches/patch-man_CMakeLists.txt

Log Message:
cmark: Fix installation dir of man-pages

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

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

diffstat:
 cmark/PLIST                            |  4 ++--
 cmark/distinfo                         |  1 +
 cmark/patches/patch-man_CMakeLists.txt | 18 ++++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs:
diff --git a/cmark/PLIST b/cmark/PLIST
index 73e70e8..158eaa0 100644
--- a/cmark/PLIST
+++ b/cmark/PLIST
@@ -7,5 +7,5 @@ lib/libcmark.a
 lib/libcmark.so
 lib/libcmark.so.${PKGVERSION}
 lib/pkgconfig/libcmark.pc
-share/man/man1/cmark.1
-share/man/man3/cmark.3
+man/man1/cmark.1
+man/man3/cmark.3
diff --git a/cmark/distinfo b/cmark/distinfo
index d918df2..deb463e 100644
--- a/cmark/distinfo
+++ b/cmark/distinfo
@@ -4,4 +4,5 @@ SHA1 (cmark-0.24.1.tar.gz) = bfd17ef9cae14a74a7b2d1c3f171ced3ce9a5c8a
 RMD160 (cmark-0.24.1.tar.gz) = 70dbf24b47c9f9b8b4c8e2d55bcfa92d636056a6
 SHA512 (cmark-0.24.1.tar.gz) = ad6381b0a876472d85fa68e538caeebe3ee2f042c7cd479da1e025164f1ada7ee25ccbdb2d97cc2198de8c903950ba1648f39cef868f9c4f3ccd37db3c9c33b9
 Size (cmark-0.24.1.tar.gz) = 205568 bytes
+SHA1 (patch-man_CMakeLists.txt) = 310fe6af0c85542f1e73d78962edc2beffda4a03
 SHA1 (patch-src_commonmark.c) = 39aeafbda996f420d5a79912faa3e2813af4d5bd
diff --git a/cmark/patches/patch-man_CMakeLists.txt b/cmark/patches/patch-man_CMakeLists.txt
new file mode 100644
index 0000000..d044531
--- /dev/null
+++ b/cmark/patches/patch-man_CMakeLists.txt
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- man/CMakeLists.txt.orig	2016-01-18 05:53:29.000000000 +0000
++++ man/CMakeLists.txt
+@@ -1,8 +1,10 @@
+ if (NOT MSVC)
++
++include(GNUInstallDirs)
++
+   install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man1/cmark.1
+-    DESTINATION share/man/man1)
++    DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+ 
+   install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man3/cmark.3
+-    DESTINATION share/man/man3)
++    DESTINATION ${CMAKE_INSTALL_MANDIR}/man3)
+ endif(NOT MSVC)
+-


Home | Main Index | Thread Index | Old Index