2018-01-27 06:19:51 +00:00
|
|
|
PORTNAME= guidolib
|
2021-10-25 15:44:46 +00:00
|
|
|
PORTVERSION= 1.7.1 # https://guido.grame.fr/dox/api/ has version in the format N.N.N
|
|
|
|
PORTEPOCH= 1
|
2018-01-27 06:19:51 +00:00
|
|
|
CATEGORIES= audio graphics print
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Library for graphic rendering of music scores
|
|
|
|
|
|
|
|
LICENSE= MPL20
|
2021-02-23 07:04:14 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2018-01-27 06:19:51 +00:00
|
|
|
|
2021-02-23 07:04:14 +00:00
|
|
|
LIB_DEPENDS= libmidisharelight.so:audio/midisharelight
|
2018-01-27 06:19:51 +00:00
|
|
|
|
2021-10-24 16:18:43 +00:00
|
|
|
USES= compiler:c++11-lang gl cmake gnome localbase:ldflags pkgconfig qt:5 xorg
|
2018-06-28 17:39:53 +00:00
|
|
|
USE_QT= core gui widgets printsupport xml buildtools_build qmake_build
|
2018-01-27 06:19:51 +00:00
|
|
|
USE_GL= gl
|
|
|
|
USE_GNOME= cairo
|
|
|
|
USE_LDCONFIG= yes
|
2021-02-23 07:04:14 +00:00
|
|
|
|
2021-10-24 16:18:43 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= grame-cncm
|
2021-10-25 15:44:46 +00:00
|
|
|
GH_TAGNAME= v${PORTVERSION:S/.//g}
|
2018-01-27 06:19:51 +00:00
|
|
|
|
2021-10-24 16:18:43 +00:00
|
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/build
|
2018-01-27 06:19:51 +00:00
|
|
|
|
2021-02-23 07:04:14 +00:00
|
|
|
LDFLAGS+= -lmidisharelight
|
|
|
|
|
2018-01-27 06:19:51 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2021-10-24 16:18:43 +00:00
|
|
|
|
2018-01-27 06:19:51 +00:00
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
2021-07-04 16:55:16 +00:00
|
|
|
BINARY_ALIAS= qmake=${QMAKE}
|
|
|
|
|
2018-01-27 06:19:51 +00:00
|
|
|
post-extract:
|
|
|
|
@${RM} -r ${WRKSRC}/src/midisharelight
|
|
|
|
|
2021-02-23 07:04:14 +00:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libGUIDOEngine.so.*
|
|
|
|
${RM} -r ${STAGEDIR}${DATADIR}/python
|
|
|
|
|
2018-01-27 06:19:51 +00:00
|
|
|
do-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/package/doc/*.pdf ${STAGEDIR}${DOCSDIR}
|
|
|
|
${CP} -r ${WRKSRC}/package/doc/html ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|