3d8ef5a52d
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
32 lines
858 B
Makefile
32 lines
858 B
Makefile
# $NetBSD: Makefile,v 1.13 2008/05/26 02:13:18 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= ttf-bitstream-vera-1.10
|
|
PKGNAME= vera-ttf-1.10
|
|
PKGREVISION= 4
|
|
CATEGORIES= fonts
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ttf-bitstream-vera/1.10/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnome.org/fonts/
|
|
COMMENT= Bitstream Vera TrueType fonts
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_X11BASE= YES
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
INSTALLATION_DIRS= lib/X11/fonts/TTF \
|
|
share/doc/vera-ttf share/examples/vera-ttf
|
|
FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && pax -rw -pm *.ttf ${DESTDIR}${FONTS_DIRS.ttf}
|
|
${INSTALL_DATA} ${WRKSRC}/local.conf ${DESTDIR}${PREFIX}/share/examples/vera-ttf
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.TXT ${DESTDIR}${PREFIX}/share/doc/vera-ttf
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|