Index: audio/Makefile =================================================================== --- audio/Makefile +++ audio/Makefile @@ -410,6 +410,7 @@ SUBDIR += libmpdclient SUBDIR += libmusicbrainz3 SUBDIR += libmusicbrainz5 + SUBDIR += libmusicxml SUBDIR += libnjb SUBDIR += libnoise SUBDIR += libogg Index: audio/libmusicxml/Makefile =================================================================== --- /dev/null +++ audio/libmusicxml/Makefile @@ -0,0 +1,34 @@ +# $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 +USE_GITHUB= yes +GH_ACCOUNT= grame-cncm +GH_TAGNAME= 91347ae +USE_LDCONFIG= yes +CMAKE_SOURCE_PATH= ${WRKSRC}/build + +OPTIONS_DEFINE= DOCS +PORTDOCS= * + +post-patch: + @${REINPLACE_CMD} -i '' -e ' \ + s|LIBRARY DESTINATION /usr/lib|LIBRARY DESTINATION ${PREFIX}/lib|' \ + ${WRKSRC}/build/CMakeLists.txt + +post-build-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} \ + ${WRKSRC}/doc/presentation/libmusicxml2.pdf \ + ${STAGEDIR}${DOCSDIR} + +.include Index: audio/libmusicxml/distinfo =================================================================== --- /dev/null +++ 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: audio/libmusicxml/pkg-descr =================================================================== --- /dev/null +++ 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: audio/libmusicxml/pkg-plist =================================================================== --- /dev/null +++ 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