aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/manu-gothica/Makefile
blob: fa0eaf291e5c47a43484294e49816f8a35a515d7 (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
PORTREVISION=   2
CATEGORIES= x11-fonts
MASTER_SITES=   http://www.bryld.info/filer/
DISTNAME=   manugot19
EXTRACT_SUFX=   .ttf

MAINTAINER= ports@FreeBSD.org
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}
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"
    -${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
    @${ECHO_MSG}
    @${ECHO_MSG}

.include <bsd.port.mk>