blob: d74bde261d659aaa1b862a4390d5a3fd57930106 (
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
45
46
47
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= libopenmpt
PORTVERSION= 0.3.12
DISTVERSIONSUFFIX= +release.autotools
CATEGORIES= audio
MASTER_SITES= https://lib.openmpt.org/files/libopenmpt/src/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Module music library based on OpenMPT
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake libtool pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-portaudiocpp
OPTIONS_DEFINE= DOCS EXAMPLES FLAC MPG123 OGG PORTAUDIO SNDFILE VORBIS
OPTIONS_DEFAULT=FLAC MPG123 OGG PORTAUDIO SNDFILE VORBIS
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123
OGG_LIB_DEPENDS= libogg.so:audio/libogg
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
FLAC_CONFIGURE_WITH= flac
MPG123_CONFIGURE_WITH= mpg123
OGG_CONFIGURE_WITH= ogg
PORTAUDIO_CONFIGURE_WITH= portaudio
SNDFILE_CONFIGURE_WITH= sndfile
VORBIS_CONFIGURE_WITH= vorbis vorbisfile
post-install-DOCS-on:
@${RM} ${STAGEDIR}${DOCSDIR}/LICENSE # do not install twice
post-install-EXAMPLES-on:
@${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|