blob: bd6e088e88c86e05398d02a9db0347a8f8bf2495 (
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
46
47
48
49
|
# Created by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
# $FreeBSD$
PORTNAME= skk-tools
PORTVERSION= 1.3.2
PORTEPOCH= 1
CATEGORIES= japanese
MASTER_SITES= RINGSERVER/elisp/skk/tools \
http://openlab.ring.gr.jp/skk/tools/
DISTNAME= skktools-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Jisyo-tools for the SKK Japanese-input software
LICENSE= GPLv2
OPTIONS_DEFINE= EXPR2
OPTIONS_DEFAULT= EXPR2
EXPR2_DESC= Build skkdic-expr2 (needs glib-2.x)
GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/skk
PORTDOCS= README.skktools
PLIST_FILES= bin/skkdic-count bin/skkdic-expr bin/skkdic-sort
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXPR2}
USE_GNOME= glib20
USES+= pkgconfig
PORTDOCS+= README.skkdic-expr2
PLIST_FILES+= bin/skkdic-expr2
.else
CONFIGURE_ARGS= --without-skkdic-expr2
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/READMEs/README.C ${DOCSDIR}/README.skktools
.if ${PORT_OPTIONS:MEXPR2}
${INSTALL_DATA} ${WRKSRC}/READMEs/README.skkdic-expr2 ${DOCSDIR}
.endif
.endif
.include <bsd.port.mk>
|