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
|
2008-12-18 18:51:06 +01:00
|
|
|
PORTVERSION= 4.28
|
2009-06-25 15:41:49 +02:00
|
|
|
PORTREVISION= 1
|
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
|
2006-07-06 18:16:54 +02:00
|
|
|
MASTER_SITES= http://www.is-vn.bg/hamster/
|
2008-12-18 18:51:06 +01:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-06-25 15:41:49 +02:00
|
|
|
USE_PERL5_BUILD=yes
|
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
|
|
|
|
2008-12-18 18:51:06 +01:00
|
|
|
.if defined(WITH_AO2)
|
|
|
|
PATCHFILES+= terminus-font-4.28-ao2.diff.gz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_DV1)
|
|
|
|
PATCHFILES+= terminus-font-4.28-dv1.diff.gz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GE1)
|
|
|
|
PATCHFILES+= terminus-font-4.28-ge1.diff.gz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GQ2)
|
|
|
|
PATCHFILES+= terminus-font-4.28-gq2.diff.gz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_IJ1)
|
|
|
|
PATCHFILES+= terminus-font-4.28-ij1.diff.gz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_KA2)
|
|
|
|
PATCHFILES+= terminus-font-4.28-ka2.diff.gz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_CM2)
|
|
|
|
PATCHFILES+= terminus-font-4.28-cm2.diff.gz
|
|
|
|
.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:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
@${MKDIR} ${LOCALBASE}/${FONTDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${LOCALBASE}/${FONTDIR}
|
2006-07-06 18:16:54 +02:00
|
|
|
|
|
|
|
post-install:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
@cd ${LOCALBASE}/${FONTDIR}; mkfontdir
|
|
|
|
@${CP} ${LOCALBASE}/${FONTDIR}/fonts.dir ${LOCALBASE}/${FONTDIR}/fonts.scale || true
|
|
|
|
@command fc-cache -f -v ${LOCALBASE}/${FONTDIR} || true
|
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>
|