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

PORTNAME=   marumoji
PORTVERSION=    1.0
PORTREVISION=   9
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
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>