aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/chasen-base/Makefile2
-rw-r--r--japanese/ebview-gtk2/Makefile2
-rw-r--r--japanese/esecanna/Makefile2
-rw-r--r--japanese/gawk/Makefile2
-rw-r--r--japanese/ruby-eb/Makefile2
-rw-r--r--japanese/ruby-romkan/Makefile2
-rw-r--r--japanese/ruby-uconv/Makefile2
-rw-r--r--japanese/tkhonyaku/Makefile2
8 files changed, 16 insertions, 0 deletions
diff --git a/japanese/chasen-base/Makefile b/japanese/chasen-base/Makefile
index 0ddd8698430d..28c74a64af57 100644
--- a/japanese/chasen-base/Makefile
+++ b/japanese/chasen-base/Makefile
@@ -19,6 +19,8 @@ CONFIGURE_ARGS= --with-darts=${LOCALBASE}/include ${ICONV_CONFIGURE_BASE}
USES= iconv
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile
index a697b08a7e33..e7ab83ec0925 100644
--- a/japanese/ebview-gtk2/Makefile
+++ b/japanese/ebview-gtk2/Makefile
@@ -27,6 +27,8 @@ SUB_FILES= ebview.desktop
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED 1||g' \
${WRKSRC}/src/ebview.c
diff --git a/japanese/esecanna/Makefile b/japanese/esecanna/Makefile
index 307d2b468141..9594ce5e1ef8 100644
--- a/japanese/esecanna/Makefile
+++ b/japanese/esecanna/Makefile
@@ -22,6 +22,8 @@ CONFIGURE_ARGS= --with-piddir="/var/run/esecanna"
DOCS= CREDITS CHANGES.jp README.First.jp README.jp
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e " \
s,!!PREFIX!!,${PREFIX},g; \
diff --git a/japanese/gawk/Makefile b/japanese/gawk/Makefile
index 634a5760205f..3998ccb42722 100644
--- a/japanese/gawk/Makefile
+++ b/japanese/gawk/Makefile
@@ -25,6 +25,8 @@ INFO= gawk
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+OPTIONS_DEFINE= DOCS
+
post-configure:
@${REINPLACE_CMD} -E \
'/(DEFPATH|sed )/!s,(bin|data|lib|info|man|libexec)dir\),DESTDIR\)$$\(&,g' \
diff --git a/japanese/ruby-eb/Makefile b/japanese/ruby-eb/Makefile
index 7977780e5f93..42ec0dabc12b 100644
--- a/japanese/ruby-eb/Makefile
+++ b/japanese/ruby-eb/Makefile
@@ -21,6 +21,8 @@ INSTALL_TARGET= site-install
EXAMPLES= hook2.rb test.rb
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
diff --git a/japanese/ruby-romkan/Makefile b/japanese/ruby-romkan/Makefile
index 30b2beddb206..cb56e4641982 100644
--- a/japanese/ruby-romkan/Makefile
+++ b/japanese/ruby-romkan/Makefile
@@ -25,6 +25,8 @@ DOCS_EN= ChangeLog \
DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
${RUBY_RD_HTML_FILES:M*.ja.html}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile
index e704ccc2d5fb..73e44d679025 100644
--- a/japanese/ruby-uconv/Makefile
+++ b/japanese/ruby-uconv/Makefile
@@ -18,6 +18,8 @@ INSTALL_TARGET= site-install
MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}"
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
diff --git a/japanese/tkhonyaku/Makefile b/japanese/tkhonyaku/Makefile
index 27fad38b5ef1..2a723b506a69 100644
--- a/japanese/tkhonyaku/Makefile
+++ b/japanese/tkhonyaku/Makefile
@@ -18,6 +18,8 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -i '' -e 's|/usr/local/tkhonyaku|${PREFIX}/tkhonyaku|g' \
${WRKSRC}/tkhonyaku ${WRKSRC}/tkhonyaku-readme