aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/fireflyttf/Makefile
blob: 3b073e3bcce534d88bdad9e5cd272aba0d2ea51b (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
# New ports collection makefile for:    firefly TrueType Font
# Date created:     2 Sep 2004
# Whom:         Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   fireflyttf
PORTVERSION=    1.3.0
CATEGORIES= chinese x11-fonts
MASTER_SITES=   http://www.study-area.org/apt/firefly-font/
DISTNAME=   fireflysung-${PORTVERSION}

MAINTAINER= statue@freebsd.sinica.edu.tw
COMMENT=    Firefly TrueType Font is combine of two arphic sung fonts

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${DISTNAME}

TTF=        fireflysung.ttf

.if !defined(WITHOUT_X11)
PLIST_SUB+= X11=""
.else
PLIST_SUB+= X11="@comment "
.endif

do-install:
    ${MKDIR} ${FONTSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${TTF} ${FONTSDIR}
    ${INSTALL_DATA} ${FILESDIR}/local.conf-sung ${FONTSDIR}
.if !defined(WITHOUT_X11)
    ${INSTALL_DATA} ${FILESDIR}/local.conf-sung ${X11BASE}/etc/fonts/local.conf
.endif

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
.include <bsd.port.post.mk>