pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/hydrogen



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Wed Jun 28 09:44:44 UTC 2017

Modified Files:
        pkgsrc/audio/hydrogen: Makefile distinfo
Added Files:
        pkgsrc/audio/hydrogen/patches: patch-CMakeLists.txt

Log Message:
add support for PKGMANDIR


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/audio/hydrogen/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/audio/hydrogen/distinfo
cvs rdiff -u -r0 -r1.4 pkgsrc/audio/hydrogen/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/audio/hydrogen/Makefile
diff -u pkgsrc/audio/hydrogen/Makefile:1.53 pkgsrc/audio/hydrogen/Makefile:1.54
--- pkgsrc/audio/hydrogen/Makefile:1.53 Wed Nov 30 12:34:20 2016
+++ pkgsrc/audio/hydrogen/Makefile      Wed Jun 28 09:44:43 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2016/11/30 12:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2017/06/28 09:44:43 wiedi Exp $
 
 DISTNAME=      Hydrogen-0.9.7
 PKGNAME=       ${DISTNAME:tl}
@@ -30,6 +30,7 @@ CMAKE_ARGS+=  -DWANT_PULSEAUDIO=OFF
 # NetBSD libarchive is old?
 CMAKE_ARGS+=   -DWANT_LIBARCHIVE=OFF
 CMAKE_ARGS+=   -DWANT_LIBTAR=ON
+CMAKE_ARGS+=   -DPKGMANDIR=${PKGMANDIR}
 
 .include "../../mk/bsd.prefs.mk"
 

Index: pkgsrc/audio/hydrogen/distinfo
diff -u pkgsrc/audio/hydrogen/distinfo:1.16 pkgsrc/audio/hydrogen/distinfo:1.17
--- pkgsrc/audio/hydrogen/distinfo:1.16 Wed Nov 30 12:43:35 2016
+++ pkgsrc/audio/hydrogen/distinfo      Wed Jun 28 09:44:43 2017
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.16 2016/11/30 12:43:35 wiz Exp $
+$NetBSD: distinfo,v 1.17 2017/06/28 09:44:43 wiedi Exp $
 
 SHA1 (Hydrogen-0.9.7.tar.gz) = 016c5427d0598f933f0975d6d25434736ba0a0b6
 RMD160 (Hydrogen-0.9.7.tar.gz) = 87d2bed2ef1fd84e5cb9bcfc4a89b40818610ce0
 SHA512 (Hydrogen-0.9.7.tar.gz) = 1480a18d1181d12e92a53e89a4d1c8f4ae9a8a9a02271e6af4089afaaca9d658abb3876dc7db08a453bbe3ab7f66f31567d992f30102818782b62ebba5141f58
 Size (Hydrogen-0.9.7.tar.gz) = 6424575 bytes
+SHA1 (patch-CMakeLists.txt) = 1cece0d6151fd5b7e00ba41e710d52dea9ed0ee6
 SHA1 (patch-src_core_src_logger.cpp) = 27c778a352b917a4a33eeab87b0855a631da471b

Added files:

Index: pkgsrc/audio/hydrogen/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/audio/hydrogen/patches/patch-CMakeLists.txt:1.4
--- /dev/null   Wed Jun 28 09:44:44 2017
+++ pkgsrc/audio/hydrogen/patches/patch-CMakeLists.txt  Wed Jun 28 09:44:44 2017
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.4 2017/06/28 09:44:44 wiedi Exp $
+
+support PKGMANDIR
+--- CMakeLists.txt.orig        2016-11-05 08:22:50.000000000 +0000
++++ CMakeLists.txt
+@@ -358,7 +358,7 @@ ENDIF()
+ IF(NOT MINGW AND NOT APPLE)
+       INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.appdata.xml DESTINATION "${CMAKE_INSTALL_PREFIX}/share/appdata")
+       INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
+-      INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.1 DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man1")
++      INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/${PKGMANDIR}/man1)
+ ENDIF()
+ 
+ #



Home | Main Index | Thread Index | Old Index