Import audio/clementine-player version 1.2.1_7
[dports.git] / audio / vorbis-tools / Makefile
1 # Created by: t.vanklaveren@student.utwente.nl
2 # $FreeBSD$
3
4 PORTNAME=       vorbis-tools
5 PORTVERSION=    1.4.0
6 PORTREVISION=   6
7 PORTEPOCH=      3
8 CATEGORIES=     audio
9 MASTER_SITES=   http://downloads.xiph.org/releases/vorbis/
10
11 MAINTAINER=     naddy@FreeBSD.org
12 COMMENT=        Play, encode, and manage Ogg Vorbis files
13
14 LIB_DEPENDS=    libao.so:${PORTSDIR}/audio/libao \
15                 libcurl.so:${PORTSDIR}/ftp/curl \
16                 libFLAC.so:${PORTSDIR}/audio/flac \
17                 libkate.so:${PORTSDIR}/multimedia/libkate \
18                 libspeex.so:${PORTSDIR}/audio/speex \
19                 libvorbis.so:${PORTSDIR}/audio/libvorbis
20
21 USES=           iconv pkgconfig
22 GNU_CONFIGURE=  yes
23 CONFIGURE_ENV=  PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
24                 PTHREAD_LIBS="${PTHREAD_LIBS}"
25 CPPFLAGS+=      -I${LOCALBASE}/include
26 LDFLAGS+=       -L${LOCALBASE}/lib
27
28 OPTIONS_DEFINE= NLS
29 OPTIONS_SUB=    yes
30
31 NLS_USES=       gettext
32 NLS_CONFIGURE_ENABLE=   nls
33
34 post-install:
35         ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools
36         ${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
37             ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools/ogg123rc
38
39 .include <bsd.port.mk>