blob: 8b20f406337e03d43bbf413af26b9b084c7b68ac (
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
|
# $NetBSD: Makefile.common,v 1.3 2002/04/30 12:45:29 wiz Exp $
DISTNAME?= MPlayer-0.60
CATEGORIES?= graphics
MASTER_SITES= http://mp.dev.hu/MPlayer/releases/
EXTRACT_SUFX= .tar.bz2
MAINTAINER?= svs@ropnet.ru,zuntum@netbsd.org
HOMEPAGE?= http://www.mplayerhq.hu/
ONLY_FOR_PLATFORM?= NetBSD-*-i386
RESTRICTED?= "unsure of the license"
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
USE_X11= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix="${PREFIX}"
CONFIGURE_ARGS+= --with-extraincdir="${BUILDLINK_DIR}/include"
CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib"
CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
CONFIGURE_ARGS+= --enable-dvdread
# The configure script attempts to execute compiled programs in /tmp, but
# /tmp may be mounted with noexec flag set...
CONFIGURE_ENV+= TMPDIR=${WRKDIR}
post-configure:
${CP} ${FILESDIR}/vcd_read_nbsd.c ${WRKSRC}/libmpdemux/vcd_read_nbsd.h
|