aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c9d775c43ba8..74ddf4bf4db8 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 555f4d34d18a..b290c5bd9f12 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 3720b7a035c9..4309aab7e0d7 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%%