summaryrefslogtreecommitdiff
path: root/fonts/terminus-font/Makefile
blob: cebc580dea697a5677c9ea8a556e57d619b92f24 (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.12 2013/04/08 01:42:41 rodent Exp $
#

DISTNAME=		terminus-font-4.38
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}/lib/X11/fonts/misc

BUILD_TARGET=		pcf
INSTALL_TARGET=		install-pcf

FONTS_DIRS.x11=		${PREFIX}/lib/X11/fonts/misc
REQD_DIRS+=		${PREFIX}/lib/X11/fonts/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"