pkgsrc/fonts/freefonts/Makefile
2015-07-04 16:18:28 +00:00

31 lines
844 B
Makefile

# $NetBSD: Makefile,v 1.15 2015/07/04 16:18:31 joerg Exp $
DISTNAME= freefonts-0.10
PKGREVISION= 3
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_SUNSITE:=X11/fonts/} \
http://download.gimp.org/pub/gimp/fonts/
MAINTAINER= reed@reedmedia.net
COMMENT= Collection of 79 freely available fonts
PKG_DESTDIR_SUPPORT= destdir
EXTRACT_ONLY= # empty
NO_CONFIGURE= yes
NO_BUILD= yes
USE_TOOLS+= gzcat tar
FONTS_DIRS.x11= ${PREFIX}/share/fonts/X11/freefont
REQD_DIRS= ${PREFIX}/share/fonts/X11/freefont
INSTALLATION_DIRS= share/fonts/X11
do-install:
${GZCAT} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
${TAR} -xf - -C ${DESTDIR}${PREFIX}/share/fonts/X11
${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/share/fonts/X11/freefont/*
${CHOWN} ${SHAREOWN}:${SHAREGRP} \
${DESTDIR}${PREFIX}/share/fonts/X11/freefont/*
.include "../../mk/bsd.pkg.mk"