pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/autopano-sift-C



Module Name:    pkgsrc
Committed By:   jlam
Date:           Sat Aug 19 00:19:37 UTC 2017

Modified Files:
        pkgsrc/graphics/autopano-sift-C: distinfo
        pkgsrc/graphics/autopano-sift-C/patches: patch-aa

Log Message:
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}.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/autopano-sift-C/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/autopano-sift-C/patches/patch-aa

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

Modified files:

Index: pkgsrc/graphics/autopano-sift-C/distinfo
diff -u pkgsrc/graphics/autopano-sift-C/distinfo:1.4 pkgsrc/graphics/autopano-sift-C/distinfo:1.5
--- pkgsrc/graphics/autopano-sift-C/distinfo:1.4        Thu Apr 14 11:46:39 2016
+++ pkgsrc/graphics/autopano-sift-C/distinfo    Sat Aug 19 00:19:37 2017
@@ -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

Index: pkgsrc/graphics/autopano-sift-C/patches/patch-aa
diff -u pkgsrc/graphics/autopano-sift-C/patches/patch-aa:1.1 pkgsrc/graphics/autopano-sift-C/patches/patch-aa:1.2
--- pkgsrc/graphics/autopano-sift-C/patches/patch-aa:1.1        Thu Oct 22 18:34:30 2009
+++ pkgsrc/graphics/autopano-sift-C/patches/patch-aa    Sat Aug 19 00:19:37 2017
@@ -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