aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/manu-gothica/Makefile
blob: 971db0380f6af8047c15a41ca15d3954d21432fd (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
41
42
43
# New ports collection makefile for:	manu-gothica
# Date created:		2006-04-02
# Whom:			heiner Eichmann <h.eichmann@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	manu-gothica
DISTVERSION=	0
CATEGORIES=	x11-fonts
MASTER_SITES=	http://www.bryld.info/downloads/
DISTNAME=	manugot19
EXTRACT_SUFX=	.ttf

MAINTAINER=	h.eichmann@gmx.de
COMMENT=	Old german blackletter handwriting (suetterlin)

BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS=	${BUILD_DEPENDS}

RESTRICTED=	The font is free for personal use

EXTRACT_CMD=	${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	${WRKSRC}
USE_X_PREFIX=	yes
NO_BUILD=	yes

NO_WRKSUBDIR=	yes
FONTSDIR=	lib/X11/fonts/TTF/
PLIST_SUB+=	FONTSDIR=${FONTSDIR}

do-install:
	${MKDIR} ${PREFIX}/${FONTSDIR}
	${INSTALL_DATA} ${WRKSRC}/manugot19.ttf ${PREFIX}/${FONTSDIR}/manugot19.ttf

post-install:
	@${ECHO_MSG} "===> Running fc-cache"
	-${X11BASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
	@${ECHO_MSG}
	@${ECHO_MSG}

.include <bsd.port.mk>