pkgsrc/fonts/freefont-ttf/Makefile

36 lines
943 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2011/03/03 10:29:03 ryoon Exp $
#
DISTNAME= freefont-ttf-20100919
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_GNU:=freefont/}
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.nongnu.org/freefont/
COMMENT= Free UCS Outline Fonts: FreeMono, FreeSans, and FreeSerif
LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME:S/-ttf//}
NO_CONFIGURE= yes
NO_BUILD= yes
USE_LANGUAGES= # empty
USE_TOOLS+= pax
INSTALLATION_DIRS= share/doc/freefont lib/X11/fonts/TTF
FONTSDIR= ${PREFIX}/lib/X11/fonts/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"