diff options
author | jlam <jlam@pkgsrc.org> | 2017-08-19 00:19:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2017-08-19 00:19:37 +0000 |
commit | ccb9369586a39c423d5cb9f2d10961f515f22870 (patch) | |
tree | c43ca72d17be39c2cc13229efba4faed2432b2e6 /graphics | |
parent | d6ea076358cea25178ca47d57d30515047261df0 (diff) | |
download | pkgsrc-ccb9369586a39c423d5cb9f2d10961f515f22870.tar.gz |
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 (limited to 'graphics')
-rw-r--r-- | graphics/autopano-sift-C/distinfo | 4 | ||||
-rw-r--r-- | graphics/autopano-sift-C/patches/patch-aa | 21 |
2 files changed, 17 insertions, 8 deletions
diff --git a/graphics/autopano-sift-C/distinfo b/graphics/autopano-sift-C/distinfo index 65e80b069f1..671ca62eae4 100644 --- a/graphics/autopano-sift-C/distinfo +++ b/graphics/autopano-sift-C/distinfo @@ -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 --git a/graphics/autopano-sift-C/patches/patch-aa b/graphics/autopano-sift-C/patches/patch-aa index bee1f836842..e022df5043e 100644 --- a/graphics/autopano-sift-C/patches/patch-aa +++ b/graphics/autopano-sift-C/patches/patch-aa @@ -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. |