summaryrefslogtreecommitdiffstats
path: root/japanese/skk-tools
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/skk-tools')
-rw-r--r--japanese/skk-tools/Makefile14
-rw-r--r--japanese/skk-tools/distinfo2
-rw-r--r--japanese/skk-tools/pkg-plist5
3 files changed, 17 insertions, 4 deletions
diff --git a/japanese/skk-tools/Makefile b/japanese/skk-tools/Makefile
index c9d775c..74ddf4b 100644
--- a/japanese/skk-tools/Makefile
+++ b/japanese/skk-tools/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= skk-tools
-PORTVERSION= 1.0
+PORTVERSION= 1.1
PORTEPOCH= 1
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/skk/tools/ \
@@ -18,13 +18,25 @@ MAINTAINER= matusita@FreeBSD.org
COMMENT=Jisyo-tools for the SKK Japanese-input software
USE_BZIP2= yes
+.if !defined(WITHOUT_GNOME)
+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>
diff --git a/japanese/skk-tools/distinfo b/japanese/skk-tools/distinfo
index 555f4d3..b290c5b 100644
--- a/japanese/skk-tools/distinfo
+++ b/japanese/skk-tools/distinfo
@@ -1 +1 @@
-MD5 (skktools-1.0.tar.bz2) = 22bdf465e39b70c106e49dc8e8d09e9e
+MD5 (skktools-1.1.tar.bz2) = 35fb868596e85cf7ae30af22c10b8d17
diff --git a/japanese/skk-tools/pkg-plist b/japanese/skk-tools/pkg-plist
index 3720b7a..4309aab 100644
--- a/japanese/skk-tools/pkg-plist
+++ b/japanese/skk-tools/pkg-plist
@@ -1,5 +1,6 @@
bin/skkdic-count
bin/skkdic-expr
bin/skkdic-sort
-share/doc/skk/README.skktools
-@dirrm share/doc/skk
+%%WITHOUT_GNOME:%%%%DOCSDIR%%/README.skkdic-expr2
+%%DOCSDIR%%/README.skktools
+@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud