2011-03-03 11:29:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2011/03/03 10:29:03 ryoon Exp $
|
2005-07-20 02:59:45 +02:00
|
|
|
#
|
|
|
|
|
2011-03-03 11:29:03 +01:00
|
|
|
DISTNAME= freefont-ttf-20100919
|
2005-07-20 02:59:45 +02:00
|
|
|
CATEGORIES= fonts
|
2011-03-03 11:29:03 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=freefont/}
|
2005-07-20 02:59:45 +02:00
|
|
|
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
|
|
HOMEPAGE= http://www.nongnu.org/freefont/
|
|
|
|
COMMENT= Free UCS Outline Fonts: FreeMono, FreeSans, and FreeSerif
|
2011-03-03 11:29:03 +01:00
|
|
|
LICENSE= gnu-gpl-v3
|
2005-07-20 02:59:45 +02:00
|
|
|
|
2008-03-03 21:17:11 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2009-01-08 10:12:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-ttf//}
|
2005-07-20 02:59:45 +02:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_LANGUAGES= # empty
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
2011-03-03 11:29:03 +01:00
|
|
|
INSTALLATION_DIRS= share/doc/freefont lib/X11/fonts/TTF
|
2009-01-08 10:12:00 +01:00
|
|
|
|
2011-03-03 11:29:03 +01:00
|
|
|
FONTSDIR= ${PREFIX}/lib/X11/fonts/TTF
|
|
|
|
FONTS_DIRS.ttf= ${FONTSDIR}
|
2005-07-20 02:59:45 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-03 21:17:11 +01:00
|
|
|
${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/
|
2009-01-08 10:12:00 +01:00
|
|
|
cd ${WRKSRC} && \
|
2011-03-03 11:29:03 +01:00
|
|
|
pax -rw Free*.ttf ${DESTDIR}/${FONTSDIR}
|
2005-07-20 02:59:45 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|