aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-07-13 09:34:39 +0800
committerasami <asami@FreeBSD.org>2000-07-13 09:34:39 +0800
commit232f9b2c51fe2243d938211d2353ed18a41e875b (patch)
treee2107b6b003ae9d88398472818f5bfbb36ad61d5 /japanese
parent99f3bd24f6d6ace042aa802a8a4346cf662987b9 (diff)
downloadfreebsd-ports-gnome-232f9b2c51fe2243d938211d2353ed18a41e875b.tar.gz
freebsd-ports-gnome-232f9b2c51fe2243d938211d2353ed18a41e875b.tar.zst
freebsd-ports-gnome-232f9b2c51fe2243d938211d2353ed18a41e875b.zip
Disable these ports for versions with /bin/tcsh. japanese/tcsh is not
needed since NLS support is already in /bin/tcsh, and the message catalogs are currently useless since we can't switch them easily. Submitted by: maintainer
Diffstat (limited to 'japanese')
-rw-r--r--japanese/tcsh-nls-generic/Makefile8
-rw-r--r--japanese/tcsh/Makefile7
2 files changed, 12 insertions, 3 deletions
diff --git a/japanese/tcsh-nls-generic/Makefile b/japanese/tcsh-nls-generic/Makefile
index 07ef0a3e6618..120afd10f684 100644
--- a/japanese/tcsh-nls-generic/Makefile
+++ b/japanese/tcsh-nls-generic/Makefile
@@ -15,7 +15,11 @@ DISTNAME= tcsh-${PORTVERSION}.add2
MAINTAINER= issei@jp.FreeBSD.org
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
-RUN_DEPENDS= tcsh:${PORTSDIR}/japanese/tcsh
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500006 || ${OSVERSION} < 500000 && ${OSVERSION} >= 400021
+FORBIDDEN= tcsh in base system cannot deal with local message catalogs yet
+.endif
CATALOGNAME?= generic
@@ -64,4 +68,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/tcsh/Makefile b/japanese/tcsh/Makefile
index 49607e671a52..69dd1c793951 100644
--- a/japanese/tcsh/Makefile
+++ b/japanese/tcsh/Makefile
@@ -12,6 +12,11 @@ MASTER_SITES= ftp://ftp.astron.com/pri/
MAINTAINER= issei@jp.FreeBSD.org
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500006 || ${OSVERSION} < 500000 && ${OSVERSION} >= 400021
+FORBIDDEN= "Japanese support is already in the base system"
+.endif
+
GNU_CONFIGURE= yes
ALL_TARGET= all catalogs
INSTALL_TARGET= install install.man
@@ -34,4 +39,4 @@ post-install:
@(${GREP} -v ${PREFIX}/bin/tcsh /etc/shells.bak; ${ECHO} ${PREFIX}/bin/tcsh) >/etc/shells
@${CAT} ${PKGDIR}/MESSAGE
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>