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

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

MAINTAINER= gugod@gugod.org

BUILD_DEPENDS=  mkitalic:${PORTSDIR}/x11-fonts/mkitalic

USE_X_PREFIX=   yes
ALL_TARGET= pcf
SHAREMODE=  644
XFONTDIR=   ${PREFIX}/lib/X11/fonts/local

.include <bsd.port.pre.mk>

.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS=    mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif

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

do-install:
    @${MKDIR} ${XFONTDIR}
    @${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${XFONTDIR}
    @cd ${XFONTDIR}; mkfontdir

.include <bsd.port.post.mk>