summaryrefslogtreecommitdiff
path: root/fonts/terminus-font/Makefile
blob: 75ac3a376716764fff6cf18db8bd180c61d75468 (plain)
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
41
42
43
# $NetBSD: Makefile,v 1.18 2016/07/09 06:38:17 wiz Exp $

DISTNAME=		terminus-font-4.39
PKGREVISION=		2
CATEGORIES=		fonts
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=terminus-font/}

MAINTAINER=		j+pkgsrc@salmi.ch
HOMEPAGE=		http://terminus-font.sourceforge.net/
COMMENT=		Clean, fixed-width font
LICENSE=		ofl-v1.1

USE_TOOLS+=		bdftopcf gmake gzip perl
HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--x11dir=${PREFIX}/share/fonts/X11/misc

BUILD_TARGET=		pcf
INSTALL_TARGET=		install-pcf

FONTS_DIRS.x11=		${PREFIX}/share/fonts/X11/misc
REQD_DIRS+=		${PREFIX}/share/fonts/X11/misc

USE_LANGUAGES=		# none

EGDIR=		${PREFIX}/share/examples/terminus-font

DOCDIR=		${PREFIX}/share/doc/terminus-font
DOCFILES=	AUTHORS CHANGES OFL.TXT README README-BG

FCCONFDIR=	${PKG_SYSCONFDIR}/fontconfig/conf.d
MAKE_DIRS+=	${FCCONFDIR}

CONF_FILES=	${EGDIR}/75-yes-terminus.conf \
		${FCCONFDIR}/75-yes-terminus.conf

AUTO_MKDIRS=	yes

post-install:
	set -e; cd ${WRKSRC}; \
	${INSTALL_DATA} ${DOCFILES} ${DESTDIR}${DOCDIR}; \
	${INSTALL_DATA} 75-yes-terminus.conf ${DESTDIR}${EGDIR}

.include "../../mk/bsd.pkg.mk"