1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= vorbis-tools |
4 |
PORTVERSION= 1.4.0 |
5 |
PORTREVISION= 3 |
6 |
CATEGORIES= audio |
7 |
MASTER_SITES= http://downloads.xiph.org/releases/vorbis/ |
8 |
|
9 |
MAINTAINER= ports@MidnightBSD.org |
10 |
COMMENT= Play, encode, and manage Ogg Vorbis files |
11 |
|
12 |
LICENSE= gpl2 |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
15 |
LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao \ |
16 |
libcurl.so:${PORTSDIR}/ftp/curl \ |
17 |
libFLAC.so:${PORTSDIR}/audio/flac \ |
18 |
libkate.so:${PORTSDIR}/multimedia/libkate \ |
19 |
libspeex.so:${PORTSDIR}/audio/speex \ |
20 |
libvorbis.so:${PORTSDIR}/audio/libvorbis |
21 |
|
22 |
USES= cpe iconv pkgconfig |
23 |
CPE_VENDOR= xiph |
24 |
GNU_CONFIGURE= yes |
25 |
CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" |
26 |
CPPFLAGS+= -I${LOCALBASE}/include |
27 |
LDFLAGS+= -L${LOCALBASE}/lib |
28 |
|
29 |
OPTIONS_DEFINE= NLS |
30 |
OPTIONS_SUB= yes |
31 |
|
32 |
NLS_USES= gettext |
33 |
NLS_CONFIGURE_ENABLE= nls |
34 |
|
35 |
post-install: |
36 |
${MKDIR} ${PREFIX}/share/examples/vorbis-tools |
37 |
${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \ |
38 |
${PREFIX}/share/examples/vorbis-tools/ogg123rc |
39 |
|
40 |
.include <bsd.port.mk> |