pkgsrc/fonts/freefont-ttf/Makefile
wiz 1adfb71852 Move fonts from lib/X11/fonts to share/fonts/X11.
As discussed on tech-pkg.

Bump PKGREVISION.
2014-06-01 16:35:31 +00:00

35 lines
953 B
Makefile

# $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"