blob: cfe09fe021a9c60c274e3b698e6416be36b0663b (
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
|
# $NetBSD: Makefile,v 1.6 2020/11/11 08:09:25 nikita Exp $
DISTNAME= unscii-2.1-src
PKGNAME= ${DISTNAME:S/-src//}
CATEGORIES= fonts
MASTER_SITES= http://pelulamu.net/unscii/
MAINTAINER= nikita@NetBSD.org
HOMEPAGE= http://pelulamu.net/unscii/
COMMENT= Bitmapped character-art friendly Unicode fonts
LICENSE= gnu-gpl-v2
UNLIMIT_RESOURCES= datasize virtualsize
USE_TOOLS+= perl:build
BUILD_DEPENDS+= bdftopcf-[0-9]*:../../fonts/bdftopcf
BUILD_DEPENDS+= fontforge-[0-9]*:../../fonts/fontforge
BUILD_DEPENDS+= p5-Text-CharWidth-[0-9]*:../../textproc/p5-Text-CharWidth
REPLACE_PERL+= *.pl
INSTALLATION_DIRS= share/fonts/X11/TTF share/fonts/X11/OTF
INSTALLATION_DIRS+= share/fonts/X11/svg share/fonts/X11/web
FONTDIR= ${PREFIX}/share/fonts/X11
FONTS_DIR.ttf= ${FONTDIR}/TTF
FONTS_DIR.otf= ${FONTDIR}/OTF
FONTS_DIR.svg= ${FONTDIR}/svg
FONTS_DIR.web= ${FONTDIR}/web
do-install:
cd ${WRKSRC} && for i in *.hex; do \
${INSTALL_DATA} $$i ${DESTDIR}${FONTDIR} ; done
cd ${WRKSRC} && for i in *.pcf; do \
${INSTALL_DATA} $$i ${DESTDIR}${FONTDIR} ; done
cd ${WRKSRC} && for i in *.ttf; do \
${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIR.ttf} ; done
cd ${WRKSRC} && for i in *.otf; do \
${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIR.otf} ; done
cd ${WRKSRC} && for i in *.svg; do \
${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIR.svg} ; done
cd ${WRKSRC} && for i in *.woff; do \
${INSTALL_DATA} $$i ${DESTDIR}${FONTS_DIR.web} ; done
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|