aboutsummaryrefslogtreecommitdiff
path: root/audio/vorbis-tools/Makefile
blob: 4b6694c95bc57a51819868fbb2a4607e236f6c08 (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
PORTNAME=	vorbis-tools
DISTVERSION=	1.4.2
PORTREVISION=	5
PORTEPOCH=	3
CATEGORIES=	audio
MASTER_SITES=	https://downloads.xiph.org/releases/vorbis/

MAINTAINER=	naddy@FreeBSD.org
COMMENT=	Play, encode, and manage Ogg Vorbis files
WWW=		https://xiph.org/vorbis/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libao.so:audio/libao \
		libcurl.so:ftp/curl \
		libFLAC.so:audio/flac \
		libogg.so:audio/libogg \
		libopusfile.so:audio/opusfile \
		libspeex.so:audio/speex \
		libvorbis.so:audio/libvorbis

USES=		cpe iconv localbase:ldflags pkgconfig
CPE_VENDOR=	xiph
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
CONFIGURE_ENV=	PTHREAD_LIBS="-lpthread"
CONFIGURE_ARGS=	--without-kate

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

NLS_USES=	gettext
NLS_CONFIGURE_ENABLE=	nls

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools
	${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
	    ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools/ogg123rc

.include <bsd.port.mk>