blob: cb61af604eb6b1d68d4eeb07120a5aab8468a259 (
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
|
# $NetBSD: Makefile,v 1.5 2002/12/25 03:24:49 wiz Exp $
.include "Makefile.common"
PKGNAME= mplayer-share-${MPLAYER_PKG_VERSION}
COMMENT= Documentation and fonts used by mplayer and gmplayer
NO_BUILD= YES
NO_CONFIGURE= YES
NO_PATCH= YES
MP_FONTS= font-arial-iso-8859-1.tar.bz2 \
font-arial-iso-8859-2.tar.bz2 \
font-arial-cp1250.tar.bz2
FONT_FILES= README-arial-iso-8859-1 README-arial-iso-8859-2 cp1250 \
font-arial-14-iso-8859-1 font-arial-14-iso-8859-2 \
font-arial-18-iso-8859-1 font-arial-18-iso-8859-2 \
font-arial-24-iso-8859-1 font-arial-24-iso-8859-2 \
font-arial-28-iso-8859-1 font-arial-28-iso-8859-2
.for font in ${MP_FONTS}
SITES_${font}= http://www2.mplayerhq.hu/MPlayer/releases/fonts/ \
ftp://ftp.mplayerhq.hu/MPlayer/releases/fonts/
.endfor
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${MP_FONTS}
.include "../../mk/bsd.prefs.mk"
do-install:
${INSTALL_MAN} ${WRKSRC}/DOCS/mplayer.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/fonts
${INSTALL_DATA} ${WRKSRC}/etc/codecs.conf ${PREFIX}/share/mplayer
${INSTALL_DATA} ${WRKSRC}/etc/input.conf ${PREFIX}/share/mplayer
${CP} -R ${WRKSRC}/DOCS ${PREFIX}/share/mplayer
cd ${WRKDIR}; ${PAX} -rw ${FONT_FILES} ${PREFIX}/share/mplayer/fonts
${LN} -s ${PREFIX}/share/mplayer/fonts/font-arial-18-iso-8859-1 \
${PREFIX}/share/mplayer/font
.include "../../mk/bsd.pkg.mk"
|