pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/milkytracker milkytracker: Resolve inconsistent ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db40504622a7
branches:  trunk
changeset: 414376:db40504622a7
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Mar 26 13:11:16 2020 +0000

description:
milkytracker: Resolve inconsistent PLIST on different platforms

diffstat:

 audio/milkytracker/Makefile                          |  10 +++++++-
 audio/milkytracker/PLIST                             |   3 +-
 audio/milkytracker/distinfo                          |   3 +-
 audio/milkytracker/patches/patch-docs_CMakeLists.txt |  21 ++++++++++++++++++++
 4 files changed, 33 insertions(+), 4 deletions(-)

diffs (80 lines):

diff -r 17cbc47925f7 -r db40504622a7 audio/milkytracker/Makefile
--- a/audio/milkytracker/Makefile       Thu Mar 26 12:46:58 2020 +0000
+++ b/audio/milkytracker/Makefile       Thu Mar 26 13:11:16 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2020/03/08 16:48:46 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2020/03/26 13:11:16 nia Exp $
 
 DISTNAME=      milkytracker-1.02.00
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=milkytracker/}
 GITHUB_PROJECT=        MilkyTracker
@@ -16,6 +16,12 @@
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++03
 
+# Resolve inconsistent PLIST on diferent platforms.
+# As in docs/CMakeLists.txt, on "BSD", "share/doc/milkytracker" is always used
+# Otherwise, "share/doc/MilkyTracker" is used.
+# This is silly.
+CMAKE_ARGS+=   -DCMAKE_INSTALL_DOCDIR="share/doc/milkytracker"
+
 INSTALLATION_DIRS+=    share/appdata
 INSTALLATION_DIRS+=    share/applications
 INSTALLATION_DIRS+=    share/pixmaps
diff -r 17cbc47925f7 -r db40504622a7 audio/milkytracker/PLIST
--- a/audio/milkytracker/PLIST  Thu Mar 26 12:46:58 2020 +0000
+++ b/audio/milkytracker/PLIST  Thu Mar 26 13:11:16 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/09/21 11:32:08 nia Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/03/26 13:11:16 nia Exp $
 bin/milkytracker
 share/appdata/milkytracker.appdata.xml
 share/applications/milkytracker.desktop
@@ -8,6 +8,7 @@
 share/doc/milkytracker/FAQ.html
 share/doc/milkytracker/MilkyTracker.html
 share/doc/milkytracker/TiTAN.nfo
+share/doc/milkytracker/readme_unix
 share/milkytracker/songs/milky.xm
 share/milkytracker/songs/slumberjack.xm
 share/milkytracker/songs/sv_ttt.xm
diff -r 17cbc47925f7 -r db40504622a7 audio/milkytracker/distinfo
--- a/audio/milkytracker/distinfo       Thu Mar 26 12:46:58 2020 +0000
+++ b/audio/milkytracker/distinfo       Thu Mar 26 13:11:16 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2019/09/21 11:32:08 nia Exp $
+$NetBSD: distinfo,v 1.11 2020/03/26 13:11:16 nia Exp $
 
 SHA1 (milkytracker-1.02.00.tar.gz) = 04c04fd429316cabe197baa1c510c4a81e9aef40
 RMD160 (milkytracker-1.02.00.tar.gz) = 1376ce67426b46e90f871c48ef5469ec6eae46c7
 SHA512 (milkytracker-1.02.00.tar.gz) = 479a7b3198d97c68dca4fa772a2aa64d7f740957f5d8038fabfb303e724c85aec0865746a0a5c3ef6b9599b78892dcda22727ab2bb80ae38764bcf81b249e134
 Size (milkytracker-1.02.00.tar.gz) = 3753882 bytes
+SHA1 (patch-docs_CMakeLists.txt) = 096dc06a4f898665a00d409cfb124925df9f93f6
diff -r 17cbc47925f7 -r db40504622a7 audio/milkytracker/patches/patch-docs_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/milkytracker/patches/patch-docs_CMakeLists.txt      Thu Mar 26 13:11:16 2020 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-docs_CMakeLists.txt,v 1.1 2020/03/26 13:11:16 nia Exp $
+
+Resolve inconsistent PLIST.
+
+--- docs/CMakeLists.txt.orig   2018-02-24 17:43:23.000000000 +0000
++++ docs/CMakeLists.txt
+@@ -28,14 +28,8 @@ set(
+     ChangeLog.html
+ )
+ 
+-if(${CMAKE_SYSTEM_NAME} MATCHES "BSD")
+-    set(BSD TRUE)
+-endif()
+-
+ if(APPLE)
+     set(INSTALL_DEST Documentation)
+-elseif(BSD)
+-    set(INSTALL_DEST share/doc/${PROJECT_NAME_LOWER})
+ elseif(WIN32)
+     list(APPEND DOCUMENTS readme_rtaudio)
+     set(INSTALL_DEST .)



Home | Main Index | Thread Index | Old Index