aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-std/Makefile
blob: 156e9a83569b951aff4bee8d71dd5c8d665375e5 (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:    font-std
# Date created:     15 May 2009
# Whom:         hrs
#
# $FreeBSD$
#

PORTNAME=   font-std
PORTVERSION=    0.0.20090602
CATEGORIES= japanese x11-fonts
MASTER_SITES=   # empty
DISTFILES=  # empty

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Japanese Standard Fonts

RUN_DEPENDS=    ${LOCALBASE}/share/font-ipa/ipam.otf:${PORTSDIR}/japanese/font-ipa \
        ${LOCALBASE}/share/font-ipa/ipag.otf:${PORTSDIR}/japanese/font-ipa

NO_BUILD=   yes
PLIST_FILES=    ${FONTSDIR}/std.ja_JP/Ryumin-Light \
        ${FONTSDIR}/std.ja_JP/GothicBBB-Medium \
        ${FONTSDIR}/std.ja_JP/Mincho \
        ${FONTSDIR}/std.ja_JP/Gothic
PLIST_DIRS= ${FONTSDIR}/std.ja_JP
FONTSDIR=   share/fonts

STD=        Mincho Gothic Ryumin-Light GothicBBB-Medium
STD_Mincho= ${LOCALBASE}/share/font-ipa/ipam.otf
STD_Gothic= ${LOCALBASE}/share/font-ipa/ipag.otf
STD_Ryumin-Light=   ${LOCALBASE}/share/font-ipa/ipam.otf
STD_GothicBBB-Medium=   ${LOCALBASE}/share/font-ipa/ipag.otf

do-fetch:
    @${DO_NADA}

do-install:
    ${MKDIR} ${PREFIX}/${FONTSDIR}/std.ja_JP
.for F in ${STD}
    ${LN} -s -f ${STD_${F}} ${PREFIX}/${FONTSDIR}/std.ja_JP/${F}
.endfor

.include <bsd.port.mk>