summaryrefslogtreecommitdiff
path: root/japanese/skk-tools/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-04-21 18:48:07 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-04-21 18:48:07 +0000
commit762365343771fae3a93e0fb6a9932f5e918722a9 (patch)
tree42deb55bb7c7dd71335fce589fb6c42d96229548 /japanese/skk-tools/Makefile
parent- Update to 3.1.1 (diff)
- Update to version 1.3.2
PR: 166889 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=295210
Diffstat (limited to 'japanese/skk-tools/Makefile')
-rw-r--r--japanese/skk-tools/Makefile38
1 files changed, 22 insertions, 16 deletions
diff --git a/japanese/skk-tools/Makefile b/japanese/skk-tools/Makefile
index 121a8dce3324..87336a42d080 100644
--- a/japanese/skk-tools/Makefile
+++ b/japanese/skk-tools/Makefile
@@ -6,39 +6,45 @@
#
PORTNAME= skk-tools
-PORTVERSION= 1.3.1
-#PORTREVISION= 0
+PORTVERSION= 1.3.2
PORTEPOCH= 1
CATEGORIES= japanese
-MASTER_SITES= http://openlab.ring.gr.jp/skk/tools/ \
- ${MASTER_SITE_RINGSERVER}
-MASTER_SITE_SUBDIR= text/elisp/skk/tools
+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
+COMMENT= Jisyo-tools for the SKK Japanese-input software
-.if defined(WITHOUT_GNOME)
-CONFIGURE_ARGS= --without-skkdic-expr2
-.else
-USE_GNOME= glib20
-.endif
+LICENSE= GPLv2
+
+OPTIONS= EXPR2 "Build skkdic-expr2 (needs glib-2.x)" on
GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
DOCSDIR= ${PREFIX}/share/doc/skk
-.if defined(WITHOUT_GNOME)
-PLIST_SUB+= WITHOUT_GNOME:="@comment "
+PORTDOCS= README.skktools
+PLIST_FILES= bin/skkdic-count bin/skkdic-expr bin/skkdic-sort
+
+.include <bsd.port.options.mk>
+
+.if defined(WITHOUT_EXPR2)
+CONFIGURE_ARGS= --without-skkdic-expr2
.else
-PLIST_SUB+= WITHOUT_GNOME:=""
+USE_GNOME= glib20
+PORTDOCS+= README.skkdic-expr2
+PLIST_FILES+= bin/skkdic-expr2
.endif
post-install:
- ${MKDIR} ${DOCSDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/READMEs/README.C ${DOCSDIR}/README.skktools
-.if !defined(WITHOUT_GNOME)
+.if !defined(WITHOUT_EXPR2)
${INSTALL_DATA} ${WRKSRC}/READMEs/README.skkdic-expr2 ${DOCSDIR}
.endif
+.endif
.include <bsd.port.mk>