From owner-ports-jp@jp.freebsd.org  Sun May 23 22:49:25 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id WAA82913;
	Sun, 23 May 1999 22:49:25 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from mta2.odn.ne.jp (mta2.odn.ne.jp [143.90.131.69])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id WAA82908
	for <ports-jp@jp.freebsd.org>; Sun, 23 May 1999 22:49:25 +0900 (JST)
	(envelope-from shigeisp@pop02.odn.ne.jp)
Received: from athena.shige.org (YOKcc-04p58.ppp.odn.ad.jp [143.90.232.127])
	by mta2.odn.ne.jp (8.8.8+2.7Wbeta7/3.6W/9808281343) with ESMTP id WAA25981;
	Sun, 23 May 1999 22:49:19 +0900 (JST)
Message-Id: <199905231349.WAA25981@mta2.odn.ne.jp>
To: ports-jp@jp.freebsd.org, kuriyama@sky.rim.or.jp
Cc: shige@FreeBSD.ORG
From: Shigeyuki Fukushima (=?iso-2022-jp?B?GyRCSiFFZ0xQRzcbKEI=?=)
 <shige@FreeBSD.ORG>
In-Reply-To: <3747EE36.A4625A4B@sky.rim.or.jp>
References: <3747EE36.A4625A4B@sky.rim.or.jp>
X-Mailer: Mew version 1.94b26 on Emacs 20.3 / Mule 4.0 (HANANOEN)
X-URL: http://www.freebsd.org/~shige/
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Sun_May_23_22:47:12_1999_271)--"
Content-Transfer-Encoding: 7bit
Date: Sun, 23 May 1999 22:49:09 +0900
X-Dispatcher: imput version 990425(IM115)
Lines: 124
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990430
X-Sequence: ports-jp 6587
Subject: [ports-jp 6587] Re: psgml-xemacs-mule
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: shigeisp@pop02.odn.ne.jp

----Next_Part(Sun_May_23_22:47:12_1999_271)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

From: Jun Kuriyama <kuriyama@sky.rim.or.jp>
Subject: [ports-jp 6586] psgml-xemacs-mule
Date: Sun, 23 May 1999 21:01:58 +0900

$B$U$/$7$^(B $B$G$9!#(B

xemacs $B4X78$O40A4$K<j$r$D$1$F$J$/$F!"?=$7Lu$J$$$G$9!#(B
xemacs $B;H$$$JJ}!"Jd40$N$[$&$h$m$7$/$*4j$$$7$^$9!#(Bm(..)m

