aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/kon2-16dot/Makefile
blob: 2aaf830634984223dc31d427dc5be603fcd32c6a (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
# New ports collection makefile for:    kon
# Version required: 0.01
# Date created:     7 June 1995
# Whom:         Takashi Ogura <ogura@st.rim.or.jp>
#
# $Id$
#

DISTNAME=   kon
CATEGORIES+=    japanese
MASTER_SITES=   ftp://ftp.iij.ad.jp/pub/linux-j/JE-sources/JE/
DISTFILES=  kon-0.99.4e.tgz

FONT_SITE=  ftp://ftp.iij.ad.jp/pub/X/XFree86/XFree86/3.1.1/untarred/xc/fonts/bdf/misc/
FONTFILES=  k14.bdf 7x14rk.bdf

MAINTAINER= asami@FreeBSD.ORG

USE_GMAKE=  yes

pre-fetch: 
    @(cd ${DISTDIR}; \
    for file in ${FONTFILES} ; do \
        if [ ! -f $$file ]; then \
            if ${NCFTP} ${NCFTPFLAGS} ${FONT_SITE}$$file; then \
                break; \
            fi \
        fi \
    done)

post-configure:
    sed -e 's%%CURDIR%%${.CURDIR}' \
      -e 's%%PREFIX%%${PREFIX}' \
      files/dotconfig > ${WRKSRC}/.config

post-install:
    gzip -9nf ${PREFIX}/man/ja_JP.ujis/man1/kon.1

.include <bsd.port.mk>