Index: head/audio/Makefile =================================================================== --- head/audio/Makefile +++ head/audio/Makefile @@ -415,6 +415,7 @@ SUBDIR += libmpdclient SUBDIR += libmusicbrainz3 SUBDIR += libmusicbrainz5 + SUBDIR += libmusicxml SUBDIR += libnjb SUBDIR += libnoise SUBDIR += libogg Index: head/audio/libmusicxml/Makefile =================================================================== --- head/audio/libmusicxml/Makefile +++ head/audio/libmusicxml/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= libmusicxml +DISTVERSION= 3.11 +CATEGORIES= audio + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library and tools for the MusicXML format + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/license.txt + +USES= cmake:outsource +USE_GITHUB= yes +GH_ACCOUNT= grame-cncm +GH_TAGNAME= 91347ae +USE_LDCONFIG= yes +CMAKE_SOURCE_PATH= ${WRKSRC}/build + +OPTIONS_DEFINE= DOCS +PORTDOCS= * + +post-build-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} \ + ${WRKSRC}/doc/presentation/libmusicxml2.pdf \ + ${STAGEDIR}${DOCSDIR} + +.include Index: head/audio/libmusicxml/distinfo =================================================================== --- head/audio/libmusicxml/distinfo +++ head/audio/libmusicxml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1509525124 +SHA256 (grame-cncm-libmusicxml-3.11-91347ae_GH0.tar.gz) = 4f9a7009631a2baca9cfa4898603abd851f6be72f5e8d9d0eb5c0cfdc2ffcb55 +SIZE (grame-cncm-libmusicxml-3.11-91347ae_GH0.tar.gz) = 3106105 Index: head/audio/libmusicxml/files/patch-build_CMakeLists.txt =================================================================== --- head/audio/libmusicxml/files/patch-build_CMakeLists.txt +++ head/audio/libmusicxml/files/patch-build_CMakeLists.txt @@ -0,0 +1,11 @@ +--- build/CMakeLists.txt.orig 2017-10-30 10:42:38 UTC ++++ build/CMakeLists.txt +@@ -146,7 +146,7 @@ endif() + if(NOT APPLE) + install ( TARGETS ${target} ${TOOLS} + RUNTIME DESTINATION bin +- LIBRARY DESTINATION /usr/lib ++ LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib + ARCHIVE DESTINATION lib + # FRAMEWORK DESTINATION "/Library/Frameworks" CONFIGURATIONS Release + PUBLIC_HEADER DESTINATION include/libmusicxml Index: head/audio/libmusicxml/pkg-descr =================================================================== --- head/audio/libmusicxml/pkg-descr +++ head/audio/libmusicxml/pkg-descr @@ -0,0 +1,5 @@ +The MusicXML format represents common Western musical notation from the +17th century onwards. It is an xml format that organizes the music into +a header followed by the core music data. + +WWW: https://github.com/grame-cncm/libmusicxml Index: head/audio/libmusicxml/pkg-plist =================================================================== --- head/audio/libmusicxml/pkg-plist +++ head/audio/libmusicxml/pkg-plist @@ -0,0 +1,49 @@ +bin/xml2guido +bin/xmltranspose +include/libmusicxml/basevisitor.h +include/libmusicxml/bimap.h +include/libmusicxml/browser.h +include/libmusicxml/clefvisitor.h +include/libmusicxml/clonevisitor.h +include/libmusicxml/conversions.h +include/libmusicxml/ctree.h +include/libmusicxml/elements.h +include/libmusicxml/exports.h +include/libmusicxml/factory.h +include/libmusicxml/functor.h +include/libmusicxml/guido.h +include/libmusicxml/keysignvisitor.h +include/libmusicxml/keyvisitor.h +include/libmusicxml/libmusicxml.h +include/libmusicxml/metronomevisitor.h +include/libmusicxml/midicontextvisitor.h +include/libmusicxml/musicxmlfactory.h +include/libmusicxml/notevisitor.h +include/libmusicxml/partlistvisitor.h +include/libmusicxml/partsummary.h +include/libmusicxml/rational.h +include/libmusicxml/reader.h +include/libmusicxml/singleton.h +include/libmusicxml/smartlist.h +include/libmusicxml/smartpointer.h +include/libmusicxml/sortvisitor.h +include/libmusicxml/timesignvisitor.h +include/libmusicxml/transposevisitor.h +include/libmusicxml/transposition.h +include/libmusicxml/tree_browser.h +include/libmusicxml/typedefs.h +include/libmusicxml/types.h +include/libmusicxml/unrolled_clonevisitor.h +include/libmusicxml/unrolled_xml_tree_browser.h +include/libmusicxml/versions.h +include/libmusicxml/visitable.h +include/libmusicxml/visitor.h +include/libmusicxml/xml.h +include/libmusicxml/xml2guidovisitor.h +include/libmusicxml/xml_tree_browser.h +include/libmusicxml/xmlfile.h +include/libmusicxml/xmlpart2guido.h +include/libmusicxml/xmlreader.h +include/libmusicxml/xmlvisitor.h +lib/libmusicxml2.so +lib/libmusicxml2.so.3.11