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

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

MAINTAINER=	gugod@gugod.org
COMMENT=	Terminus Font - a clean fixed width font

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>