aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/terminus-font/Makefile
blob: 2700016857af639dee1f391bb5bda0aef4be1692 (plain) (blame)
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
# New ports collection makefile for:   terminus-font
# Date Created:                         04 Nov 2002
# Whom:                                 Michael Hsin <mhsin@mhsin.org>
#
# $FreeBSD$
#

PORTNAME=   terminus-font
PORTVERSION=    4.20
PORTREVISION=   1
CATEGORIES= x11-fonts
MASTER_SITES=   http://www.is-vn.bg/hamster/

MAINTAINER= vlad@vlad.uz.ua
COMMENT=    Terminus Font - a clean fixed width font

BUILD_DEPENDS=  mkitalic:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
        bdftopcf:${X_CLIENTS_PORT}
RUN_DEPENDS=    mkfontdir:${X_CLIENTS_PORT}

USE_PERL5=  yes
USE_X_PREFIX=   yes
ALL_TARGET= pcf
SHAREMODE=  644
FONTDIR=    lib/X11/fonts/${PORTNAME}
PLIST_SUB+= FONTDIR=${FONTDIR}

post-build:
    @${GZIP_CMD} ${WRKSRC}/*.pcf

do-install:
    @${MKDIR} ${X11BASE}/${FONTDIR}
    @${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${X11BASE}/${FONTDIR}

post-install:
    @cd ${X11BASE}/${FONTDIR}; mkfontdir
    @${CP} ${X11BASE}/${FONTDIR}/fonts.dir ${X11BASE}/${FONTDIR}/fonts.scale || true
    @command fc-cache -f -v ${X11BASE}/${FONTDIR} || true

.include <bsd.port.mk>