aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/skk-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/skk-tools/Makefile')
-rw-r--r--japanese/skk-tools/Makefile14
1 files changed, 13 insertions, 1 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>