blob: 06df466d77b623cf710d259ec41d3530c60920a1 (
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.4 2002/04/30 15:09:57 veego Exp $
.include "../../graphics/mplayer/Makefile.common"
PKGNAME= gmplayer-${MPLAYER_PKG_VERSION}
MASTER_SITES+= http://www.mplayerhq.hu/MPlayer/Skin/ \
http://www2.mplayerhq.hu/MPlayer/releases/ \
http://www2.mplayerhq.hu/MPlayer/Skin/ \
ftp://ftp.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp.mplayerhq.hu/MPlayer/Skin/ \
ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
ftp://ftp2.mplayerhq.hu/MPlayer/Skin/
DIST_SUBDIR= gmplayer
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}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${SKINS}
CONFIGURE_ARGS+= --enable-gui
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/gmplayer
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${PREFIX}/bin/gmplayer
${INSTALL_MAN} ${WRKSRC}/DOCS/mplayer.1 ${PREFIX}/man/man1/gmplayer.1
${INSTALL_DATA_DIR} ${PREFIX}/share/gmplayer
${INSTALL_DATA} ${WRKSRC}/etc/codecs.conf ${PREFIX}/share/gmplayer
${CP} -R ${WRKSRC}/DOCS ${PREFIX}/share/gmplayer
${INSTALL_DATA_DIR} ${PREFIX}/share/gmplayer/Skin
.for SKIN in ${SKINS}
@${ECHO_MSG} "Installing skin ${SKIN}..."
@${GTAR} xCzf ${PREFIX}/share/gmplayer/Skin/ ${DISTDIR}/${DIST_SUBDIR}/${SKIN}
.endfor
@${CHMOD} -R a+r ${PREFIX}/share/gmplayer/Skin
@${CHMOD} a+rx ${PREFIX}/share/gmplayer/Skin/*
.include "../../audio/lame/buildlink.mk"
.include "../../devel/SDL/buildlink.mk"
.include "../../devel/binutils/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../lang/gcc/Makefile.gcc"
.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"
|