# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # print/guidolib # print/guidolib/pkg-plist # print/guidolib/pkg-descr # print/guidolib/distinfo # print/guidolib/Makefile # echo c - print/guidolib mkdir -p print/guidolib > /dev/null 2>&1 echo x - print/guidolib/pkg-plist sed 's/^X//' >print/guidolib/pkg-plist << '7c4e080bb3698e54fc9dee0c5e92a800' Xbin/GuidoEditor Xbin/GuidoSceneComposer Xbin/guido2abstract Xbin/guido2image Xbin/guido2midi Xbin/guido2proll Xbin/guido2svg Xbin/guido2svgmap Xbin/guidoar2gr Xbin/guidodraw Xbin/guidogetpagecount Xbin/guidogetpagemap Xbin/guidogetstaffmap Xbin/guidogetsystemmap Xbin/guidogettimemap Xbin/guidogetversion Xbin/guidogetvoicecount Xbin/guidogetvoicemap Xbin/guidoparse Xbin/midi2proll Xinclude/guido/CairoDevice.h Xinclude/guido/CairoFont.h Xinclude/guido/CairoSystem.h Xinclude/guido/Colors.h Xinclude/guido/GUIDO2Midi.h Xinclude/guido/GUIDOEngine.h Xinclude/guido/GUIDOEngineAdapter.h Xinclude/guido/GUIDOExport.h Xinclude/guido/GUIDOFactory.h Xinclude/guido/GUIDOFactoryAdapter.h Xinclude/guido/GUIDOParse.h Xinclude/guido/GUIDOPianoRoll.h Xinclude/guido/GUIDOPianoRollAdapter.h Xinclude/guido/GUIDOReducedProportional.h Xinclude/guido/GUIDOReducedProportionalAdapter.h Xinclude/guido/GUIDOScoreMap.h Xinclude/guido/GUIDOScoreMapAdapter.h Xinclude/guido/TRect.h Xinclude/guido/VGColor.h Xinclude/guido/VGDevice.h Xinclude/guido/VGFont.h Xinclude/guido/VGPen.h Xinclude/guido/VGSystem.h Xlib/libGUIDOEngine.so Xlib/libGUIDOEngine.so.1 Xlib/libGUIDOEngine.so.1.63 Xshare/fonts/guido/guido2.ttf Xshare/icons/hicolor/128x128/apps/guidoeditor.png Xshare/icons/hicolor/128x128/apps/guidoscenecomposer.png Xshare/icons/hicolor/48x48/apps/guidoeditor.png Xshare/icons/hicolor/48x48/apps/guidoscenecomposer.png 7c4e080bb3698e54fc9dee0c5e92a800 echo x - print/guidolib/pkg-descr sed 's/^X//' >print/guidolib/pkg-descr << 'e8ced85b26a095623b83b9631ecf30d6' XThe Guido Engine Library is a generic, portable library and API for the Xgraphical rendering of musical scores. The library is based on the GUIDO XMusic Notation Format as the underlying data format. It takes account of Xthe conventional music notation system and should be flexible enough to Xinclude any graphical sign and musical information if necessary. X XThe GUIDO Music Notation Format [GMN] is a formal language for score level Xmusic representation. It is a plain-text, i.e. readable and platform Xindependent format capable of representing all information contained in Xconventional musical scores. The basic GUIDO Format is very flexible and can Xbe easily extended and adapted to capture a wide variety of musical features Xbeyond conventional musical notation (CMN). The GUIDO design is strongly Xinfluenced by the objective to facilitate an adequate representation of musical Xmaterial, from tiny motives up to complex symphonic scores. GUIDO is a general Xpurpose musical notation format; the intended range of application includes Xnotation software, compositional and analytical systems and tools, performance Xsystems, and large musical databases. It is powerful, flexible, easily Xportable, and human readable. X XWWW: http://guidolib.sourceforge.net e8ced85b26a095623b83b9631ecf30d6 echo x - print/guidolib/distinfo sed 's/^X//' >print/guidolib/distinfo << '28cdc86add9ae00619cc1caef223d09c' XTIMESTAMP = 1503729054 XSHA256 (guidolib-1.63-src.tgz) = 47abbe5bf93a745b3ccff03f02db1c21092c34ad28d47a9290c5c1dfaf9f89ae XSIZE (guidolib-1.63-src.tgz) = 33847653 28cdc86add9ae00619cc1caef223d09c echo x - print/guidolib/Makefile sed 's/^X//' >print/guidolib/Makefile << '57b386f60d0b4a78848d3c4f1256bb84' X# Created by: Yuri Victorovich X# $FreeBSD$ X XPORTNAME= guidolib XPORTVERSION= 1.63 XCATEGORIES= print audio XMASTER_SITES= https://svwh.dl.sourceforge.net/project/${PORTNAME}/Guidolib-src/ XDISTNAME= ${PORTNAME}-${DISTVERSION}-src X XMAINTAINER= yuri@rawbw.com XCOMMENT= Library for graphic rendering of music scores X XLICENSE= MPL X XBUILD_DEPENDS= ${LOCALBASE}/lib/libmidisharelight.a:audio/midisharelight \ X ${LOCALBASE}/bin/cmake:devel/cmake X XUSES= gmake tar:tgz pkgconfig XUSE_QT5= core gui widgets xml printsupport qmake_build buildtools_build XUSE_GL= gl XUSE_GNOME= cairo XUSE_LDCONFIG= yes XINSTALLS_ICONS= yes XWRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-src XBUILD_WRKSRC= ${WRKSRC}/build X X# https://github.com/grame-cncm/guidolib/issues/28 XMAKE_JOBS_UNSAFE= yes X XOPTIONS_DEFINE= DOCS EXAMPLES XPORTEXAMPLES= * XPORTDOCS= * X Xpost-patch: X @${REINPLACE_CMD} -i '' -E ' \ X s|Linux|FreeBSD|; \ X s|([[:space:]])make |\1$$(MAKE) |' \ X ${WRKSRC}/build/Makefile \ X ${WRKSRC}/package/Makefile \ X $$(${FIND} ${WRKSRC}/src -name Makefile) \ X $$(${FIND} ${WRKSRC}/environments/Qt -name Makefile) \ X $$(${FIND} ${WRKSRC}/environments/Qt -name Make.shared) X @${REINPLACE_CMD} -i '' -e ' \ X s|g++|$$(CXX)|' \ X ${WRKSRC}/src/tools/Makefile X @${REINPLACE_CMD} -i '' -e ' \ X s|PUBLIC_HEADER DESTINATION /usr/include/guido|PUBLIC_HEADER DESTINATION ${PREFIX}/include/guido|; \ X s|LIBDEST /usr/lib|LIBDEST ${PREFIX}/lib|; \ X s|LIBPATH "/usr/lib"|LIBPATH "${LOCALBASE}/lib"|' \ X ${WRKSRC}/build/CMakeLists.txt X @${REINPLACE_CMD} -i '' -e ' \ X s/elif linux/elif defined(linux) || defined(__FreeBSD__)/' \ X ${WRKSRC}/src/engine/devices/BinaryFont.cpp \ X ${WRKSRC}/src/engine/devices/SVGFont.cpp \ X ${WRKSRC}/src/engine/devices/AbstractFont.cpp X @${REINPLACE_CMD} -i '' -e ' \ X s/if defined(linux)/if defined(linux) || defined(__FreeBSD__)/' \ X ${WRKSRC}/src/midisharelight/midifile.h X @${REINPLACE_CMD} -i '' -e ' \ X s|-lGUIDOEngine|-L${WRKSRC}/build -lGUIDOEngine|' \ X ${WRKSRC}/environments/Qt/apps/GUIDOEngine.shared \ X ${WRKSRC}/environments/Qt/GuidoServer/GUIDOEngineLink.pri \ X ${WRKSRC}/environments/Qt/libs/GuidoQt/GuidoQt.pro \ X ${WRKSRC}/environments/Qt/apps/guido2image/Makefile \ X ${WRKSRC}/src/tools/Makefile \ X ${WRKSRC}/validate/Makefile X Xdo-install: X ${INSTALL_PROGRAM} \ X ${WRKSRC}/environments/Qt/apps/GuidoEditor/GuidoEditor \ X ${WRKSRC}/environments/Qt/apps/GuidoSceneComposer/GuidoSceneComposer \ X ${WRKSRC}/environments/Qt/apps/guido2image/guido2image \ X ${WRKSRC}/src/tools/build/linux/midi2proll \ X ${WRKSRC}/src/tools/build/linux/guido* \ X ${STAGEDIR}${PREFIX}/bin X @${MKDIR} ${STAGEDIR}${PREFIX}/include/guido X ${INSTALL_DATA} \ X ${WRKSRC}/src/engine/include/*.h \ X ${WRKSRC}/platforms/linux/src/Cairo*.h \ X ${STAGEDIR}${PREFIX}/include/guido X ${INSTALL_LIB} \ X ${WRKSRC}/build/libGUIDOEngine.* \ X ${STAGEDIR}${PREFIX}/lib X @${MKDIR} ${STAGEDIR}${PREFIX}/share/fonts/guido X ${INSTALL_DATA} \ X ${WRKSRC}/src/guido2.ttf \ X ${STAGEDIR}${PREFIX}/share/fonts/guido X.for sz in 48 128 X @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps X ${INSTALL_DATA} \ X ${WRKSRC}/environments/Qt/package/debiansvn/usr/share/icons/hicolor/${sz}x${sz}/apps/* \ X ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps X.endfor X Xdo-install-DOCS-on: X @${MKDIR} ${STAGEDIR}${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/package/doc/*.pdf ${STAGEDIR}${DOCSDIR} X ${CP} -r ${WRKSRC}/package/doc/html ${STAGEDIR}${DOCSDIR} X Xdo-install-EXAMPLES-on: X @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} X ${CP} -r ${WRKSRC}/gmn-examples/* ${STAGEDIR}${EXAMPLESDIR} X X.include 57b386f60d0b4a78848d3c4f1256bb84 exit