1998-05-26 15:02:10 +00:00
|
|
|
# New ports collection makefile for: files except executables for xemacs with mule
|
|
|
|
# Version required: 20.4
|
|
|
|
# Date created: 5 Dec 1997
|
|
|
|
# Whom: Kazuyuki IENAGA <ienaga@jsys.co.jp>
|
|
|
|
#
|
1999-01-23 07:05:35 +00:00
|
|
|
# $Id: Makefile,v 1.5 1999/01/18 03:05:30 steve Exp $
|
1998-05-26 15:02:10 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xemacs-20.4
|
|
|
|
PKGNAME= xemacs-mule-common-20.4
|
|
|
|
CATEGORIES= editors japanese
|
|
|
|
MASTER_SITES= ftp://unipro.jsys.co.jp/pub/editor/xemacs/20.4/ \
|
|
|
|
ftp://ftp.lab.kdd.co.jp/xemacs/xemacs-20.4/ \
|
|
|
|
ftp://ftp.xemacs.org/pub/xemacs-20.4/ \
|
1998-10-10 15:28:21 +00:00
|
|
|
ftp://ftp2.xemacs.org/pub/xemacs/xemacs-20.4/ \
|
1998-12-26 03:47:19 +00:00
|
|
|
ftp://ftp.jpl.org/pub/elisp/
|
1998-05-26 15:02:10 +00:00
|
|
|
DISTFILES= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
|
1998-10-10 15:28:21 +00:00
|
|
|
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz \
|
|
|
|
ps-print-jp.el.gz
|
1998-05-26 15:02:10 +00:00
|
|
|
|
|
|
|
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
|
|
|
|
|
1998-12-02 08:01:14 +00:00
|
|
|
# from xemacs-mule
|
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
1999-01-23 07:05:35 +00:00
|
|
|
png.3:${PORTSDIR}/graphics/png \
|
1998-12-02 08:01:14 +00:00
|
|
|
compface.1:${PORTSDIR}/mail/faces
|
|
|
|
USE_AUTOCONF= yes
|
|
|
|
|
1998-05-26 15:02:10 +00:00
|
|
|
EXTRACT_ONLY= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
|
1998-12-26 03:47:19 +00:00
|
|
|
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-05-26 15:02:10 +00:00
|
|
|
.for dir in \
|
|
|
|
editors/xemacs-mule \
|
1998-10-10 15:28:21 +00:00
|
|
|
japanese/xemacs \
|
|
|
|
japanese/xemacs-canna \
|
|
|
|
japanese/xemacs-canna+wnn4 \
|
|
|
|
japanese/xemacs-canna+wnn6 \
|
|
|
|
japanese/xemacs-wnn4 \
|
|
|
|
japanese/xemacs-wnn6
|
1999-01-18 03:05:30 +00:00
|
|
|
.if exists(${WRKDIRPREFIX}${.CURDIR}/../../${dir}/work/.install_done)
|
|
|
|
WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/../../${dir}/work
|
|
|
|
.elif exists(${WRKDIRPREFIX}${.CURDIR}/../../${dir}/work/.build_done)
|
|
|
|
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/../../${dir}/work
|
1998-05-26 15:02:10 +00:00
|
|
|
.endif
|
|
|
|
.endfor
|
|
|
|
WRKSRC= ${WRKDIR}/xemacs-20.4
|
|
|
|
|
1998-12-02 08:01:14 +00:00
|
|
|
.if !defined(WRKDIR)
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
# XXX
|
|
|
|
pre-build:
|
|
|
|
@cd ${.CURDIR}/../xemacs-mule; make
|
|
|
|
.else
|
1998-05-26 15:02:10 +00:00
|
|
|
BROKEN= You should build install one of the other xemacs ports first
|
|
|
|
.endif
|
1998-12-02 08:01:14 +00:00
|
|
|
.endif
|
1998-05-26 15:02:10 +00:00
|
|
|
|
|
|
|
INSTALL_COOKIE= ${WRKDIR}/.install_done-${PKGNAME}
|
|
|
|
PACKAGE_COOKIE= ${WRKDIR}/.package_done-${PKGNAME}
|
1998-10-10 15:28:21 +00:00
|
|
|
TMPPLIST= ${WRKDIR}/.PLIST.mktmp-${PKGNAME}
|
1998-05-26 15:02:10 +00:00
|
|
|
|
1998-12-02 08:01:14 +00:00
|
|
|
USE_XLIB= yes
|
1998-05-26 15:02:10 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-10-10 15:28:21 +00:00
|
|
|
CONFIGURE_ARGS= i386-unknown-freebsd \
|
|
|
|
--with-x11 \
|
|
|
|
--with-mule \
|
|
|
|
--x-includes=${X11BASE}/include \
|
|
|
|
--x-libraries=${X11BASE}/lib
|
1998-05-26 15:02:10 +00:00
|
|
|
STRIP=
|
|
|
|
MAN1= ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
|
|
|
|
gnuserv.1 xemacs.1
|
|
|
|
|
|
|
|
INSTALL_TARGET= install-arch-indep
|
|
|
|
|
1998-10-10 15:28:21 +00:00
|
|
|
PLIST_SUB= XEMACS_DIR=xemacs-20.4
|
|
|
|
|
1998-05-26 15:02:10 +00:00
|
|
|
pre-build:
|
|
|
|
${RM} -f ${WRKSRC}/lib-src/DOC* ${WRKSRC}/src/xemacs
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${MKDIR} ${PREFIX}/lib/xemacs
|
|
|
|
@(cd ${PREFIX}/lib/xemacs; ${MKDIR} info etc site-lisp)
|
|
|
|
@if [ ! -f ${PREFIX}/lib/xemacs/info/dir ]; then \
|
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/lib/xemacs/info/dir; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
post-install:
|
1998-10-10 15:28:21 +00:00
|
|
|
# install xemacs-mule.sh into ${PREFIX}/etc/rc.d
|
1998-12-02 08:01:14 +00:00
|
|
|
@${MKDIR} /var/run/emacs/lock
|
1998-10-10 15:28:21 +00:00
|
|
|
chmod 1777 /var/run/emacs/lock
|
|
|
|
@${MKDIR} ${PREFIX}/etc/rc.d
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/xemacs-mule.sh ${PREFIX}/etc/rc.d
|
1998-05-26 15:02:10 +00:00
|
|
|
@${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE}
|
|
|
|
|
|
|
|
post-package:
|
|
|
|
@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
|
|
|
|
|
1998-12-26 03:47:19 +00:00
|
|
|
.include <bsd.port.post.mk>
|