blob: 7a300b02131e5a4436646828024499d622247d0c (
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
37
38
39
40
41
42
43
44
|
PORTNAME= sdl2_sound
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.1
CATEGORIES= audio
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Abstract SDL soundfile decoder
WWW= https://icculus.org/SDL_sound/
LICENSE= ZLIB
LICENSE_FILE_ZLIB=${WRKSRC}/LICENSE.txt
USES= cmake sdl
USE_SDL= sdl2
USE_GITHUB= yes
GH_ACCOUNT= icculus
GH_PROJECT= SDL_sound
USE_LDCONFIG= yes
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= MIDI DOCS EXAMPLES
OPTIONS_DEFAULT=MIDI
MIDI_DESC= MIDI support
MIDI_CMAKE_BOOL=SDLSOUND_DECODER_MIDI
MIDI_VARS= LICENSE+=ART10 \
LICENSE_COMB=multi \
LICENSE_FILE_ART10=${WRKSRC}/src/timidity/COPYING
post-install:
@cd ${STAGEDIR}${PREFIX}/bin && ${MV} playsound playsound2
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${INSTALL_DATA} CHANGELOG.txt \
CREDITS.txt README.txt ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|