aboutsummaryrefslogtreecommitdiffstats
path: root/audio/oaml/Makefile
blob: 660086f42958657a78742267c9b16db8a5b951a1 (plain) (blame)
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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   oaml
PORTVERSION=    1.3.4
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
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>