aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/k10/Makefile
blob: 558ddf110493bd04bd68cbc3dacf736f64b4fb36 (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
# New ports collection makefile for:    naga10
# Version required: 1.0
# Date created:     25 Feb 1998
# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
#
# $FreeBSD$
#

DISTNAME=   knj10-1.00
PKGNAME=    ja-naga10-1.0
CATEGORIES= japanese x11-fonts
MASTER_SITES=   http://gondow-www.cs.titech.ac.jp/~snagao/fonts/

MAINTAINER= usagi@clave.gr.jp

USE_X_PREFIX=   yes
WRKSRC=         ${WRKDIR}/knj10-1.00

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

pre-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGDIR}/REQ ${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.mk>