summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2017-06-28 09:44:43 +0000
committerwiedi <wiedi@pkgsrc.org>2017-06-28 09:44:43 +0000
commit71daa92bce007de5866e1b43defba1267d4eb0e5 (patch)
treec4de9da601606d416f3b89694ebe3983e7665522
parent266031af2faf2663294fa39ca54ceedf4bfd98b2 (diff)
downloadpkgsrc-71daa92bce007de5866e1b43defba1267d4eb0e5.tar.gz
add support for PKGMANDIR
-rw-r--r--audio/hydrogen/Makefile3
-rw-r--r--audio/hydrogen/distinfo3
-rw-r--r--audio/hydrogen/patches/patch-CMakeLists.txt14
3 files changed, 18 insertions, 2 deletions
diff --git a/audio/hydrogen/Makefile b/audio/hydrogen/Makefile
index 6446c664f76..32cc174c9dc 100644
--- a/audio/hydrogen/Makefile
+++ b/audio/hydrogen/Makefile
@@ -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"
diff --git a/audio/hydrogen/distinfo b/audio/hydrogen/distinfo
index 046b59d1b44..e91a2f16760 100644
--- a/audio/hydrogen/distinfo
+++ b/audio/hydrogen/distinfo
@@ -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 --git a/audio/hydrogen/patches/patch-CMakeLists.txt b/audio/hydrogen/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..58732b46411
--- /dev/null
+++ b/audio/hydrogen/patches/patch-CMakeLists.txt
@@ -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()
+
+ #