2006-07-06 18:16:54 +02:00
|
|
|
# New ports collection makefile for: terminus-font
|
The Terminus Font is designed for long (8 and more hours per day) work
with computers. Version 3.96 contains 528 characters, which cover code
pages ISO8859-1, ISO8859-2, ISO8859-5, ISO8859-15, Windows-1250,
Windows-1251, Windows-1252, IBM-437, KOI8-R, KOI8-U, KOI8-E, KOI8-F,
Bulgarian-MIK, Paratype-PT154, Paratype-PT254, IBM-855, IBM-866 and
Macintosh-Ukrainian.
PR: ports/45281
Submitted by: Kang-min Liu <gugod@gugod.org>
2002-11-14 10:26:06 +01:00
|
|
|
# Date Created: 04 Nov 2002
|
|
|
|
# Whom: Michael Hsin <mhsin@mhsin.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= terminus-font
|
2011-01-31 16:01:50 +01:00
|
|
|
PORTVERSION= 4.32
|
The Terminus Font is designed for long (8 and more hours per day) work
with computers. Version 3.96 contains 528 characters, which cover code
pages ISO8859-1, ISO8859-2, ISO8859-5, ISO8859-15, Windows-1250,
Windows-1251, Windows-1252, IBM-437, KOI8-R, KOI8-U, KOI8-E, KOI8-F,
Bulgarian-MIK, Paratype-PT154, Paratype-PT254, IBM-855, IBM-866 and
Macintosh-Ukrainian.
PR: ports/45281
Submitted by: Kang-min Liu <gugod@gugod.org>
2002-11-14 10:26:06 +01:00
|
|
|
CATEGORIES= x11-fonts
|
2010-07-18 23:32:55 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S|%SUBDIR%|${PORTNAME:L}/${PORTNAME}-${PORTVERSION}|}
|
|
|
|
|
2006-07-06 18:16:54 +02:00
|
|
|
MAINTAINER= vlad@vlad.uz.ua
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= Terminus Font - a clean fixed width font
|
The Terminus Font is designed for long (8 and more hours per day) work
with computers. Version 3.96 contains 528 characters, which cover code
pages ISO8859-1, ISO8859-2, ISO8859-5, ISO8859-15, Windows-1250,
Windows-1251, Windows-1252, IBM-437, KOI8-R, KOI8-U, KOI8-E, KOI8-F,
Bulgarian-MIK, Paratype-PT154, Paratype-PT254, IBM-855, IBM-866 and
Macintosh-Ukrainian.
PR: ports/45281
Submitted by: Kang-min Liu <gugod@gugod.org>
2002-11-14 10:26:06 +01:00
|
|
|
|
2005-02-19 20:36:32 +01:00
|
|
|
BUILD_DEPENDS= mkitalic:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
|
2008-01-27 05:44:04 +01:00
|
|
|
bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
|
|
|
|
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
|
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
|
2002-11-17 02:10:20 +01:00
|
|
|
|
2009-08-30 12:43:25 +02:00
|
|
|
USE_PERL5_BUILD=yes
|
2011-01-31 16:01:50 +01:00
|
|
|
USE_GMAKE= yes
|
2009-08-30 12:43:25 +02:00
|
|
|
|
2008-12-18 18:51:06 +01:00
|
|
|
OPTIONS= AO2 "Variant of letter 'a'" off \
|
|
|
|
DV1 "Variant of cyrillic letters 'de' and 've'" off \
|
|
|
|
GE1 "Variant of cyrillic letter 'ge'" off \
|
|
|
|
GQ2 "Variant of grave accent and apostrophe" off \
|
|
|
|
IJ1 "Variant of cyrillic letters 'i' and 'short i'" off \
|
|
|
|
KA2 "Variant of cyrillic letter 'ka'" off \
|
|
|
|
CM2 "Variant of letters with circumflex, caron and macron" off
|
|
|
|
|
2011-01-31 16:01:50 +01:00
|
|
|
SUB_LIST= FONTDIR="${PREFIX}/${FONTDIR}"
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2008-12-18 18:51:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
The Terminus Font is designed for long (8 and more hours per day) work
with computers. Version 3.96 contains 528 characters, which cover code
pages ISO8859-1, ISO8859-2, ISO8859-5, ISO8859-15, Windows-1250,
Windows-1251, Windows-1252, IBM-437, KOI8-R, KOI8-U, KOI8-E, KOI8-F,
Bulgarian-MIK, Paratype-PT154, Paratype-PT254, IBM-855, IBM-866 and
Macintosh-Ukrainian.
PR: ports/45281
Submitted by: Kang-min Liu <gugod@gugod.org>
2002-11-14 10:26:06 +01:00
|
|
|
ALL_TARGET= pcf
|
2006-07-06 18:16:54 +02:00
|
|
|
FONTDIR= lib/X11/fonts/${PORTNAME}
|
|
|
|
PLIST_SUB+= FONTDIR=${FONTDIR}
|
The Terminus Font is designed for long (8 and more hours per day) work
with computers. Version 3.96 contains 528 characters, which cover code
pages ISO8859-1, ISO8859-2, ISO8859-5, ISO8859-15, Windows-1250,
Windows-1251, Windows-1252, IBM-437, KOI8-R, KOI8-U, KOI8-E, KOI8-F,
Bulgarian-MIK, Paratype-PT154, Paratype-PT254, IBM-855, IBM-866 and
Macintosh-Ukrainian.
PR: ports/45281
Submitted by: Kang-min Liu <gugod@gugod.org>
2002-11-14 10:26:06 +01:00
|
|
|
|
2011-01-31 16:01:50 +01:00
|
|
|
post-extract:
|
2008-12-18 18:51:06 +01:00
|
|
|
.if defined(WITH_AO2)
|
2011-01-31 16:01:50 +01:00
|
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ao2.diff
|
2008-12-18 18:51:06 +01:00
|
|
|
.endif
|
|
|
|
.if defined(WITH_DV1)
|
2011-01-31 16:01:50 +01:00
|
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/dv1.diff
|
2008-12-18 18:51:06 +01:00
|
|
|
.endif
|
|
|
|
.if defined(WITH_GE1)
|
2011-01-31 16:01:50 +01:00
|
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ge1.diff
|
2008-12-18 18:51:06 +01:00
|
|
|
.endif
|
|
|
|
.if defined(WITH_GQ2)
|
2011-01-31 16:01:50 +01:00
|
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/gq2.diff
|
2008-12-18 18:51:06 +01:00
|
|
|
.endif
|
|
|
|
.if defined(WITH_IJ1)
|
2011-01-31 16:01:50 +01:00
|
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ij1.diff
|
2008-12-18 18:51:06 +01:00
|
|
|
.endif
|
|
|
|
.if defined(WITH_KA2)
|
2011-01-31 16:01:50 +01:00
|
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/ka2.diff
|
2008-12-18 18:51:06 +01:00
|
|
|
.endif
|
|
|
|
.if defined(WITH_CM2)
|
2011-01-31 16:01:50 +01:00
|
|
|
cd ${WRKSRC} && ${PATCH} -p1 -i alt/cm2.diff
|
2008-12-18 18:51:06 +01:00
|
|
|
.endif
|
|
|
|
|
The Terminus Font is designed for long (8 and more hours per day) work
with computers. Version 3.96 contains 528 characters, which cover code
pages ISO8859-1, ISO8859-2, ISO8859-5, ISO8859-15, Windows-1250,
Windows-1251, Windows-1252, IBM-437, KOI8-R, KOI8-U, KOI8-E, KOI8-F,
Bulgarian-MIK, Paratype-PT154, Paratype-PT254, IBM-855, IBM-866 and
Macintosh-Ukrainian.
PR: ports/45281
Submitted by: Kang-min Liu <gugod@gugod.org>
2002-11-14 10:26:06 +01:00
|
|
|
post-build:
|
2006-07-06 18:16:54 +02:00
|
|
|
@${GZIP_CMD} ${WRKSRC}/*.pcf
|
The Terminus Font is designed for long (8 and more hours per day) work
with computers. Version 3.96 contains 528 characters, which cover code
pages ISO8859-1, ISO8859-2, ISO8859-5, ISO8859-15, Windows-1250,
Windows-1251, Windows-1252, IBM-437, KOI8-R, KOI8-U, KOI8-E, KOI8-F,
Bulgarian-MIK, Paratype-PT154, Paratype-PT254, IBM-855, IBM-866 and
Macintosh-Ukrainian.
PR: ports/45281
Submitted by: Kang-min Liu <gugod@gugod.org>
2002-11-14 10:26:06 +01:00
|
|
|
|
|
|
|
do-install:
|
2010-07-18 23:32:55 +02:00
|
|
|
@${MKDIR} ${PREFIX}/${FONTDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${PREFIX}/${FONTDIR}
|
2006-07-06 18:16:54 +02:00
|
|
|
|
|
|
|
post-install:
|
2010-07-18 23:32:55 +02:00
|
|
|
@cd ${PREFIX}/${FONTDIR}; mkfontdir
|
|
|
|
@${CP} ${PREFIX}/${FONTDIR}/fonts.dir ${PREFIX}/${FONTDIR}/fonts.scale || true
|
|
|
|
@command fc-cache -f -v ${PREFIX}/${FONTDIR} || true
|
2011-01-31 16:01:50 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
The Terminus Font is designed for long (8 and more hours per day) work
with computers. Version 3.96 contains 528 characters, which cover code
pages ISO8859-1, ISO8859-2, ISO8859-5, ISO8859-15, Windows-1250,
Windows-1251, Windows-1252, IBM-437, KOI8-R, KOI8-U, KOI8-E, KOI8-F,
Bulgarian-MIK, Paratype-PT154, Paratype-PT254, IBM-855, IBM-866 and
Macintosh-Ukrainian.
PR: ports/45281
Submitted by: Kang-min Liu <gugod@gugod.org>
2002-11-14 10:26:06 +01:00
|
|
|
|
2008-12-18 18:51:06 +01:00
|
|
|
.include <bsd.port.post.mk>
|