summaryrefslogtreecommitdiff
path: root/audio/vorbis-tools/Makefile
blob: f950b95ca725730486cecdcc6061b45a8fd67e0b (plain)
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
# $NetBSD: Makefile,v 1.13.2.2 2002/06/21 23:04:59 jlam Exp $

DISTNAME=	vorbis-tools-1.0rc3
PKGNAME=	vorbis-tools-1.0.0.7
PKGREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://www.vorbis.com/files/rc3/unix/

MAINTAINER=	lukem@netbsd.org
HOMEPAGE=	http://www.vorbis.com/
COMMENT=	Ogg Vorbis encoder and player

# list it into IPv6-ready packages
BUILD_DEFS+=	USE_INET6

DEPENDS=	curl>=7.9.1:../../www/curl

CONFLICTS=	vorbis-[0-9]*

USE_BUILDLINK2=		yes
GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig
#CONFIGURE_ARGS+=	--with-ogg-prefix=${BUILDLINK_DIR}		\
#			--with-vorbis-prefix=${BUILDLINK_DIR}		\
#			--with-ao-prefix=${BUILDLINK_DIR}

PLIST_SUBST+=	DISTNAME="${DISTNAME}"

# vorbis-tools needs a working pthreads implementation, and pth is proven
# to work.
#
USE_PTHREAD=	native pth

.include "../../audio/libao/buildlink2.mk"
.include "../../audio/libogg/buildlink2.mk"
.include "../../audio/libvorbis/buildlink2.mk"

.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"