aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/avifonts/Makefile
blob: 121c95b70c4aab35f63510dedf44182bb20b5955 (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
# New ports collection makefile for:    AviSoft Font Family
# Date created:         5 Dec 2005
# Whom:             past@ebs.gr
#
# $FreeBSD$
#

PORTNAME=   avifonts
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= x11-fonts
MASTER_SITES=   http://graphis.hellug.gr/packages/
DISTNAME=   avifonts

MAINTAINER= past@ebs.gr
COMMENT=    AviFonts greek fonts collection

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

USE_BZIP2=  yes
USE_X_PREFIX=   yes
NO_BUILD=   yes

FONTSDIR=   ${PREFIX}/lib/X11/fonts/${PORTNAME}
PLIST_SUB=  FONTSDIR=${FONTSDIR:S|^${PREFIX}/||}

SUB_FILES=  pkg-message
SUB_LIST=   FONTSDIR=${FONTSDIR}

do-install:
    ${MKDIR} ${FONTSDIR}
    ${INSTALL_DATA} ${WRKDIR}/avifonts-2005/avifonts/* ${FONTSDIR}

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

.include <bsd.port.mk>