1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/audio/guidolib/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

PORTNAME= guidolib
PORTVERSION= 1.7.1 # https://guido.grame.fr/dox/api/ has version in the format N.N.N
PORTEPOCH= 1
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
2021-02-23 07:04:14 +00:00
LIB_DEPENDS= libmidisharelight.so:audio/midisharelight
USES= compiler:c++11-lang gl cmake gnome localbase:ldflags pkgconfig qt:5 xorg
USE_QT= core gui widgets printsupport xml buildtools_build qmake_build
USE_GL= gl
USE_GNOME= cairo
USE_LDCONFIG= yes
2021-02-23 07:04:14 +00:00
USE_GITHUB= yes
GH_ACCOUNT= grame-cncm
GH_TAGNAME= v${PORTVERSION:S/.//g}
CMAKE_SOURCE_PATH= ${WRKSRC}/build
2021-02-23 07:04:14 +00:00
LDFLAGS+= -lmidisharelight
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= *
PORTEXAMPLES= *
BINARY_ALIAS= qmake=${QMAKE}
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
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>