aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2018-09-10 21:14:50 +0800
committermat <mat@FreeBSD.org>2018-09-10 21:14:50 +0800
commit6baece3b7ae06d93445a0e0ecf02e59541a92a95 (patch)
treeeaf052562fa1ad9b232918eb5e617ac1df0dd725 /japanese
parentc6f82ca14271d2d9433ac4938a2188b9b6d092c1 (diff)
downloadfreebsd-ports-gnome-6baece3b7ae06d93445a0e0ecf02e59541a92a95.tar.gz
freebsd-ports-gnome-6baece3b7ae06d93445a0e0ecf02e59541a92a95.tar.zst
freebsd-ports-gnome-6baece3b7ae06d93445a0e0ecf02e59541a92a95.zip
Add DOCS options to ports that should have one.
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
Diffstat (limited to 'japanese')
-rw-r--r--japanese/canna-server/Makefile2
-rw-r--r--japanese/groff/Makefile2
-rw-r--r--japanese/jvim3/Makefile2
-rw-r--r--japanese/kiten/Makefile2
-rw-r--r--japanese/kon2-16dot/Makefile3
-rw-r--r--japanese/kterm/Makefile2
-rw-r--r--japanese/lookup/Makefile3
-rw-r--r--japanese/onew/Makefile2
-rw-r--r--japanese/plan/Makefile2
9 files changed, 17 insertions, 3 deletions
diff --git a/japanese/canna-server/Makefile b/japanese/canna-server/Makefile
index 73e5164109b4..6bb5c8e2c790 100644
--- a/japanese/canna-server/Makefile
+++ b/japanese/canna-server/Makefile
@@ -24,6 +24,8 @@ PORTDOCS= canna.bib canna.sty Imakefile README.jp Makefile \
intern lisp man
MAKE_JOBS_UNSAFE= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} install.man
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile
index 54933681ca8f..bebdebdeb1c0 100644
--- a/japanese/groff/Makefile
+++ b/japanese/groff/Makefile
@@ -45,6 +45,8 @@ TMACFILES= tmac.orig_me tmac.vgrind \
an-old.tmac doc.tmac e.tmac
MDOCFILES= ja.eucJP doc-common doc-syms
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -E -e 's|^@setfilename +groff|&.info|g;' \
${WRKSRC}/doc/groff.texinfo
diff --git a/japanese/jvim3/Makefile b/japanese/jvim3/Makefile
index 848189c9138f..2dff5f65df15 100644
--- a/japanese/jvim3/Makefile
+++ b/japanese/jvim3/Makefile
@@ -24,7 +24,7 @@ MAKE_ARGS= FEPOPT='${FEPOPT}' \
FEPOBJS="${FEPOBJS}" \
LIBS="${LIBS}"
-OPTIONS_DEFINE= X11
+OPTIONS_DEFINE= X11 DOCS
OPTIONS_DEFAULT=X11 FREEWNN_CANNA
OPTIONS_RADIO= FEP
OPTIONS_RADIO_FEP= FREEWNN_CANNA DIRECT_CANNA WNN6 WNN7
diff --git a/japanese/kiten/Makefile b/japanese/kiten/Makefile
index 53d00f16c0cf..cd1b2fc98788 100644
--- a/japanese/kiten/Makefile
+++ b/japanese/kiten/Makefile
@@ -15,4 +15,6 @@ USE_QT= core dbus gui network widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/japanese/kon2-16dot/Makefile b/japanese/kon2-16dot/Makefile
index befb2a52f1b0..fcc938c310fc 100644
--- a/japanese/kon2-16dot/Makefile
+++ b/japanese/kon2-16dot/Makefile
@@ -22,6 +22,9 @@ ONLY_FOR_ARCHS= i386 amd64
PORTDOCS= README README.FreeBSD
SUB_LIST= KON16FONT=${KON16FONT} \
KON14FONT=${KON14FONT}
+
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if !defined(KONFONT)
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index d367a66d2bc8..c9c859da7632 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -27,7 +27,7 @@ VGAFONT_USES= fonts
CFLAGS+= -Wno-return-type
PORTDOCS= README.kt README.wallpaper.ja dot.termcap
-OPTIONS_DEFINE= TEKTRONIXEMU VGAFONT
+OPTIONS_DEFINE= TEKTRONIXEMU VGAFONT DOCS
OPTIONS_DEFAULT=DEFAULT
OPTIONS_SINGLE= SCROLLBAR
OPTIONS_SINGLE_SCROLLBAR= DEFAULT XAW3DLIB NEXTAWLIB
diff --git a/japanese/lookup/Makefile b/japanese/lookup/Makefile
index a1afd4acf381..006113deed90 100644
--- a/japanese/lookup/Makefile
+++ b/japanese/lookup/Makefile
@@ -23,6 +23,9 @@ INFO= lookup
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
--with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= AUTHORS ChangeLog NEWS README.md
post-install:
diff --git a/japanese/onew/Makefile b/japanese/onew/Makefile
index 4be843e65af3..ea422d4a56c5 100644
--- a/japanese/onew/Makefile
+++ b/japanese/onew/Makefile
@@ -17,7 +17,7 @@ ALL_TARGET=
CFLAGS+= -I${WRKSRC}
PORTDOCS= README.ONEW
-OPTIONS_DEFINE= CANNA CANNA_FREEWNN CANNA_WNN6 CANNA_WNN7 FREEWNN WNN6 WNN7
+OPTIONS_DEFINE= CANNA CANNA_FREEWNN CANNA_WNN6 CANNA_WNN7 FREEWNN WNN6 WNN7 DOCS
OPTIONS_DEFAULT=CANNA CANNA_FREEWNN CANNA_WNN6 CANNA_WNN7 FREEWNN WNN6 WNN7
CANNA_DESC= Build Canna-backend library
CANNA_FREEWNN_DESC= Build Canna+FreeWnn-backend library
diff --git a/japanese/plan/Makefile b/japanese/plan/Makefile
index f6a62831bc46..d92bf8487c1d 100644
--- a/japanese/plan/Makefile
+++ b/japanese/plan/Makefile
@@ -17,6 +17,8 @@ EXTRA_PATCHES= ${.CURDIR}/files/patch-*
PORTDOCS= plan_calEUC.ps
+OPTIONS_DEFINE= DOCS
+
post-build:
${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/PLIST