aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-naga10/Makefile
blob: 1f00fb82da600ef327d0fc8b7a6ce75ff82b933a (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: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
# $FreeBSD$

PORTNAME=   naga10
PORTVERSION=    1.1
PORTREVISION=   1
CATEGORIES= japanese x11-fonts
MASTER_SITES=   http://hp.vector.co.jp/authors/VA013391/fonts/
PKGNAMEPREFIX=  ja-font-
DISTNAME=   knj10-${PORTVERSION}

MAINTAINER= CQG00620@nifty.ne.jp
COMMENT=    10-dot Kanji font

BUILD_DEPENDS=  mkbold:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
        bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf

USES=       fonts
FONTNAME=   misc
NO_ARCH=    yes
SUB_FILES=  Makefile pkg-install
SUB_LIST=   FONTSALIAS="${DATADIR}/fonts.alias"
MAKEFILE=   ${WRKDIR}/Makefile
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL=   ${WRKDIR}/pkg-install
PORTDOCS=   README

OPTIONS_DEFINE= DOCS

pre-build: apply-slist

post-install:
    ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${STAGEDIR}${DATADIR}
    @${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>