aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/k10/Makefile
blob: 3ee5b68a4dd5a8270b1bfd03f87daac126ec0a92 (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
41
42
43
44
# New ports collection makefile for:    naga10
# Date created:     25 Feb 1998
# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
#
# $FreeBSD$
#

PORTNAME=   naga10
PORTVERSION=    1.1
PORTREVISION=   2
CATEGORIES= japanese x11-fonts
MASTER_SITES=   http://hp.vector.co.jp/authors/VA013391/fonts/
DISTNAME=   knj10-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    X11 10-dot kanji font 'naga10 font'

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

USE_X_PREFIX=   yes

.include <bsd.port.pre.mk>

FONTSDIR=   lib/X11/fonts/local
MAKE_ENV=   FONTSDIR=${FONTSDIR}
PLIST_SUB=  FONTSDIR=${FONTSDIR}

post-extract:
    ${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile

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

post-install:
    @(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/naga10
    @${CP} ${WRKSRC}/README ${PREFIX}/share/doc/naga10/
.endif

.include <bsd.port.post.mk>