aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/indic-ttf/Makefile
blob: d86d64fcebe7edcca41807c5cf526d880ab04308 (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
# Created by: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
# $FreeBSD$

PORTNAME=   indic-ttf
PORTVERSION=    0.5.14
PORTREVISION=   3
CATEGORIES= x11-fonts
MASTER_SITES=   DEBIAN/pool/main/t/ttf-indic-fonts
PKGNAMESUFFIX=  -fonts
DISTNAME=   ${PORTNAME:C|(.*)-(.*)|\2-\1|}${PKGNAMESUFFIX}_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Collection of truetype Indic fonts

BROKEN=     unfetchable
DEPRECATED= Unfetchable, unmaintained
EXPIRATION_DATE=    2019-10-16

WRKSRC=     ${WRKDIR}/${DISTNAME:S|_|-|}

USES=       fonts
NO_BUILD=   yes

FONTSNAME=  indic-ttf
CONFAVLOC?= etc/fonts/conf.avail
CONFAVAILDIR=   ${PREFIX}/${CONFAVLOC}

PLIST_SUB=  CONFAVAILDIR=${CONFAVLOC}

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

do-install:
    ${MKDIR} ${STAGEDIR}${FONTSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/ttf-*/*.ttf ${STAGEDIR}${FONTSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/debian/ttf-*${PKGNAMESUFFIX}.copyright \
        ${STAGEDIR}${FONTSDIR}/
    ${MKDIR} ${STAGEDIR}${CONFAVAILDIR}
    ${INSTALL_DATA} ${WRKSRC}/ttf-*/90-ttf-*.conf \
        ${STAGEDIR}${CONFAVAILDIR}/

.include <bsd.port.mk>