From owner-ports-jp@jp.freebsd.org  Wed Dec  2 16:05:35 1998
Received: by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id QAA12216;
	Wed, 2 Dec 1998 16:05:35 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id QAA12197
	for <ports-jp@jp.freebsd.org>; Wed, 2 Dec 1998 16:05:23 +0900 (JST)
	(envelope-from asami@vader.cs.berkeley.edu)
Received: from silvia.hip.berkeley.edu (sji-ca36-54.ix.netcom.com [207.92.172.54]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id XAA04217 for <ports-jp@jp.freebsd.org>; Tue, 1 Dec 1998 23:05:12 -0800 (PST)
Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id XAA16601; Tue, 1 Dec 1998 23:05:09 -0800 (PST)
Date: Tue, 1 Dec 1998 23:05:09 -0800 (PST)
Message-Id: <199812020705.XAA16601@silvia.hip.berkeley.edu>
To: ports-jp@jp.freebsd.org
In-reply-to: <19981202152107V.taoka@infonets.hiroshima-u.ac.jp> (message from
	TAOKA Satoshi on Wed, 02 Dec 1998 15:21:07 +0900)
From: asami@freebsd.org (Satoshi Asami)
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: ports-jp 5338
Subject: [ports-jp 5338] Re: editors/mule-common
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: asami@freebsd.org

 * From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>

 * $B$3$N(Blog$B$r860x$,8+$FJ,$+$j$^$7$?!#(Beditors/mule$B$G$OEv$?$k(Bpatch$B$,(B
 * editors/mule-common$B$G$OEv$?$C$F$^$;$s!#$D$^$j!"(Beditors/mule$B$O$$$m$$$m99(B
 * $B?7$7$?$,(Beditors/mule-common$B$NJ}$OK:$l$F$$$^$7$?!#0J2<$N%Q%C%A$GF1$8F0:n(B
 * $B$K$J$j$^$9!#$h$C$F!":#2s$NLdBj$O2r7h$7$^$7$?!J$A$c$s$H3N$+$a$^$7$?!K!#(B

$B$I$&$b$G$9!#:#%3%s%Q%$%k$7$F$$$^$9!#(B

 * $B$H$3$m$G!"(Beditors/mule$B$H(Beditors/mule-common$B$N(BMakefile$B$N(B2$B$D$"$k$N$G!"99?7(B
 * $B$9$k$N$rK:$l$F$7$^$$$^$9!#(B2$B$D$r%^!<%8$7$F(Beditors/mule-common/Makefile$B$N(B
 * 1$BK\$G9T$/$N$,NI$$$G$9$+!)(B
 * 
 * $B$D$^$j!"(Beditors/mule/Makefile$B$K(B
 * 
 * .include "${.CURDIR}/../../editors/mule-common/Makefile"
 * 
 * $B$rF~$l$F!"$[$H$s$I$N$3$H$r(Bmule-common/Makefile$B$G$d$C$F$7$^$&$h$&$K$7$^$7$g(B
 * $B$&$+!)$=$l$J$i$7$^$9$,!"G!2?$G$7$g$&!)(B

$B$b$A$m$s$=$l$G$b7k9=$G$9!#(B

 * xemacs$B$O$I$&$+$J!)(B

$B$3$l$GD>$j$^$7$?!#$A$J$_$K2<$NJ}$O$"$^$j4X78$J$$(Bfix$B$G$9!#(B

===
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/editors/xemacs-mule-common/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	1998/10/10 15:28:21	1.2
+++ Makefile	1998/12/02 02:46:31
@@ -20,6 +20,13 @@
 
 MAINTAINER=	kiri@kiri.toba-cmt.ac.jp
 
+# from xemacs-mule
+LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm \
+		jpeg.9:${PORTSDIR}/graphics/jpeg \
+		png.2:${PORTSDIR}/graphics/png \
+		compface.1:${PORTSDIR}/mail/faces
+USE_AUTOCONF=	yes
+
 EXTRACT_ONLY=	xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
 		xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz 
 .for dir in \
@@ -38,18 +45,22 @@
 .endfor
 WRKSRC= ${WRKDIR}/xemacs-20.4
 
-.if !defined(WRKDIR) && !defined(PACKAGE_BUILDING)
+.if !defined(WRKDIR)
+.if defined(PACKAGE_BUILDING)
+# XXX
+pre-build:
+	@cd ${.CURDIR}/../xemacs-mule; make
+.else
 BROKEN=		You should build install one of the other xemacs ports first
 .endif
+.endif
 
 INSTALL_COOKIE=	${WRKDIR}/.install_done-${PKGNAME}
 PACKAGE_COOKIE=	${WRKDIR}/.package_done-${PKGNAME}
 TMPPLIST=	${WRKDIR}/.PLIST.mktmp-${PKGNAME}
-
-USE_GMAKE=	no
 
+USE_XLIB=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	no
 CONFIGURE_ARGS=	i386-unknown-freebsd \
 		--with-x11 \
 		--with-mule \
@@ -75,6 +86,7 @@
 
 post-install:
 # install xemacs-mule.sh into ${PREFIX}/etc/rc.d
+	@${MKDIR} /var/run/emacs/lock
 	chmod 1777 /var/run/emacs/lock
 	@${MKDIR} ${PREFIX}/etc/rc.d
 	@${INSTALL_SCRIPT} ${FILESDIR}/xemacs-mule.sh ${PREFIX}/etc/rc.d
===

$B$"$5$_(B
