summaryrefslogtreecommitdiff
path: root/japanese/monafonts/Makefile
blob: cf320f6cb3c35dac1cedaaf0f67bb68a58bc2df3 (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: MANTANI Nobutaka <nobutaka@nobutaka.com>
# $FreeBSD$

PORTNAME=	monafonts
PORTVERSION=	2.90
PORTREVISION=	2
PORTEPOCH=	2
CATEGORIES=	japanese x11-fonts
MASTER_SITES=	SF/monafont/monafont/monafont-${PORTVERSION}
DISTNAME=	monafont-${PORTVERSION}

MAINTAINER=	nobutaka@FreeBSD.org
COMMENT=	X11 12,14,16-dot Kanji fonts

BUILD_DEPENDS=	bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
RUN_DEPENDES=	mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
		mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale

USES=		perl5
USE_PERL5=	build

FONTSDIR=	lib/X11/fonts/local
USE_BZIP2=	yes
ALL_TARGET=	bdf
MAKE_ARGS=	PREFIX=${PREFIX}

PLIST_SUB=	FONTSDIR=${FONTSDIR}

pre-install:
	@${SETENV} PKG_PREFIX=${PREFIX} \
		${SH} ${PKGREQ} ${PKGNAME} INSTALL

.include <bsd.port.mk>