blob: 63cfd383f517e5991120fd28cc197970daf183be (
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
|
# $NetBSD: Makefile,v 1.10 2002/10/01 12:51:48 dillo 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}
USE_BUILDLINK2= # defined
CONFIGURE_ARGS+= --enable-gui
CONFIGURE_ARGS+= --disable-mencoder
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
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 "../../graphics/mplayer-share/Makefile.depends"
.include "../../audio/nas/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|