summaryrefslogtreecommitdiff
path: root/audio/oaml/Makefile
blob: 253f2dab19061dbc5d30cf22a0929a6095f8102e (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
32
33
34
35
36
37
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=	oaml
PORTVERSION=	1.3.4
PORTREVISION=	1
DISTVERSIONPREFIX=	v
CATEGORIES=	audio

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Open Adaptive Music Library

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.md

LIB_DEPENDS=	libogg.so:audio/libogg \
		libvorbis.so:audio/libvorbis \
		libvorbisfile.so:audio/libvorbis

USE_GITHUB=	yes
GH_ACCOUNT=	oamldev

USES=		cmake compiler:c++11-lang
CMAKE_ARGS=	-DENABLE_UNITYPLUGIN:BOOL=OFF

PORTDOCS=	*

OPTIONS_DEFINE=		DOCS SOXR
OPTIONS_DEFAULT=	SOXR
SOXR_LIB_DEPENDS=	libsoxr.so:audio/libsoxr
SOXR_CMAKE_BOOL=	ENABLE_SOXR

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>