aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/font-marumoji/Makefile
blob: 916c14878c55c9b35dabf89994c1a39a56ff98fc (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
# Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
# $FreeBSD$

PORTNAME=   marumoji
PORTVERSION=    1.0
PORTREVISION=   10
CATEGORIES= japanese x11-fonts
MASTER_SITES=   LOCAL/hrs/${PORTNAME}
PKGNAMEPREFIX=  ja-font-

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Japanese marumoji fonts

LICENSE=    MIT
LICENSE_FILES=  ${WRKSRC}/LICENSE

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

USES=       fonts:fc
FONTNAME=   marumoji
NO_ARCH=    yes
MAKE_ENV=   FONTSDIR=${FONTSDIR:S,${PREFIX},,}
SUB_FILES=  Makefile pkg-install
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL=   ${WRKDIR}/pkg-install

${WRKSRC}/maru16.bdf:
    cd ${WRKSRC} && ${SED} -f m18to16.sed < maru18.bdf > maru16.bdf

pre-build: ${WRKSRC}/maru16.bdf apply-slist
    ${INSTALL_DATA} ${WRKDIR}/Makefile ${WRKSRC}

.include <bsd.port.mk>