aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2000-09-17 15:29:20 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2000-09-17 15:29:20 +0000
commitfb4902d214412f22daf704b32cd68c358958dc94 (patch)
tree0b5f2687daff520a9237b412c071b380ac3ae8a6 /textproc
parentd11c0962f6062facb4343f8be866d6fa0c2c71f1 (diff)
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/coco/Makefile14
-rw-r--r--textproc/coco/files/patch-mm57
-rw-r--r--textproc/coco/pkg-descr6
-rw-r--r--textproc/coco/pkg-install2
4 files changed, 65 insertions, 14 deletions
diff --git a/textproc/coco/Makefile b/textproc/coco/Makefile
index 8efebe555c4a..bbd0bd270943 100644
--- a/textproc/coco/Makefile
+++ b/textproc/coco/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: files except executables for mule 2.3@19.34
+# New ports collection makefile for: files except executables for mule
# Date created: 7 July 1997
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
#
@@ -28,20 +28,20 @@ EMACS_VERSION= 19.34
WRKDIRBASE= ${WRKDIRPREFIX}${.CURDIR:S,/editors/mule-common$,,}
-.for dir in chinese/mule-wnn4 \
+.for dir in chinese/mule-freewnn \
editors/mule \
- japanese/mule-canna+sj3+wnn4 \
+ japanese/mule-canna+freewnn+sj3 \
japanese/mule-canna+sj3+wnn6 \
japanese/mule-canna+sj3 \
- japanese/mule-canna+wnn4 \
+ japanese/mule-freewnn+canna \
japanese/mule-canna+wnn6 \
japanese/mule-canna \
- japanese/mule-sj3+wnn4 \
+ japanese/mule-freewnn+sj3 \
japanese/mule-sj3+wnn6 \
japanese/mule-sj3 \
- japanese/mule-wnn4 \
+ japanese/mule-freewnn \
japanese/mule-wnn6 \
- korean/mule-wnn4
+ korean/mule-freewnn
.if exists(${WRKDIRBASE}/${dir}/work/.install_done)
WRKDIR= ${WRKDIRBASE}/${dir}/work
.elif exists(${WRKDIRBASE}/${dir}/work/.build_done)
diff --git a/textproc/coco/files/patch-mm b/textproc/coco/files/patch-mm
index 2adc98e6b2a5..f0b930462208 100644
--- a/textproc/coco/files/patch-mm
+++ b/textproc/coco/files/patch-mm
@@ -1,6 +1,25 @@
---- configure.orig Sat Sep 19 23:06:14 1998
-+++ configure Sat Sep 19 23:14:44 1998
-@@ -564,11 +564,11 @@
+--- configure.orig Fri Sep 8 14:13:47 2000
++++ configure Fri Sep 8 14:15:09 2000
+@@ -38,6 +38,10 @@
+ ac_help="$ac_help
+ --with-wnn6 Use Wnn6 library to input Japanese or Chinese"
+ ac_help="$ac_help
++ --with-cwnn4 Use Wnn4 library to input Chinese"
++ac_help="$ac_help
++ --with-kwnn4 Use Wnn4 library to input Korean"
++ac_help="$ac_help
+ --with-wnn-includes=DIR Search for WNN header files in DIR"
+ ac_help="$ac_help
+ --with-wnn-libraries=DIR Search for WNN libraries in DIR"
+@@ -92,6 +96,7 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+
++wnnlib='-lwnn'
+ # Initialize some other variables.
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+@@ -564,11 +569,11 @@
emacs_prefix=emacs
lispdir='${datadir}/${emacs_prefix}/${version}/lisp'
locallisppath='${datadir}/${emacs_prefix}/${version}/site-lisp:'\
@@ -14,3 +33,35 @@
archlibdir='${libexecdir}/${emacs_prefix}/${version}/${configuration}'
docdir='${datadir}/${emacs_prefix}/${version}/etc'
+@@ -671,9 +676,16 @@
+
+ fi
+
++if test "${with_cwnn4+set}" = set; then
++ wnnlib=-lcwnn
++elif test "${with_kwnn4+set}" = set; then
++ wnnlib=-lkwnn
++fi
++
+ # Check whether --with-wnn6 or --without-wnn6 was given.
+ if test "${with_wnn6+set}" = set; then
+ withval="$with_wnn6"
++ wnnlib=-lwnn6
+ with_wnn=${withval}; cat >> confdefs.h <<\EOF
+ #define WNN6 1
+ EOF
+@@ -3104,12 +3116,12 @@
+ if test -n "${with_wnn_libraries}" ; then
+ if test -d ${with_wnn_libraries} ; then
+ LD_SWITCH_WNN="-L${with_wnn_libraries}"
+- LIBS_MULE="${LIBS_MULE} -lwnn"
++ LIBS_MULE="${LIBS_MULE} ${wnnlib}"
+ else
+ LIBS_MULE="${LIBS_MULE} ${with_wnn_libraries}"
+ fi
+ else
+- LIBS_MULE="${LIBS_MULE} -lwnn"
++ LIBS_MULE="${LIBS_MULE} ${wnnlib}"
+ fi
+ fi
+
diff --git a/textproc/coco/pkg-descr b/textproc/coco/pkg-descr
index 429f7e802a1b..5a3d397da9f1 100644
--- a/textproc/coco/pkg-descr
+++ b/textproc/coco/pkg-descr
@@ -2,9 +2,9 @@ This is emacs lisp files, info pages, and so on (except executables)
for mule-2.3, a multilingual editor based on emacs-19.34.
You must install one of packages, mule-2.3, ja-mule-*-2.3 (
-ja-mule-canna-2.3, ja-mule-canna+sj3-2.3, etc.), zh-mule-wnn4-2.3 and
-ko-mule-wnn4-2.3, each of which contains only the executables for
-mule-2.3.
+ja-mule-canna-2.3, ja-mule-canna+sj3-2.3, etc.), zh-mule-freewnn-2.3
+and ko-mule-freewnn-2.3, each of which contains only the executables
+for mule-2.3.
This package and the above package of the executables *will* clobber
any existing emacs installation. In particular, the executables and
diff --git a/textproc/coco/pkg-install b/textproc/coco/pkg-install
index 505983632b38..aae183f1499a 100644
--- a/textproc/coco/pkg-install
+++ b/textproc/coco/pkg-install
@@ -4,6 +4,6 @@ if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
echo "############################################################"
echo "You must install one of packages, mule-2.3, ja-mule-*-2.3"
echo "(ja-mule-canna-2.3, ja-mule-canna+sj3-2.3, etc.),"
-echo "zh-mule-wnn4-2.3 and ko-mule-wnn4-2.3, each of"
+echo "zh-mule-freewnn-2.3 and ko-mule-freewnn-2.3, each of"
echo "which contains only the executables for mule-2.3"
echo "############################################################"