aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-ayu18/Makefile
blob: 520e295caf8f76ce847eae19d98074822a877ca4 (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
# $FreeBSD$

PORTNAME=   ayu18
PORTVERSION=    1.3.1.1
CATEGORIES= japanese x11-fonts
MASTER_SITES=   SFJP/x-tt/8535/:goth \
        SFJP/x-tt/8494/:min
PKGNAMEPREFIX=  ja-font-
DISTFILES=  ayu18gothic-1.3a${EXTRACT_SUFX}:goth \
        ayu18mincho-1.1${EXTRACT_SUFX}:min

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Ayu 18-dot Kanji font

BUILD_DEPENDS=  mkitalic:x11-fonts/mkbold-mkitalic \
        bdftopcf:x11-fonts/bdftopcf

USES=       fonts
FONTNAME=   misc
NO_ARCH=    yes
NO_WRKSUBDIR=   yes
SUB_FILES=  Makefile
MAKEFILE=   ${WRKDIR}/Makefile
PORTDOCS=   README.txt

OPTIONS_DEFINE= DOCS

pre-build: apply-slist

post-install:
    @${MKDIR} ${STAGEDIR}${FONTSDIR}
    cd ${STAGEDIR}${FONTSDIR} && \
        ${LN} -s ../../../${DATADIR_REL}/*.pcf.gz .

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>