pkgsrc/fonts/ubuntu-fonts/Makefile

54 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2016/04/12 08:07:48 wiz Exp $
VERSION= 0.83
PKGNAME= ubuntu-fonts-${VERSION}
CATEGORIES= fonts
DISTNAME= ubuntu-font-family-${VERSION}
EXTRACT_SUFX= .zip
MASTER_SITES= http://font.ubuntu.com/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://font.ubuntu.com/
COMMENT= TrueType font family from Ubuntu
LICENSE= ubuntu-font-license
NO_CONFIGURE= yes
NO_BUILD= yes
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
FONTDIR= ${PREFIX}/share/fonts/X11/TTF
FONTS_DIRS.ttf= ${FONTDIR}
INSTALLATION_DIRS= ${DOCDIR} ${FONTDIR}
INSTALL_FONTS= Ubuntu-B.ttf \
Ubuntu-BI.ttf \
Ubuntu-C.ttf \
Ubuntu-L.ttf \
Ubuntu-LI.ttf \
Ubuntu-M.ttf \
Ubuntu-MI.ttf \
Ubuntu-R.ttf \
Ubuntu-RI.ttf \
UbuntuMono-B.ttf \
UbuntuMono-BI.ttf \
UbuntuMono-R.ttf \
UbuntuMono-RI.ttf
INSTALL_DOCS= CONTRIBUTING.txt \
FONTLOG.txt \
LICENCE-FAQ.txt \
LICENCE.txt \
README.txt \
TRADEMARKS.txt \
copyright.txt
do-install:
.for fontfile in ${INSTALL_FONTS}
${INSTALL_DATA} ${WRKSRC}/${fontfile} ${DESTDIR}${FONTDIR}
.endfor
.for docfile in ${INSTALL_DOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCDIR}
.endfor
.include "../../mk/bsd.pkg.mk"