3d8ef5a52d
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2008/05/26 02:13:18 joerg Exp $
|
|
|
|
DISTNAME= mplayer-fonts-20030714
|
|
PKGREVISION= 1
|
|
CATEGORIES= fonts
|
|
MASTER_SITES= http://www4.mplayerhq.hu/MPlayer/releases/fonts/ \
|
|
ftp://ftp2.mplayerhq.hu/MPlayer/releases/fonts/ \
|
|
ftp://ftp1.mplayerhq.hu/MPlayer/releases/fonts/ \
|
|
ftp://ftp5.mplayerhq.hu/MPlayer/releases/fonts/ \
|
|
http://www1.mplayerhq.hu/MPlayer/releases/fonts/ \
|
|
http://www2.mplayerhq.hu/MPlayer/releases/fonts/
|
|
DISTFILES= font-arial-iso-8859-1.tar.bz2 \
|
|
font-arial-iso-8859-2.tar.bz2 \
|
|
font-arial-iso-8859-7.tar.bz2 \
|
|
font-arial-cp1250.tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.mplayerhq.hu/
|
|
COMMENT= Fonts for mplayer and gmplayer
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS= mplayer-share<1.0rc7nb2
|
|
|
|
DIST_SUBDIR= ${DISTNAME}
|
|
|
|
NO_BUILD= YES
|
|
NO_CONFIGURE= YES
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
INSTALLATION_DIRS= share/mplayer/fonts
|
|
|
|
do-install:
|
|
for D in font-arial-cp1250 font-arial-iso-8859-1 \
|
|
font-arial-iso-8859-2 font-arial-iso-8859-7; do \
|
|
(cd ${WRKDIR}/$$D && \
|
|
pax -rwpppm * ${DESTDIR}${PREFIX}/share/mplayer/fonts); \
|
|
done
|
|
${LN} -s ${PREFIX}/share/mplayer/fonts/font-arial-18-iso-8859-1 \
|
|
${DESTDIR}${PREFIX}/share/mplayer/font
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|