pkgsrc/fonts/freefont-ttf/Makefile

36 lines
953 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 2014/06/01 16:35:34 wiz Exp $
#
DISTNAME= freefont-ttf-20120503
PKGREVISION= 1
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_GNU:=freefont/}
EXTRACT_SUFX= .zip
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.gnu.org/software/freefont/
COMMENT= Free UCS Outline Fonts: FreeMono, FreeSans, and FreeSerif
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/${DISTNAME:S/-ttf//}
NO_CONFIGURE= yes
NO_BUILD= yes
USE_LANGUAGES= # empty
USE_TOOLS+= pax
INSTALLATION_DIRS= share/doc/freefont share/fonts/X11/TTF
FONTSDIR= ${PREFIX}/share/fonts/X11/TTF
FONTS_DIRS.ttf= ${FONTSDIR}
do-install:
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/freefont/
${INSTALL_DATA} ${WRKSRC}/AUTHORS \
${DESTDIR}${PREFIX}/share/doc/freefont/
${INSTALL_DATA} ${WRKSRC}/CREDITS \
${DESTDIR}${PREFIX}/share/doc/freefont/
cd ${WRKSRC} && \
pax -rw Free*.ttf ${DESTDIR}/${FONTSDIR}
.include "../../mk/bsd.pkg.mk"