audio/musescore3: Move man pages to share/man
Approved by: portmgr (blanket)
This commit is contained in:
parent
40e12fde73
commit
73265dd401
@ -1,6 +1,7 @@
|
|||||||
PORTNAME= ${GH_PROJECT:tl}3
|
PORTNAME= ${GH_PROJECT:tl}3
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 3.6.2
|
DISTVERSION= 3.6.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
|
|
||||||
MAINTAINER= adridg@FreeBSD.org
|
MAINTAINER= adridg@FreeBSD.org
|
||||||
@ -65,9 +66,9 @@ post-install:
|
|||||||
${MV} ${STAGEDIR}${PREFIX}/bin/mscore ${STAGEDIR}${PREFIX}/bin/mscore3
|
${MV} ${STAGEDIR}${PREFIX}/bin/mscore ${STAGEDIR}${PREFIX}/bin/mscore3
|
||||||
${RM} ${STAGEDIR}${PREFIX}/bin/musescore
|
${RM} ${STAGEDIR}${PREFIX}/bin/musescore
|
||||||
${LN} -s mscore3 ${STAGEDIR}${PREFIX}/bin/musescore3
|
${LN} -s mscore3 ${STAGEDIR}${PREFIX}/bin/musescore3
|
||||||
${MV} ${STAGEDIR}${PREFIX}/man/man1/mscore.1.gz ${STAGEDIR}${PREFIX}/man/man1/mscore3.1.gz
|
${MV} ${STAGEDIR}${PREFIX}/share/man/man1/mscore.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/mscore3.1.gz
|
||||||
${RM} ${STAGEDIR}${PREFIX}/man/man1/musescore.1.gz
|
${RM} ${STAGEDIR}${PREFIX}/share/man/man1/musescore.1.gz
|
||||||
${LN} -s mscore3.1.gz ${STAGEDIR}${PREFIX}/man/man1/musescore3.1.gz
|
${LN} -s mscore3.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/musescore3.1.gz
|
||||||
${RM} ${STAGEDIR}${DATADIR}/sound/MuseScore_General.sf3
|
${RM} ${STAGEDIR}${DATADIR}/sound/MuseScore_General.sf3
|
||||||
${INSTALL_DATA} ${DISTDIR}/MuseScore_General.sf3 ${STAGEDIR}${DATADIR}/sound/
|
${INSTALL_DATA} ${DISTDIR}/MuseScore_General.sf3 ${STAGEDIR}${DATADIR}/sound/
|
||||||
${FIND} ${STAGEDIR}${PREFIX} -name mscore.png -execdir ${MV} mscore.png mscore3.png \;
|
${FIND} ${STAGEDIR}${PREFIX} -name mscore.png -execdir ${MV} mscore.png mscore3.png \;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
--- CMakeLists.txt.orig 2023-09-19 20:26:02.967705000 +0000
|
--- CMakeLists.txt.orig 2021-02-08 12:16:37 UTC
|
||||||
+++ CMakeLists.txt 2023-09-19 20:26:07.529933000 +0000
|
+++ CMakeLists.txt
|
||||||
@@ -25,7 +25,7 @@
|
@@ -25,7 +25,7 @@ include(build/functions.cmake) # library of CMake func
|
||||||
include(build/functions.cmake) # library of CMake functions ("fn__" namespace)
|
include(build/functions.cmake) # library of CMake functions ("fn__" namespace)
|
||||||
|
|
||||||
# Print Qt version or fail the build if Qt (qmake) is not in PATH.
|
# Print Qt version or fail the build if Qt (qmake) is not in PATH.
|
||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# Libraries linked via full path no longer produce linker search paths.
|
# Libraries linked via full path no longer produce linker search paths.
|
||||||
cmake_policy(SET CMP0003 NEW)
|
cmake_policy(SET CMP0003 NEW)
|
||||||
@@ -108,7 +108,7 @@
|
@@ -108,7 +108,7 @@ add_definitions(-DMUSESCORE_REVISION="${MUSESCORE_REVI
|
||||||
add_definitions(-DMUSESCORE_REVISION="${MUSESCORE_REVISION}")
|
add_definitions(-DMUSESCORE_REVISION="${MUSESCORE_REVISION}")
|
||||||
|
|
||||||
# Setup version number and general build settings
|
# Setup version number and general build settings
|
||||||
@ -18,7 +18,7 @@
|
|||||||
# Possible MUSESCORE_BUILD_CONFIG values:
|
# Possible MUSESCORE_BUILD_CONFIG values:
|
||||||
# - dev - for development/nightly builds
|
# - dev - for development/nightly builds
|
||||||
# - testing - for testing versions (alpha, beta, RC)
|
# - testing - for testing versions (alpha, beta, RC)
|
||||||
@@ -157,7 +157,7 @@
|
@@ -157,7 +157,7 @@ option(BUILD_LAME "Enable MP3 export"
|
||||||
option(USE_SYSTEM_FREETYPE "Use system FreeType" OFF) # requires freetype >= 2.5.2, does not work on win
|
option(USE_SYSTEM_FREETYPE "Use system FreeType" OFF) # requires freetype >= 2.5.2, does not work on win
|
||||||
option(USE_SYSTEM_POPPLER "Use system Poppler for OMR" OFF)
|
option(USE_SYSTEM_POPPLER "Use system Poppler for OMR" OFF)
|
||||||
option(BUILD_LAME "Enable MP3 export" ON) # Requires libmp3lame, call CMake with -DBUILD_LAME="OFF" to disable
|
option(BUILD_LAME "Enable MP3 export" ON) # Requires libmp3lame, call CMake with -DBUILD_LAME="OFF" to disable
|
||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
# licence incompatibility, must never be distributed
|
# licence incompatibility, must never be distributed
|
||||||
set(OCR OFF)
|
set(OCR OFF)
|
||||||
@@ -629,6 +629,38 @@
|
@@ -629,6 +629,38 @@ else(APPLE)
|
||||||
set_target_properties(oggdll PROPERTIES IMPORTED_IMPLIB ${OGG_LIBRARY})
|
set_target_properties(oggdll PROPERTIES IMPORTED_IMPLIB ${OGG_LIBRARY})
|
||||||
else (MINGW OR MSVC)
|
else (MINGW OR MSVC)
|
||||||
set(SNDFILE_LIB sndfile)
|
set(SNDFILE_LIB sndfile)
|
||||||
@ -66,25 +66,7 @@
|
|||||||
endif (MINGW OR MSVC)
|
endif (MINGW OR MSVC)
|
||||||
set(OGG_LIB ogg)
|
set(OGG_LIB ogg)
|
||||||
|
|
||||||
@@ -733,7 +765,7 @@
|
@@ -771,8 +803,8 @@ if (NOT MSVC)
|
||||||
)
|
|
||||||
endif (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
|
||||||
# Install man pages in either compressed or uncompressed form
|
|
||||||
- install( FILES ${MAN_BUILD} DESTINATION share/man/man1 COMPONENT doc)
|
|
||||||
+ install( FILES ${MAN_BUILD} DESTINATION man/man1 COMPONENT doc)
|
|
||||||
# Create symlink alias for man pages so `man musescore` = `man mscore`
|
|
||||||
find_program( LN_EXECUTABLE ln DOC "A tool for creating symbolic link aliases (optional)." )
|
|
||||||
if (LN_EXECUTABLE)
|
|
||||||
@@ -744,7 +776,7 @@
|
|
||||||
COMMAND ${LN_EXECUTABLE} -sf "${MAN_FULL_NAME}" "${MAN_FULL_ALIAS}"
|
|
||||||
COMMAND echo 'Symlink alias: ${MAN_FULL_ALIAS} -> ${MAN_FULL_NAME}'
|
|
||||||
)
|
|
||||||
- install( FILES ${PROJECT_BINARY_DIR}/${MAN_FULL_ALIAS} DESTINATION share/man/man1 COMPONENT doc)
|
|
||||||
+ install( FILES ${PROJECT_BINARY_DIR}/${MAN_FULL_ALIAS} DESTINATION man/man1 COMPONENT doc)
|
|
||||||
else (LN_EXECUTABLE)
|
|
||||||
message(STATUS "'ln' not found (it is optional). No symlink aliases will be created.")
|
|
||||||
endif (LN_EXECUTABLE)
|
|
||||||
@@ -771,8 +803,8 @@
|
|
||||||
# MSVC does not require these targets, as all.h is not copied and the
|
# MSVC does not require these targets, as all.h is not copied and the
|
||||||
# PCH generation is done per-project
|
# PCH generation is done per-project
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
bin/mscore3
|
bin/mscore3
|
||||||
bin/musescore3
|
bin/musescore3
|
||||||
man/man1/mscore3.1.gz
|
|
||||||
man/man1/musescore3.1.gz
|
|
||||||
share/applications/mscore3.desktop
|
share/applications/mscore3.desktop
|
||||||
share/icons/hicolor/128x128/apps/mscore3.png
|
share/icons/hicolor/128x128/apps/mscore3.png
|
||||||
share/icons/hicolor/16x16/apps/mscore3.png
|
share/icons/hicolor/16x16/apps/mscore3.png
|
||||||
@ -20,6 +18,8 @@ share/icons/hicolor/scalable/mimetypes/application-vnd.recordare.musicxml+xml.sv
|
|||||||
share/icons/hicolor/scalable/mimetypes/application-vnd.recordare.musicxml.svg
|
share/icons/hicolor/scalable/mimetypes/application-vnd.recordare.musicxml.svg
|
||||||
share/icons/hicolor/scalable/mimetypes/application-x-musescore+xml.svg
|
share/icons/hicolor/scalable/mimetypes/application-x-musescore+xml.svg
|
||||||
share/icons/hicolor/scalable/mimetypes/application-x-musescore.svg
|
share/icons/hicolor/scalable/mimetypes/application-x-musescore.svg
|
||||||
|
share/man/man1/mscore3.1.gz
|
||||||
|
share/man/man1/musescore3.1.gz
|
||||||
share/metainfo/org.musescore.MuseScore.appdata.xml
|
share/metainfo/org.musescore.MuseScore.appdata.xml
|
||||||
share/mime/packages/musescore.xml
|
share/mime/packages/musescore.xml
|
||||||
%%DATADIR%%/demos/Brassed_Up.mscx
|
%%DATADIR%%/demos/Brassed_Up.mscx
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user