blob: 3a19555128d2cb6074eb8f78a6d26a0352380928 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $NetBSD: Makefile.common,v 1.23 2005/09/15 13:27:34 wiz Exp $
MPLAYER_DIST_VERSION= 1.0pre7
# This variable is used in all packages which depend on this package
MPLAYER_PKG_VERSION= 1.0rc7
DISTNAME= MPlayer-${MPLAYER_DIST_VERSION}
CATEGORIES?= multimedia
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
http://ftp5.mplayerhq.hu/mplayer/releases/ \
http://www4.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp5.mplayerhq.hu/mplayer/releases/
EXTRACT_SUFX= .tar.bz2
DIST_SUBDIR= mplayer-${MPLAYER_PKG_VERSION}
MAINTAINER?= tech-pkg@NetBSD.org
HOMEPAGE?= http://www.mplayerhq.hu/
#
# NOTE: gmplayer has its own distinfo file. if you are also updating
# gmplayer, you must ensure that *both* distinfo files contain the
# correct, up-to-date files and checksums.
#
# NOTE: patches are shared between mplayer and gmplayer!
#
PATCHDIR= ${.CURDIR}/../../multimedia/mplayer-share/patches
DISTINFO_FILE= ${.CURDIR}/../../multimedia/mplayer-share/distinfo
NO_BIN_ON_CD= "a dependency is restricted"
NO_BIN_ON_FTP= "a dependency is restricted"
NO_SRC_ON_FTP= "prohibited by USAs DMCA"
USE_TOOLS+= gmake
HAS_CONFIGURE= YES
PTHREAD_OPTS+= require
CONFIGURE_ARGS+= --prefix="${PREFIX}" \
--with-extraincdir="${LOCALBASE}/include" \
--with-extralibdir="${LOCALBASE}/lib" \
--with-x11incdir="${X11BASE}/include" \
--with-x11libdir="${X11BASE}/lib" \
--disable-mpdvdkit
ONLY_FOR_COMPILER= gcc
# The configure script attempts to test-execute compiled programs in /tmp,
# but that directory may be mounted as noexec; work this around by setting
# TMPDIR to ${WRKDIR}
CONFIGURE_ENV+= TMPDIR=${WRKDIR}
.include "../../mk/bsd.prefs.mk"
.include "../../multimedia/mplayer-share/options.mk"
|