blob: 7ddae080c158330b602e322e96aa2d08251b0984 (
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
|
# $NetBSD: Makefile,v 1.2 2002/08/07 12:53:06 veego Exp $
.include "Makefile.common"
PKGNAME= mplayer-share-${MPLAYER_PKG_VERSION}
COMMENT= Documentation and fonts used by mplayer and gmplayer
MASTER_SITES+= http://www2.mplayerhq.hu/MPlayer/contrib/fonts/ \
ftp://ftp2.mplayerhq.hu/MPlayer/contrib/fonts/
NO_BUILD= YES
NO_CONFIGURE= YES
NO_PATCH= YES
MP_FONTS= mp-arial-iso-8859-1.zip \
mp-arial-iso-8859-2.zip \
koi8r-font.tar.bz2
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${MP_FONTS}
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
.include "../../mk/bsd.prefs.mk"
do-install:
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
${INSTALL_MAN} ${WRKSRC}/DOCS/mplayer.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/font
${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
@${ECHO_MSG} "Installing font ${MPLAYER_FONT}..."
(cd ${WRKDIR}/${MPLAYER_FONT}; ${PAX} -rwpp . ${PREFIX}/share/mplayer/font)
(cd ${PREFIX}; ${FIND} share/mplayer/font -type f -print >>${PLIST_SRC})
(cd ${PREFIX}; ${FIND} -d share/mplayer -type d -print | \
${SED} -e "s/^/@dirrm /" | ${SORT} -r >>${PLIST_SRC})
.include "../../mk/bsd.pkg.mk"
|