summaryrefslogtreecommitdiff
path: root/japanese/monafonts/Makefile
blob: a2d7556d60d3f732ac7febe873ea281fc31ea3ed (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
# New ports collection makefile for:	monafonts
# Date created:		14 February 2001
# Whom:			MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#

PORTNAME=	monafonts
PORTVERSION=	2.22
PORTEPOCH=	2
CATEGORIES=	japanese x11-fonts
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	monafont
DISTNAME=	monafont-${PORTVERSION}

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

FONTSDIR=	lib/X11/fonts/local
USE_BZIP2=	yes
USE_X_PREFIX=	yes
ALL_TARGET=	bdf
MAKE_ARGS=	PREFIX=${PREFIX}
.include <bsd.port.pre.mk>

.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS+=	bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS=	mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif

PLIST_SUB=	FONTSDIR=${FONTSDIR}

post-extract:
	@${MKDIR} ${WRKSRC}/dist

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

.include <bsd.port.post.mk>