pkgsrc/fonts/liberation-ttf/Makefile

38 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2012/10/03 18:28:26 asau Exp $
#
DISTNAME= liberation-fonts-ttf-2.00.0
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= open-font-license
# Force using "curl" for fetching the distribution file. It is only available
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
FETCH_USING= curl
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}/AUTHORS ${WRKSRC}/ChangeLog \
${WRKSRC}/LICENSE ${WRKSRC}/README ${WRKSRC}/TODO \
${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"