summaryrefslogtreecommitdiff
path: root/graphics/avifile/Makefile
blob: 28892453f72005248f8b8f9859a477ae034bd687 (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
# $NetBSD: Makefile,v 1.7 2001/06/24 02:22:25 zuntum Exp $

DISTNAME=	avifile-0.53.5
CATEGORIES=	graphics
MASTER_SITES=	http://ernie.eit.uni-kl.de/avifile/			\
		http://divx.euro.ru/					\
		http://www.toon.eu.org/divx/

MAINTAINER=	zuntum@netbsd.org,jmcneill@invisible.yi.org
HOMEPAGE=	http://divx.euro.ru/
COMMENT=	MPEG-4 (DivX) video player library

DEPENDS+=	win32-codecs>=010122:../../graphics/win32-codecs
DEPENDS+=	SDL>=1.1.2:../../devel/SDL

ONLY_FOR_PLATFORM= NetBSD-*-i386
USE_GMAKE=	yes
USE_LIBTOOL=	yes
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig

HAS_CONFIGURE=	yes
CONFIGURE_ENV+=	SDL_CONFIG="${SDL_CONFIG}" MOC="${MOC}" UIC="${UIC}"

CONFIGURE_ARGS+=--prefix=${PREFIX}						\
		--with-win32-path=${LOCALBASE}/lib/win32			\
		--enable-sdl							\
		--without-qt

SDL_CONFIG?=	${LOCALBASE}/bin/sdl-config
MOC?=		${X11BASE}/qt2/bin/moc
UIC?=		${X11BASE}/qt2/bin/uic

.include "../../devel/pth/buildlink.mk"
.include "../../mk/bsd.pkg.mk"