# $NetBSD: Makefile,v 1.7 2011/12/07 10:30:32 joerg Exp $ # DISTNAME= liberation-fonts-ttf-1.07.1 PKGREVISION= 1 PKGNAME= ${DISTNAME:S/-fonts//} CATEGORIES= fonts MASTER_SITES= https://fedorahosted.org/releases/l/i/liberation-fonts/ \ ${MASTER_SITE_LOCAL} MAINTAINER= bartosz.kuzma@gmail.com HOMEPAGE= http://www.redhat.com/promo/fonts/ COMMENT= TrueType fonts from RedHat LICENSE= gnu-gpl-v2 # with some exception PKG_DESTDIR_SUPPORT= user-destdir NO_BUILD= yes NO_CONFIGURE= yes DOCDIR= ${PREFIX}/share/doc/${PKGBASE} FONTDIR= ${PREFIX}/lib/X11/fonts/TTF FONTS_DIRS.ttf= ${FONTDIR} INSTALLATION_DIRS= ${DOCDIR} ${FONTDIR} do-install: set -e; \ cd ${WRKSRC} && for f in *.ttf ; do \ ${INSTALL_DATA} $$f ${DESTDIR}${FONTDIR}/$$f ; \ done ${INSTALL_DATA} ${WRKSRC}/COPYING ${WRKSRC}/License.txt \ ${DESTDIR}${DOCDIR} .include "../../mk/bsd.pkg.mk"