2002-03-22 23:25:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.43 2002/03/22 22:25:05 tron 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-03-22 23:25:05 +01:00
|
|
|
PKGREVISION= 2
|
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
|
|
|
|
2000-06-13 12:40:24 +02:00
|
|
|
DEPENDS+= gdbm>=1.7.3:../../databases/gdbm
|
2002-03-13 18:36:35 +01:00
|
|
|
DEPENDS+= png>=1.2.1:../../graphics/png
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= tiff-[0-9]*:../../graphics/tiff
|
|
|
|
DEPENDS+= jpeg-[0-9]*:../../graphics/jpeg
|
1999-06-28 23:22:56 +02:00
|
|
|
|
2000-09-28 13:29:59 +02:00
|
|
|
NOT_FOR_PLATFORM= *-*-mips* #fails purespace dumping
|
1999-06-28 23:22:56 +02:00
|
|
|
|
2000-08-24 01:14:21 +02:00
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
USE_XPM= 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}"
|
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
|
|
|
|
2000-10-04 14:55:14 +02:00
|
|
|
.if defined(USE_LDAP) && ${USE_LDAP} == YES
|
|
|
|
WITH_LDAP= --with-ldap=yes
|
2001-10-26 18:02:31 +02:00
|
|
|
DEPENDS+= openldap-[0-9]*:../../databases/openldap
|
2000-10-04 14:55:14 +02:00
|
|
|
.else
|
|
|
|
WITH_LDAP= --with-ldap=no
|
|
|
|
.endif
|
|
|
|
|
1999-08-23 10:09:45 +02:00
|
|
|
.if defined(USE_XFACE) && ${USE_XFACE} == YES
|
1999-06-30 01:13:37 +02:00
|
|
|
WITH_XFACE= --with-xface=yes
|
2001-12-02 15:40:20 +01:00
|
|
|
DEPENDS+= faces>=1.6.1:../../mail/faces
|
1999-06-30 01:13:37 +02:00
|
|
|
.else
|
|
|
|
WITH_XFACE= --with-xface=no
|
1999-06-28 23:22:56 +02:00
|
|
|
.endif
|
|
|
|
|
1999-12-06 15:24:01 +01:00
|
|
|
CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM} --prefix=${PREFIX} \
|
1999-06-30 01:13:37 +02:00
|
|
|
--with-clash-detection --with-mule=yes \
|
|
|
|
--with-ncurses=no --with-session=yes \
|
2000-10-04 14:55:14 +02:00
|
|
|
${WITH_DIALOGS} ${WITH_LDAP} ${WITH_XFACE} \
|
1999-06-30 01:13:37 +02:00
|
|
|
--infopath="${PREFIX}/info:${X11BASE}/info:/usr/local/info" \
|
|
|
|
--lockdir=/var/tmp/xemacs.lock \
|
1999-07-03 17:43:32 +02:00
|
|
|
--site-includes=${PREFIX}/include:${WRKDIR} \
|
1999-06-30 01:13:37 +02:00
|
|
|
--site-libraries=${PREFIX}/lib
|
1999-06-28 23:22:56 +02:00
|
|
|
|
1999-06-30 02:11:28 +02:00
|
|
|
CFLAGS+= -Dunix
|
1999-06-30 01:13:37 +02:00
|
|
|
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" \
|
|
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
2000-11-25 11:47:15 +01:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
for FILE in ${EXTRA_FILES}; do \
|
|
|
|
${GTAR} xzCf ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/$$FILE; \
|
|
|
|
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
|
|
|
pre-configure:
|
2000-10-04 14:55:14 +02:00
|
|
|
@${ECHO} "To compile in the support for LDAP, set the environment variable USE_LDAP."
|
1999-06-30 01:13:37 +02:00
|
|
|
@${ECHO} "To compile in the support for xface, set the environment variable USE_XFACE."
|
1999-07-03 17:43:32 +02:00
|
|
|
@${MKDIR} ${WRKDIR}/sys
|
|
|
|
@${LN} -s /usr/include/soundcard.h ${WRKDIR}/sys
|
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
|
|
|
|
2002-03-22 23:23:01 +01:00
|
|
|
.include "../../mk/motif.buildlink.mk"
|
1999-06-30 01:13:37 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|