blob: 2eea10040a8fe80322e25be7cd18f0fe1935874a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.1.1.1 2010/09/03 18:24:47 wiz Exp $
#
DISTNAME= AnonymousPro-1.001
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= open-font-license
PKG_DESTDIR_SUPPORT= user-destdir
#WRKSRC= ${WRKDIR}/AnonymousPro-1.001
USE_LANGUAGES= # none
NO_CONFIGURE= YES
NO_BUILD= YES
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS= lib/X11/fonts/TTF ${DOCSDIR}
FONTDIR= ${PREFIX}/lib/X11/fonts/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"
|