summaryrefslogtreecommitdiffstats
path: root/japanese/font-marumoji/Makefile
blob: c0af569ca99863923344d69b5944004474d4def5 (plain)
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_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	mkbold:x11-fonts/mkbold-mkitalic \
		bdftopcf: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>
OpenPOWER on IntegriCloud