pkgsrc/fonts/AnonymousPro/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

47 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2014/06/01 16:35:31 wiz Exp $
#
DISTNAME= AnonymousPro-1.001
PKGREVISION= 1
CATEGORIES= fonts
MASTER_SITES= http://www.ms-studio.com/FontSales/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.ms-studio.com/FontSales/anonymouspro.html
COMMENT= Fixed width Sans designed especially for Coders
LICENSE= ofl-v1.1
#WRKSRC= ${WRKDIR}/AnonymousPro-1.001
USE_LANGUAGES= # none
NO_CONFIGURE= YES
NO_BUILD= YES
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS= share/fonts/X11/TTF ${DOCSDIR}
FONTDIR= ${PREFIX}/share/fonts/X11/TTF
FONTS_DIRS.ttf= ${FONTDIR}
INSTALL_FONTS= AnonymousProB.ttf \
AnonymousProBI.ttf \
AnonymousProI.ttf \
AnonymousPro.ttf
INSTALL_DOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt
post-extract:
cd ${WRKSRC} && for i in *.ttf; do \
j=`${ECHO} $$i | sed "s/ //g"`; \
mv "$$i" "$$j"; done
do-install:
.for fontfile in ${INSTALL_FONTS}
${INSTALL_DATA} ${WRKSRC}/${fontfile:Q} ${DESTDIR}${FONTDIR}
.endfor
.for docfile in ${INSTALL_DOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCSDIR}
.endfor
.include "../../mk/bsd.pkg.mk"