2002-11-01 17:34:34 +01:00
|
|
|
# $NetBSD: Makefile,v 1.53 2002/11/01 16:34:38 wiz Exp $
|
1999-06-28 23:22:56 +02:00
|
|
|
|
Update "xemacs" package to version 21.1.14. Changes since version 21.1.12:
- Fix buffer overflow in "gnuserv" which can be used to get a shell of
the user which is using "gnuserv.
- ./etc/PACKAGES: Doc fix.
- README.packages: Doc fix.
- xemacs-faq.texi (Q3.5.12): New FAQ. XEmacs bitches about xmodmap.
- etc/PACKAGES: Sync with 21.2 version, because everyone uses the
same packages.
- README.packages: Ditto.
- PROBLEMS (Sun/Solaris): Yet another microimprovement.
- xemacs-faq.texi (Q1.0.11): Change XEmacs for MacOS URL.
- PROBLEMS: Document MIPSpro ICE problem workaround.
Pty fixes for HP-UX and AIX and BSD and SunOS4 backported from 21.2.
Makes ``M-x shell; sleep 1000; Signals->Send KILL'' work.
(See src/ChangeLog for more detail.)
- configure.in: Detect killpg.
- PROBLEMS (Running/Linux): Mandrake, use Alt for M-, color-gcc.
- Makefile.in: add and use TAR macro. Sometimes tar only copies
symlinks instead of the actual files
- configure.in: Handle alloca with Compaq C on Alpha Linux.
- ChangeLog, etc/xemacs-ja.1, etc/xemacs.1,
info/xemacs-faq.info-1, info/xemacs-faq.info-3, lib-src/etags.c,
lib-src/ootags.c, lisp/ChangeLog.1, man/xemacs-faq.texi:
Changed mly@adoc.xerox.com to Mly@POBox.COM.
- README.packages: Add "uninstalled package" FAQ.
- etc/PACKAGES: Add details on os-utils contents.
- frame.c (next_frame_internal):
We've passed a frame if we've passed its device.
Fixes this crash:
(gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
- find-paths.el (paths-decode-directory-path): Trivial typo fix.
- simple.el (display-warning-suppressed-classes): Ditto.
- etc/Emacs.ad (Fonts.): Fix typo and clarify.
- configure.in (after_morecore_hook_exists): Don't add /usr/shlib
to link path if compiling on Alpha/Linux.
- configure.in: Make Balloon Help conditional on finding shape.h
2001-02-20 14:04:30 +01:00
|
|
|
DISTNAME= xemacs-21.1.14
|
2002-11-01 17:34:34 +01:00
|
|
|
PKGREVISION= 4
|
1999-06-28 23:22:56 +02:00
|
|
|
CATEGORIES= editors
|
1999-06-30 01:13:37 +02:00
|
|
|
MASTER_SITES= ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.1/ \
|
|
|
|
ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/ftp.xemacs.org/xemacs/xemacs-21.1/ \
|
|
|
|
ftp://ftp.usyd.edu.au/pub/Xemacs/xemacs-21.1/ \
|
|
|
|
ftp://ftp.lab.kdd.co.jp/xemacs/xemacs-21.1/ \
|
|
|
|
ftp://ftp.th-darmstadt.de/pub/editors/xemacs/xemacs-21.1/
|
2000-11-25 11:47:15 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
DISTFILES= ${EXTRACT_ONLY} ${EXTRA_FILES}
|
1999-06-30 02:11:28 +02:00
|
|
|
|
2002-03-18 22:17:37 +01:00
|
|
|
MAINTAINER= magick@netbsd.org
|
1999-06-30 01:13:37 +02:00
|
|
|
HOMEPAGE= http://www.xemacs.org/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= XEmacs text editor version 21
|
1999-06-28 23:22:56 +02:00
|
|
|
|
2002-09-25 09:04:16 +02:00
|
|
|
NOT_FOR_PLATFORM= *-*-mips* # fails purespace dumping
|
1999-06-28 23:22:56 +02:00
|
|
|
|
2002-09-25 09:04:16 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2002-03-25 20:07:39 +01:00
|
|
|
USE_X11= YES
|
1999-06-28 23:22:56 +02:00
|
|
|
|
2000-10-04 14:55:14 +02:00
|
|
|
BUILD_DEFS+= USE_LDAP USE_XFACE
|
2000-11-25 11:47:15 +01:00
|
|
|
DIST_SUBDIR= xemacs
|
|
|
|
EXTRA_FILES= ${DISTNAME}-elc.tar.gz ${DISTNAME}-info.tar.gz
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2002-03-15 02:58:35 +01:00
|
|
|
PLIST_SUBST+= DISTNAME="${DISTNAME}"
|
2002-03-29 15:48:23 +01:00
|
|
|
MESSAGE_SUBST+= DISTNAME="${DISTNAME}"
|
1999-08-18 11:13:09 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
1999-06-28 23:22:56 +02:00
|
|
|
|
2000-11-25 11:47:15 +01:00
|
|
|
.if defined(MANZ)
|
2002-03-15 02:58:35 +01:00
|
|
|
PLIST_SUBST+= ELSUFX='.gz'
|
2000-11-25 11:47:15 +01:00
|
|
|
.else
|
2002-03-15 02:58:35 +01:00
|
|
|
PLIST_SUBST+= ELSUFX=''
|
2000-11-25 11:47:15 +01:00
|
|
|
.endif
|
1999-08-25 15:37:34 +02:00
|
|
|
|
2002-03-22 23:23:01 +01:00
|
|
|
WITH_DIALOGS= --with-dialogs=motif
|
1999-06-28 23:22:56 +02:00
|
|
|
|
2002-09-25 09:04:16 +02:00
|
|
|
.if defined(USE_LDAP) && (${USE_LDAP} == "YES")
|
|
|
|
WITH_LDAP= --with-ldap
|
|
|
|
. include "../../databases/openldap/buildlink2.mk"
|
2000-10-04 14:55:14 +02:00
|
|
|
.else
|
2002-09-25 09:04:16 +02:00
|
|
|
WITH_LDAP= --without-ldap
|
2000-10-04 14:55:14 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-25 09:04:16 +02:00
|
|
|
.if defined(USE_XFACE) && (${USE_XFACE} == "YES")
|
|
|
|
WITH_XFACE= --with-xface
|
|
|
|
. include "../../mail/faces/buildlink2.mk"
|
1999-06-30 01:13:37 +02:00
|
|
|
.else
|
2002-09-25 09:04:16 +02:00
|
|
|
WITH_XFACE= --without-xface
|
1999-06-28 23:22:56 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-25 09:04:16 +02:00
|
|
|
.if defined(EMACS_CANNA) && (${EMACS_CANNA} == "YES")
|
|
|
|
. include "../../inputmethod/canna-lib/buildlink2.mk"
|
|
|
|
WITH_CANNA= --with-canna
|
2002-04-05 20:39:18 +02:00
|
|
|
.else
|
2002-09-25 09:04:16 +02:00
|
|
|
WITH_CANNA= --without-canna
|
2002-04-05 20:39:18 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-25 09:04:16 +02:00
|
|
|
.include "../../databases/gdbm/buildlink2.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink2.mk"
|
|
|
|
.include "../../graphics/png/buildlink2.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink2.mk"
|
|
|
|
.include "../../graphics/xpm/buildlink2.mk"
|
|
|
|
.include "../../mk/motif.buildlink2.mk"
|
|
|
|
.include "../../mk/ossaudio.buildlink2.mk"
|
|
|
|
|
|
|
|
INFOPATH= ${PREFIX}/info:${X11BASE}/info:/usr/local/info
|
|
|
|
|
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM}
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --with-clash-detection
|
|
|
|
CONFIGURE_ARGS+= --with-mule=yes
|
|
|
|
CONFIGURE_ARGS+= --without-ncurses
|
|
|
|
CONFIGURE_ARGS+= --without-msw
|
|
|
|
CONFIGURE_ARGS+= --with-session=yes
|
|
|
|
CONFIGURE_ARGS+= ${WITH_DIALOGS} ${WITH_LDAP} ${WITH_XFACE} ${WITH_CANNA}
|
|
|
|
CONFIGURE_ARGS+= --infopath="${INFOPATH}"
|
|
|
|
CONFIGURE_ARGS+= --lockdir=/var/tmp/xemacs.lock
|
|
|
|
CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${WRKDIR}
|
|
|
|
CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 02:11:28 +02:00
|
|
|
CFLAGS+= -Dunix
|
2002-09-25 09:04:16 +02:00
|
|
|
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}"
|
|
|
|
MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
2000-11-25 11:47:15 +01:00
|
|
|
|
|
|
|
post-extract:
|
2002-09-25 09:04:16 +02:00
|
|
|
for FILE in ${EXTRA_FILES}; do \
|
|
|
|
${GTAR} xzCf ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/$$FILE; \
|
2000-11-25 11:47:15 +01:00
|
|
|
done
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
post-patch:
|
|
|
|
@${RM} -f ${WRKSRC}/etc/ctags.1.orig
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
post-install:
|
1999-07-14 20:53:34 +02:00
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME}
|
2001-02-25 05:17:35 +01:00
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs
|
1999-06-30 01:13:37 +02:00
|
|
|
@if [ "X${MANZ}" != X"" ]; then \
|
1999-07-14 20:53:34 +02:00
|
|
|
${WRKSRC}/lib-src/gzip-el.sh ${PREFIX}/lib/${DISTNAME}; \
|
2000-11-25 11:47:15 +01:00
|
|
|
fi
|
1999-06-29 09:48:21 +02:00
|
|
|
|
1999-06-30 01:13:37 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|