blob: 6460ec2a3ab860afed956bea46738dcff3edd501 (
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
58
59
60
61
62
63
64
65
66
|
# $NetBSD: Makefile,v 1.7 2002/05/25 07:56:01 veego Exp $
.include "../../graphics/mplayer-share/Makefile.common"
PKGNAME= gmplayer-${MPLAYER_PKG_VERSION}
SKIN_SITES= http://www.mplayerhq.hu/MPlayer/Skin/ \
http://www2.mplayerhq.hu/MPlayer/Skin/ \
ftp://ftp.mplayerhq.hu/MPlayer/Skin/ \
ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
COMMENT= Software only MPEG-1/2/4 video decoder with a GTK+ interface
SKINS += default${EXTRACT_SUFX} \
MidnightLove${EXTRACT_SUFX} \
avifile${EXTRACT_SUFX} \
BlueHeart${EXTRACT_SUFX} \
WindowsMediaPlayer6${EXTRACT_SUFX} \
xanim${EXTRACT_SUFX} \
neutron${EXTRACT_SUFX} \
plastic${EXTRACT_SUFX} \
Cyrus${EXTRACT_SUFX} \
xine-lcd${EXTRACT_SUFX} \
phony${EXTRACT_SUFX} \
mentalic${EXTRACT_SUFX} \
proton${EXTRACT_SUFX} \
slim${EXTRACT_SUFX} \
netscape4${EXTRACT_SUFX} \
CubicPlayer${EXTRACT_SUFX} \
AlienMind${EXTRACT_SUFX} \
CornerMP${EXTRACT_SUFX} \
CornerMP-aqua${EXTRACT_SUFX} \
hwswskin${EXTRACT_SUFX}
.if !defined(SITES_default.tar.bz2)
.for skin in ${SKINS}
SITES_${skin}= ${SKIN_SITES}
.endfor
.endif
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${SKINS}
DEPENDS+= mplayer-share>=0.90rc4nb1:../../graphics/mplayer-share
CONFIGURE_ARGS+= --enable-gui
CONFIGURE_ARGS+= --disable-mencoder
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${PREFIX}/bin/gmplayer
${LN} -s ${PREFIX}/man/man1/mplayer.1 ${PREFIX}/man/man1/gmplayer.1
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/Skin
.for SKIN in ${SKINS}
@${ECHO_MSG} "Installing skin ${SKIN}..."
@${GTAR} xCzf ${PREFIX}/share/mplayer/Skin/ ${DISTDIR}/${DIST_SUBDIR}/${SKIN}
.endfor
@${CHMOD} -R a+r ${PREFIX}/share/mplayer/Skin
@${CHMOD} a+rx ${PREFIX}/share/mplayer/Skin/*
.include "../../devel/SDL/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../misc/libdvdread/buildlink.mk"
.include "../../x11/gtk/buildlink.mk"
.include "../../mk/ossaudio.buildlink.mk"
.include "../../mk/pthread.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|