kuriyama> $B!!$G!"(Bpsgml-emacs $B$N(B Makefile $B$H(B patches/patch-ah $B$K0J2<$N$h(B
kuriyama>   $B$&$JJQ99$r2C$($?$$$N$G$9$,!"Bg>fIW$=$&$G$7$g$&$+!)(B

aclocal.m4 $B<+BN$,(B emacs base $B$G=q$+$l$F$$$k$N$G!"(B
$B$"$?$i$7$/=q$-$J$*$9$N$,$h$$$+$J$H;W$$$^$9!#(B

$B4{B8$N(B ports/editors/psgml-emacs $B$+$i$N(B patch $B$G$9!#(B
# Makefile $B$KBP$9$k$/$j$d$^$5$s$N=$@5$r2C$($5$;$F$$$?$@$$$F$^$9!#(B

$B$3$s$J$N$G$I$J$$$G$7$g$&$+!)(B
ok $B$J$i$P!"(Bcommit $B$7$^$9$G$9!#(B

--- shige (Shigeyuki Fukushima) <shige@FreeBSD.ORG>


----Next_Part(Sun_May_23_22:47:12_1999_271)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="psgml-emacs.diff"

diff -urN /usr/ports/editors/psgml-emacs/Makefile psgml-emacs/Makefile
--- /usr/ports/editors/psgml-emacs/Makefile	Sun Mar  7 02:10:36 1999
+++ psgml-emacs/Makefile	Sun May 23 21:56:47 1999
@@ -50,6 +50,9 @@
 .else
 RUN_DEPENDS=	${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
 .endif
+.if (${EMACS_NAME} == "xemacs")
+CONFIGURE_ARGS=	--with-xemacs=${EMACS_CMD}
+.endif
 CONFIGURE_ENV=	EMACS=${EMACS_CMD}
 MAKE_FLAGS=	EMACS=${EMACS_CMD}
 SCRIPTS_ENV=	INFILES=${INFILES} \
diff -urN /usr/ports/editors/psgml-emacs/patches/patch-aa psgml-emacs/patches/patch-aa
--- /usr/ports/editors/psgml-emacs/patches/patch-aa	Sat Feb 27 05:08:54 1999
+++ psgml-emacs/patches/patch-aa	Sun May 23 22:39:52 1999
@@ -1,5 +1,5 @@
 --- configure.in.orig	Mon Nov 16 06:45:07 1998
-+++ configure.in	Sat Feb 27 03:37:04 1999
++++ configure.in	Sun May 23 22:33:32 1999
 @@ -3,7 +3,7 @@
  dnl 	autoconf
  dnl in the directory containing this script.
@@ -25,7 +25,7 @@
  EMACS=emacs
  AC_MSG_CHECKING(xemacs)
  AC_ARG_WITH(xemacs,
-@@ -48,6 +57,8 @@
+@@ -48,14 +57,19 @@
  ])
  AC_MSG_RESULT($EMACS)
  
@@ -34,8 +34,13 @@
  dnl Checks for programs.
  AC_PROG_MAKE_SET
  AC_PROG_INSTALL
-@@ -56,6 +67,6 @@
- ke_PATH_LISPDIR
+ 
+ dnl Check where to install .elc files.
+-ke_PATH_LISPDIR
++case "${EMACS}" in
++  *xemacs*)	kxe_PATH_LISPDIR ;;
++  *)		ke_PATH_LISPDIR  ;;
++esac
  
  AC_SUBST(EMACS)
 -AC_OUTPUT(Makefile)
diff -urN /usr/ports/editors/psgml-emacs/patches/patch-ah psgml-emacs/patches/patch-ah
--- /usr/ports/editors/psgml-emacs/patches/patch-ah	Sat Feb 27 04:00:13 1999
+++ psgml-emacs/patches/patch-ah	Sun May 23 22:40:04 1999
@@ -1,5 +1,5 @@
 --- aclocal.m4.orig	Mon Nov 16 06:45:07 1998
-+++ aclocal.m4	Wed Feb 17 18:46:10 1999
++++ aclocal.m4	Sun May 23 22:38:53 1999
 @@ -7,7 +7,8 @@
  AC_DEFUN(ke_PATH_LISPDIR,
      [AC_MSG_CHECKING([where .elc files should go])
@@ -10,10 +10,29 @@
      if test "x$prefix" = "xNONE"; then
        if test -d $ac_default_prefix/share/emacs/site-lisp; then
  	LISPDIR="\$(prefix)/share/emacs/site-lisp"
-@@ -24,6 +25,7 @@
+@@ -24,6 +25,26 @@
  	  LISPDIR="\$(prefix)/lib/emacs/site-lisp"
  	fi
        fi
++    fi
++    fi
++    AC_MSG_RESULT($LISPDIR)
++    ELCFILES="\$(ELCFILES)"
++  AC_SUBST(LISPDIR)])
++
++AC_DEFUN(kxe_PATH_LISPDIR,
++    [AC_MSG_CHECKING([where .elc files should go])
++    dnl Set default value
++    LISPDIR="`${EMACS} -batch -eval '(princ doc-directory)'`../site-lisp"
++    if test "x${LISPDIR}" = "x"; then
++    if test "x$prefix" = "xNONE"; then
++      if test -d $ac_default_prefix/lib/xemacs/site-lisp; then
++	LISPDIR="\$(prefix)/lib/xemacs/site-lisp"
++      fi
++    else
++      if test -d $prefix/lib/xemacs/site-lisp; then
++	LISPDIR="\$(prefix)/lib/xemacs/site-lisp"
++      fi
 +    fi
      fi
      AC_MSG_RESULT($LISPDIR)

----Next_Part(Sun_May_23_22:47:12_1999_271)----
