summaryrefslogtreecommitdiff
path: root/audio/libmusicxml/Makefile
blob: 671dc8d9c0cf0ca64aba03efec9051f919a3d5b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	libmusicxml
DISTVERSIONPREFIX=	v
DISTVERSION=	3.18
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Library and tools for the MusicXML format

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/license.txt

USES=		cmake compiler:c++11-lang
USE_GITHUB=	yes
GH_ACCOUNT=	grame-cncm
USE_LDCONFIG=	yes
CMAKE_SOURCE_PATH=	${WRKSRC}/build

OPTIONS_DEFINE=	DOCS
PORTDOCS=	*

post-stage:
	@${RM} ${STAGEDIR}${PREFIX}/CHANGELOG.txt
	@${RM} ${STAGEDIR}${PREFIX}/README.html

post-stage-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} \
		${WRKSRC}/doc/presentation/libmusicxml2.pdf \
		${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>