1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= vorbis-tools |
4 |
PORTVERSION= 1.4.0 |
5 |
PORTREVISION= 1 |
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 |
|
14 |
LIB_DEPENDS= ao.4:${PORTSDIR}/audio/libao \ |
15 |
curl:${PORTSDIR}/ftp/curl \ |
16 |
FLAC:${PORTSDIR}/audio/flac \ |
17 |
kate.4:${PORTSDIR}/multimedia/libkate \ |
18 |
speex.1:${PORTSDIR}/audio/speex \ |
19 |
vorbis.4:${PORTSDIR}/audio/libvorbis |
20 |
|
21 |
USES= 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 |
.include <bsd.mport.options.mk> |
29 |
|
30 |
.if ${PORT_OPTIONS:MNLS} |
31 |
USES+= gettext |
32 |
PLIST_SUB+= NLS="" |
33 |
.else |
34 |
USES+= iconv |
35 |
CONFIGURE_ARGS+=--disable-nls |
36 |
PLIST_SUB+= NLS="@comment " |
37 |
.endif |
38 |
|
39 |
MAN1= ogg123.1 oggdec.1 oggenc.1 ogginfo.1 vcut.1 vorbiscomment.1 |
40 |
|
41 |
post-install: |
42 |
${MKDIR} ${PREFIX}/share/examples/vorbis-tools |
43 |
${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \ |
44 |
${PREFIX}/share/examples/vorbis-tools/ogg123rc |
45 |
|
46 |
.include <bsd.port.mk> |