summaryrefslogtreecommitdiff
path: root/editors/xemacs21-mule-common
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-12-02 08:01:14 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-12-02 08:01:14 +0000
commitbacf28373b6cb5cdff38bece8f82a524310ec1a1 (patch)
tree060b4f3dcf4a6c603c805795d13a9d9bd207c708 /editors/xemacs21-mule-common
parentAn ugly hack to make it build when PACKAGE_BUILDING build comes here (diff)
Add little hack to make it build even if it's called before other xemacs's.
Add dependencies. Create lock dir before chmod'ing it.
Notes
Notes: svn path=/head/; revision=15058
Diffstat (limited to 'editors/xemacs21-mule-common')
-rw-r--r--editors/xemacs21-mule-common/Makefile22
1 files changed, 17 insertions, 5 deletions
diff --git a/editors/xemacs21-mule-common/Makefile b/editors/xemacs21-mule-common/Makefile
index 394e312fd242..cfe709cb50f3 100644
--- a/editors/xemacs21-mule-common/Makefile
+++ b/editors/xemacs21-mule-common/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 Dec 1997
# Whom: Kazuyuki IENAGA <ienaga@jsys.co.jp>
#
-# $Id: Makefile,v 1.1.1.1 1998/05/26 15:02:10 kuriyama Exp $
+# $Id: Makefile,v 1.2 1998/10/10 15:28:21 kuriyama Exp $
#
DISTNAME= xemacs-20.4
@@ -20,6 +20,13 @@ DISTFILES= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
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 @@ WRKDIR?= ${.CURDIR}/../../${dir}/work
.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 @@ pre-install:
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