pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/autopano-sift-C graphics/autopano-sift-C: Ins...
details: https://anonhg.NetBSD.org/pkgsrc/rev/30be98630f89
branches: trunk
changeset: 366870:30be98630f89
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Aug 19 00:19:37 2017 +0000
description:
graphics/autopano-sift-C: Install manpages into ${PKGMANDIR}.
This package uses CMake to configure the software. Include the
GNUInstallDirs CMake module to define CMAKE_INSTALL_<dir> macros,
and use CMAKE_INSTALL_MANDIR as the location for the installed
manpages. The correct environment variables are passed so that
${CMAKE_INSTALL_MANDIR} points into ${PKGMANDIR}.
diffstat:
graphics/autopano-sift-C/distinfo | 4 ++--
graphics/autopano-sift-C/patches/patch-aa | 21 +++++++++++++++------
2 files changed, 17 insertions(+), 8 deletions(-)
diffs (48 lines):
diff -r 6d4f396ca793 -r 30be98630f89 graphics/autopano-sift-C/distinfo
--- a/graphics/autopano-sift-C/distinfo Sat Aug 19 00:19:23 2017 +0000
+++ b/graphics/autopano-sift-C/distinfo Sat Aug 19 00:19:37 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2016/04/14 11:46:39 jperkin Exp $
+$NetBSD: distinfo,v 1.5 2017/08/19 00:19:37 jlam Exp $
SHA1 (autopano-sift-C-2.5.1.tar.gz) = f8c5f4004ae51cb58acc5cedb065ae0ef3e19a8c
RMD160 (autopano-sift-C-2.5.1.tar.gz) = e51d996cdc7dcae3abde22878fe76ff904c55950
SHA512 (autopano-sift-C-2.5.1.tar.gz) = 4f3c9e8738c7bc29ff6284033b7b813de61ef440c3d544755be8c4ad715a6e4175801ee4c02642df5e05bac82929c5554d85a5c488a2c27da1e5e81d3cd72931
Size (autopano-sift-C-2.5.1.tar.gz) = 192267 bytes
SHA1 (patch-APSCpp_ANN_kd__split.cpp) = 86e6a31fea8cb7a67245481ea911de1f01839851
-SHA1 (patch-aa) = 7f5fbf5a7b0b9e9f936a4d3883b9415d421b2cc5
+SHA1 (patch-aa) = fc188509b25adb206682f98648d4751545c11c4c
diff -r 6d4f396ca793 -r 30be98630f89 graphics/autopano-sift-C/patches/patch-aa
--- a/graphics/autopano-sift-C/patches/patch-aa Sat Aug 19 00:19:23 2017 +0000
+++ b/graphics/autopano-sift-C/patches/patch-aa Sat Aug 19 00:19:37 2017 +0000
@@ -1,15 +1,24 @@
-$NetBSD: patch-aa,v 1.1 2009/10/22 18:34:30 adam Exp $
+$NetBSD: patch-aa,v 1.2 2017/08/19 00:19:37 jlam Exp $
---- CMakeLists.txt.orig 2009-10-22 20:10:38.000000000 +0200
-+++ CMakeLists.txt
-@@ -155,8 +155,8 @@ endif (WIN32)
+--- CMakeLists.txt.orig 2009-10-06 16:51:08.000000000 -0400
++++ CMakeLists.txt 2017-08-17 21:55:51.000000000 -0400
+@@ -20,6 +20,8 @@
+ #use local CMake modules
+ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeModules )
+
++include(GNUInstallDirs)
++
+ # Put source root on the include search list
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
+
+@@ -155,8 +157,8 @@
# documentation
FILE(GLOB MAN_PAGES_1 doc/*.1)
FILE(GLOB MAN_PAGES_7 doc/*.7)
-install(FILES ${MAN_PAGES_1} DESTINATION share/man/man1)
-install(FILES ${MAN_PAGES_7} DESTINATION share/man/man7)
-+install(FILES ${MAN_PAGES_1} DESTINATION man/man1)
-+install(FILES ${MAN_PAGES_7} DESTINATION man/man7)
++install(FILES ${MAN_PAGES_1} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
++install(FILES ${MAN_PAGES_7} DESTINATION ${CMAKE_INSTALL_MANDIR}/man7)
## Test exectuables.
Home |
Main Index |
Thread Index |
Old Index