summaryrefslogtreecommitdiff
path: root/graphics/avifile/Makefile
blob: 919f93afe48cecb72542f352e40bb34a9f8a8338 (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
# $NetBSD: Makefile,v 1.5 2001/06/18 22:23:03 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_XLIB=	yes
USE_GMAKE=	yes
USE_AUTOCONF=	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"