mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
audio/musescore3: Move man pages to share/man
Approved by: portmgr (blanket)
This commit is contained in:
parent
40e12fde73
commit
73265dd401
3 changed files with 13 additions and 30 deletions
|
@ -1,6 +1,7 @@
|
|||
PORTNAME= ${GH_PROJECT:tl}3
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.6.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= adridg@FreeBSD.org
|
||||
|
@ -65,9 +66,9 @@ post-install:
|
|||
${MV} ${STAGEDIR}${PREFIX}/bin/mscore ${STAGEDIR}${PREFIX}/bin/mscore3
|
||||
${RM} ${STAGEDIR}${PREFIX}/bin/musescore
|
||||
${LN} -s mscore3 ${STAGEDIR}${PREFIX}/bin/musescore3
|
||||
${MV} ${STAGEDIR}${PREFIX}/man/man1/mscore.1.gz ${STAGEDIR}${PREFIX}/man/man1/mscore3.1.gz
|
||||
${RM} ${STAGEDIR}${PREFIX}/man/man1/musescore.1.gz
|
||||
${LN} -s mscore3.1.gz ${STAGEDIR}${PREFIX}/man/man1/musescore3.1.gz
|
||||
${MV} ${STAGEDIR}${PREFIX}/share/man/man1/mscore.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/mscore3.1.gz
|
||||
${RM} ${STAGEDIR}${PREFIX}/share/man/man1/musescore.1.gz
|
||||
${LN} -s mscore3.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/musescore3.1.gz
|
||||
${RM} ${STAGEDIR}${DATADIR}/sound/MuseScore_General.sf3
|
||||
${INSTALL_DATA} ${DISTDIR}/MuseScore_General.sf3 ${STAGEDIR}${DATADIR}/sound/
|
||||
${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 2023-09-19 20:26:07.529933000 +0000
|
||||
@@ -25,7 +25,7 @@
|
||||
--- CMakeLists.txt.orig 2021-02-08 12:16:37 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -25,7 +25,7 @@ include(build/functions.cmake) # library of CMake func
|
||||
include(build/functions.cmake) # library of CMake functions ("fn__" namespace)
|
||||
|
||||
# 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.
|
||||
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}")
|
||||
|
||||
# Setup version number and general build settings
|
||||
|
@ -18,7 +18,7 @@
|
|||
# Possible MUSESCORE_BUILD_CONFIG values:
|
||||
# - dev - for development/nightly builds
|
||||
# - 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_POPPLER "Use system Poppler for OMR" OFF)
|
||||
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
|
||||
set(OCR OFF)
|
||||
@@ -629,6 +629,38 @@
|
||||
@@ -629,6 +629,38 @@ else(APPLE)
|
||||
set_target_properties(oggdll PROPERTIES IMPORTED_IMPLIB ${OGG_LIBRARY})
|
||||
else (MINGW OR MSVC)
|
||||
set(SNDFILE_LIB sndfile)
|
||||
|
@ -66,25 +66,7 @@
|
|||
endif (MINGW OR MSVC)
|
||||
set(OGG_LIB ogg)
|
||||
|
||||
@@ -733,7 +765,7 @@
|
||||
)
|
||||
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 @@
|
||||
@@ -771,8 +803,8 @@ if (NOT MSVC)
|
||||
# MSVC does not require these targets, as all.h is not copied and the
|
||||
# PCH generation is done per-project
|
||||
if (NOT MSVC)
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
bin/mscore3
|
||||
bin/musescore3
|
||||
man/man1/mscore3.1.gz
|
||||
man/man1/musescore3.1.gz
|
||||
share/applications/mscore3.desktop
|
||||
share/icons/hicolor/128x128/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-x-musescore+xml.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/mime/packages/musescore.xml
|
||||
%%DATADIR%%/demos/Brassed_Up.mscx
|
||||
|
|
Loading…
Add table
Reference in a new issue