aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/skk-tools/Makefile
blob: eaf9211e42f29c23e34b667d66e0426fa131e117 (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
45
# New ports collection makefile for:    skk-tools
# Date created:     31 Oct 1998
# Whom:         Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   skk-tools
PORTVERSION=    1.1
PORTREVISION=   5
PORTEPOCH=  1
CATEGORIES= japanese
MASTER_SITES=   http://openlab.ring.gr.jp/skk/tools/ \
        ${MASTER_SITE_RINGSERVER}
MASTER_SITE_SUBDIR= text/elisp/skk/tools
DISTNAME=   skktools-${PORTVERSION}

MAINTAINER= matusita@FreeBSD.org
COMMENT=Jisyo-tools for the SKK Japanese-input software

USE_BZIP2=  yes
.if defined(WITHOUT_GNOME)
CONFIGURE_ARGS= --without-skkdic-expr2
.else
USE_GNOME=  glib20
.endif

GNU_CONFIGURE=  yes

DOCSDIR=    ${PREFIX}/share/doc/skk

.if defined(WITHOUT_GNOME)
PLIST_SUB+= WITHOUT_GNOME:="@comment "
.else
PLIST_SUB+= WITHOUT_GNOME:=""
.endif

post-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/READMEs/README.C ${DOCSDIR}/README.skktools
.if !defined(WITHOUT_GNOME)
    ${INSTALL_DATA} ${WRKSRC}/READMEs/README.skkdic-expr2 ${DOCSDIR}
.endif

.include <bsd.port.mk>