8d4fe7cd07
A big Thank You to the original contributors of these ports: * Aaron Dalton <aaron@FreeBSD.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey Illarionov <littlesavage@rambler.ru> * Andreas Kohn <andreas@syndrom23.de> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Ashish Shukla <wahjava@gmail.com> * Babak Farrokhi <babak@farrokhi.net> * Björn König <bkoenig@alpha-tierchen.de> * Brett Taylor * Dave Cottlehuber <dch@skunkwerks.at> * Dejan Lesjak <lesi@FreeBSD.org> * Dennis Herrmann <adox@mcx2.org> * Dominic Marks <dominic.marks@btinternet.com> * Dryice Liu <dryice@liu.com.cn> * Emanuel Haupt <ehaupt@FreeBSD.org> * Eric Anholt <anholt@FreeBSD.org> * Florian Limberger <flo@snakeoilproductions.net> * Guerkan Senguen <gurkan@phys.ethz.ch> * Gvozdikov Veniamin <g.veniamin@googlemail.com> * Herbert J. Skuhra <herbert.skuhra@gmx.at> * Horia Racoviceanu <horia@racoviceanu.com> * Ilya A. Arkhipov <rum1cro@yandex.ru> * Joe Marcus Clarke <marcus@FreeBSD.org> * Johannes Lundberg <johalun0@gmail.com> * Jordan Irwin <antumdeluge@gmail.com> * KOMATSU Shinichiro * Kevin Lo <kevlo@FreeBSD.org> * Konstantinos Konstantinidis <kkonstan@daemon.gr> * Koop Mast <kwm@FreeBSD.org> * Kuan-Chung Chiu <buganini@gmail.com> * Leland Wang <llwang@infor.org> * Lowell Gilbert <lgfbsd@be-well.ilk.org> * Manuel Giraud <manuel.giraud@gmail.com> * Marcin Cieslak <saper@SYSTEM.PL> * Masaki TAGAWA <masaki@club.kyutech.ac.jp> * Mateusz Piotrowski <0mp@FreeBSD.org> * Matt Lancereau <matt@rimasec.net> * Matthew Seaman * Maxim Sobolev <sobomax@FreeBSD.org> * Michael Hsin <mhsin@mhsin.org> * Michael Johnson <ahze@FreeBSD.org> * NAKATA, Maho <maho@FreeBSD.org> * Naresh Venkateshappa <nareshov@gmail.com> * Norberto Lopes <nlopes.ml@gmail.com> * Oliver Lehmann <lehmann@ans-netz.de> * Olivier Duchateau <duchateau.olivier@gmail.com> * Pawel Worach * Pedro Giffuni * Pete Fritchman <petef@databits.net> * Piotr Kubaj <pkubaj@FreeBSD.org> * Piotr Kubaj <pkubaj@anongoth.pl> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Rusmir Dusko <nemysis@FreeBSD.org> * Satoshi TAOKA <taoka@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Thierry Thomas <thierry@pompo.net> * Winston Weinert <winstonw@lavabit.com> * Yoshihiko Sarumaru <mistral@imasy.or.jp> * Zhihao Yuan <lichray@gmail.com> * arrowd <6yearold@gmail.com> * bf <bf@FreeBSD.org> * dburr@FreeBSD.org * erich@FreeBSD.org * giffunip@asme.org * heiner Eichmann <h.eichmann@gmx.de> * mi@aldan.algebra.com * nork@FreeBSD.org * past@ebs.gr * trevor With hat: portmgr
80 lines
2 KiB
Makefile
80 lines
2 KiB
Makefile
PORTNAME= terminus-font
|
|
PORTVERSION= 4.48
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= Terminus Font - a clean fixed width font
|
|
|
|
LICENSE= OFL11
|
|
|
|
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf
|
|
|
|
USES= gmake fonts python:build,3.5+ shebangfix
|
|
NO_ARCH= yes
|
|
|
|
SHEBANG_FILES= bin/*.py
|
|
|
|
OPTIONS_DEFINE= AO2 DV1 GE2 GQ2 IJ1 KA2 HI2 LL2 TD1
|
|
AO2_DESC= Variant of letter 'a'
|
|
DV1_DESC= Variant of cyrillic letters 'de' and 've'
|
|
GE2_DESC= Variant of cyrillic letter 'ge'
|
|
GQ2_DESC= Variant of grave accent and apostrophe
|
|
IJ1_DESC= Variant of cyrillic letters 'i' and 'short i'
|
|
KA2_DESC= Variant of cyrillic letter 'ka'
|
|
HI2_DESC= Higher uppercase letters, for size 18
|
|
LL2_DESC= Variant with more distinctive 'l' (ell)
|
|
TD1_DESC= Variant with centered '~'
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
ALL_TARGET= pcf pcf-8bit
|
|
|
|
post-extract:
|
|
.if ${PORT_OPTIONS:MAO2}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ao2.diff
|
|
.endif
|
|
.if ${PORT_OPTIONS:MDV1} && !${PORT_OPTIONS:MHI2}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/dv1.diff
|
|
.endif
|
|
.if ${PORT_OPTIONS:MGE2}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ge2.diff
|
|
.endif
|
|
.if ${PORT_OPTIONS:MGQ2}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/gq2.diff
|
|
.endif
|
|
.if ${PORT_OPTIONS:MIJ1}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ij1.diff
|
|
.endif
|
|
.if ${PORT_OPTIONS:MKA2} && !${PORT_OPTIONS:MHI2}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ka2.diff
|
|
.endif
|
|
.if ${PORT_OPTIONS:MHI2}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/hi2.diff
|
|
.if ${PORT_OPTIONS:MDV1}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/hi2-dv1.diff
|
|
.endif
|
|
.if ${PORT_OPTIONS:MKA2}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/hi2-ka2.diff
|
|
.endif
|
|
.endif
|
|
.if ${PORT_OPTIONS:MLL2}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ll2.diff
|
|
.endif
|
|
.if ${PORT_OPTIONS:MTD1}
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/td1.diff
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' ${WRKSRC}/Makefile
|
|
|
|
post-build:
|
|
@${GZIP_CMD} ${WRKSRC}/*.pcf
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${STAGEDIR}${FONTSDIR}
|
|
|
|
.include <bsd.port.mk>
|