pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/hydrogen add support for PKGMANDIR
details: https://anonhg.NetBSD.org/pkgsrc/rev/12887dc2967c
branches: trunk
changeset: 364539:12887dc2967c
user: wiedi <wiedi%pkgsrc.org@localhost>
date: Wed Jun 28 09:44:43 2017 +0000
description:
add support for PKGMANDIR
diffstat:
audio/hydrogen/Makefile | 3 ++-
audio/hydrogen/distinfo | 3 ++-
audio/hydrogen/patches/patch-CMakeLists.txt | 14 ++++++++++++++
3 files changed, 18 insertions(+), 2 deletions(-)
diffs (48 lines):
diff -r e97f261576bd -r 12887dc2967c audio/hydrogen/Makefile
--- a/audio/hydrogen/Makefile Wed Jun 28 09:36:20 2017 +0000
+++ b/audio/hydrogen/Makefile Wed Jun 28 09:44:43 2017 +0000
@@ -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 @@
# NetBSD libarchive is old?
CMAKE_ARGS+= -DWANT_LIBARCHIVE=OFF
CMAKE_ARGS+= -DWANT_LIBTAR=ON
+CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR}
.include "../../mk/bsd.prefs.mk"
diff -r e97f261576bd -r 12887dc2967c audio/hydrogen/distinfo
--- a/audio/hydrogen/distinfo Wed Jun 28 09:36:20 2017 +0000
+++ b/audio/hydrogen/distinfo Wed Jun 28 09:44:43 2017 +0000
@@ -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
diff -r e97f261576bd -r 12887dc2967c audio/hydrogen/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/hydrogen/patches/patch-CMakeLists.txt Wed Jun 28 09:44:43 2017 +0000
@@ -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