xemacs 20.4; hgweigand@wiesbaden.netsurf.de (Hans-Guenter Weigand)

This commit is contained in:
marc 1999-01-18 04:42:41 +00:00
parent bde318ced1
commit dad723752c
15 changed files with 10907 additions and 0 deletions

109
editors/xemacs20/Makefile Normal file
View File

@ -0,0 +1,109 @@
# OpenBSD Makefile for: XEmacs
# Version required: 20.4
# Date created: 3 January 1999
# Whom: Hans Guenter Weigand
#
# $OpenBSD: Makefile,v 1.1.1.1 1999/01/18 04:42:41 marc Exp $
# If MULE extensions are desired use
#
# make USE_MULE=YES
DISTNAME= xemacs-20.4
CATEGORIES= editors
MAINTAINER= hgweigand@wiesbaden.netsurf.de
MASTER_SITES= ftp://ftp.xemacs.org/pub/xemacs/${DISTNAME}/ \
ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/ftp.xemacs.org/xemacs/${DISTNAME}/ \
ftp://ftp.usyd.edu.au:/pub/Xemacs/${DISTNAME}/ \
ftp://ftp.lab.kdd.co.jp/xemacs/${DISTNAME}/ \
ftp://ftp.th-darmstadt.de:/pub/editors/xemacs/${DISTNAME}/
LIB_DEPENDS= jpeg.62.:${PORTSDIR}/graphics/jpeg \
png.1.:${PORTSDIR}/graphics/png
BUILD_DEPENDS= ${PREFIX}/lib/libcompface.a:${PORTSDIR}/graphics/compface
#RUN_DEPENDS= pgmtopbm:${PORTSDIR}/graphics/netpbm
IS_INTERACTIVE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
# Figure out our '${arch}-unknown-openbsd${vers}' string as xemacs
# expects it to be. Call it GCCARCH.
#
.if ${MACHINE} == "arc" || ${MACHINE} == "pmax" || ${MACHINE} == "wgrisc"
M_ARCH= mipsel
.elif ${MACHINE} == "hkmips" || ${MACHINE} == "sgi"
M_ARCH= mips
.else
M_ARCH= ${MACHINE_ARCH}
.endif
SYS_REL!= uname -r
GCCARCH= ${M_ARCH}-unknown-openbsd${SYS_REL}
# Note: x11 includes and libs need NOT be added to --site-{includes,libraries}
#
CONFIGURE_ARGS= ${GCCARCH} \
${CONFIG_MULE} \
--with-gnu-make \
--statedir=/var/run \
--site-includes=/usr/include:${PREFIX}/include \
--site-libraries=/usr/lib:${PREFIX}/lib \
--infopath="${PREFIX}/info:/usr/share/info:${PREFIX}/lib/${DISTNAME}/info" \
--rel-alloc
# --site-runtime-libraries=/usr/lib:${PREFIX}/lib \
#
# handle MULE extensions here
#
.if defined(USE_MULE)
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-mule${EXTRACT_SUFX}
CONFIG_MULE= --with-mule
PLIST_TEMPLATE= ${FILESDIR}/PLIST.template.mule
.else
PLIST_TEMPLATE= ${FILESDIR}/PLIST.template
.endif
# Do NOT strip on install. We will strip those things that can be
# stripped after install. (XEmacs crashes if stripped on an alpha)
INSTALL_STRIP=
STRIP_PROGS= b2m ctags etags gnuclient
.if (${MACHINE_ARCH} != "alpha")
STRIP_PROGS+= ${DISTNAME}
.endif
STRIP_EXECS= cvtmail digest-doc fakemail gnuserv hexl make-docfile \
make-path mmencode movemail profile sorted-doc wakeup yow
.if !defined(NO_WARNINGS)
pre-fetch:
@${ECHO} ""
@${ECHO} "*** If MULE extensions are desired use the command line"
@${ECHO} "*** make USE_MULE=YES"
@${ECHO} ""
.endif
pre-clean:
@${RM} -f ${PKGDIR}/PLIST
pre-install pre-package:
@${RM} -f ${PKGDIR}/PLIST
@${SED} -e 's/||GCCARCH||/${GCCARCH}/' \
${PLIST_TEMPLATE} >${PKGDIR}/PLIST
post-install:
.for file in ${STRIP_PROGS}
strip ${PREFIX}/bin/${file}
.endfor
.for file in ${STRIP_EXECS}
strip ${PREFIX}/lib/${DISTNAME}/${GCCARCH}/${file}
.endfor
# Don't install send-pr for everyone, only for XEmacs' private use.
@${RM} -f ${PREFIX}/bin/send-pr
@${RM} -f ${PREFIX}/bin/install-sid
.include <bsd.port.mk>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
MD5 (xemacs-20.4.tar.gz) = 56912174ed51f4a21b490a96704ee5c0
MD5 (xemacs-20.4-mule.tar.gz) = 25ad2761b0fc98dbed45be44ad03665c

View File

@ -0,0 +1,11 @@
--- config.sub.orig Wed Dec 18 23:42:14 1996
+++ config.sub Sun May 3 22:37:56 1998
@@ -678,7 +678,7 @@
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- | -cygwin32* | -pe* | -psos* | -moss* )
+ | -cygwin32* | -pe* | -psos* | -moss* | -openbsd* )
# Remember, each alternative MUST END IN *, to match a version number.
;;
-sunos5*)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,39 @@
--- configure.in.orig Tue Feb 10 04:58:57 1998
+++ configure.in Mon May 4 00:36:08 1998
@@ -330,7 +330,7 @@
dnl BETA NOTE: ! Will you please add to this list? Nonexistent dirs
dnl are dropped from the list at runtime, so it is safe to add
dnl directories to this list that you don't have at home.
-infopath='/usr/local/info:/usr/info:/usr/local/lib/texmf/doc/info:/usr/lib/texmf/doc/info'
+infopath='/usr/local/info:/usr/info:/usr/local/lib/texmf/doc/info:/usr/lib/texmf/doc/info:/usr/share/info'
infopath_user_defined='no'
lispdir='${datadir}/xemacs-${version}/lisp'
lispdir_user_defined='no'
@@ -960,6 +960,7 @@
case "$canonical" in
*-*-linux* ) opsys=linux ;;
*-*-netbsd* ) opsys=netbsd ;;
+ *-*-openbsd* ) opsys=openbsd ;;
*-*-nextstep* ) opsys=nextstep ;;
*-*-vms ) opsys=vms ;;
@@ -1017,6 +1018,19 @@
machine=hp9000s300 ;;
pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;;
pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;;
+ esac
+ ;;
+
+ dnl OpenBSD ports
+ *-*-openbsd* )
+ case "${canonical}" in
+ alpha*-*-openbsd*) machine=alpha ;;
+ i386-*-openbsd*) machine=intel386 ;;
+ m68k-*-openbsd*) machine=hp9000s300 ;;
+ mipsel-*-openbsd*) machine=pmax ;;
+ ns32k-*-openbsd*) machine=ns32000 ;;
+ sparc-*-openbsd*) machine=sparc ;;
+ vax-*-netbsd*) machine=vax ;;
esac
;;

View File

@ -0,0 +1,28 @@
--- src/getloadavg.c.orig Sun Oct 12 03:40:10 1997
+++ src/getloadavg.c Mon May 4 12:38:33 1998
@@ -59,6 +59,7 @@
__linux__ Linux: assumes /proc filesystem mounted.
Support from Michael K. Johnson.
__NetBSD__ NetBSD: assumes /kern filesystem mounted.
+ __OpenBSD__ OpenBSD: dito.
In addition, to avoid nesting many #ifdefs, we internally set
LDAV_DONE to indicate that the load average has been computed.
@@ -624,7 +625,7 @@
#endif /* __linux__ */
-#if !defined (LDAV_DONE) && defined (__NetBSD__)
+#if !defined (LDAV_DONE) && (defined (__NetBSD__) || defined (__OpenBSD__))
#define LDAV_DONE
#undef LOAD_AVE_TYPE
@@ -651,7 +652,7 @@
return elem;
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ or __OpenBSD__ */
#if !defined (LDAV_DONE) && defined (NeXT)
#define LDAV_DONE

View File

@ -0,0 +1,18 @@
--- src/m/sparc.h.orig Thu Jun 12 03:50:11 1997
+++ src/m/sparc.h Sun May 3 21:58:59 1998
@@ -58,7 +58,8 @@
#define SEGMENT_MASK (SEGSIZ - 1)
-#if ! defined (__NetBSD__) && ! defined (__linux__)
+#if ! defined (__NetBSD__) && ! defined (__linux__) && ! defined (__OpenBSD__)
+
/* This really belongs in s/sun.h. */
/* Say that the text segment of a.out includes the header;
@@ -71,4 +72,4 @@
#define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
-#endif /* not Linux or NetBSD */
+#endif /* not Linux or NetBSD or OpenBSD */

View File

@ -0,0 +1,16 @@
--- src/malloc.c.orig Mon Jul 7 02:54:09 1997
+++ src/malloc.c Mon May 4 12:57:45 1998
@@ -188,11 +188,11 @@
#ifndef HPUX
/* not sure where this for NetBSD should really go
and it probably applies to other systems */
-#if !defined(__NetBSD__) && !defined(__bsdi__)
+#if !defined(__NetBSD__) && !defined(__bsdi__) && !defined(__OpenBSD__)
extern void *sbrk (ptrdiff_t);
#else
extern char *sbrk ();
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ or __OpenBSD__ */
#endif /* HPUX */
#else
extern void *sbrk ();

View File

@ -0,0 +1,11 @@
--- src/mem-limits.h.orig Mon Jul 7 02:54:11 1997
+++ src/mem-limits.h Mon May 4 12:48:02 1998
@@ -54,7 +54,7 @@
#include <sys/resource.h>
#endif
-#if defined(__bsdi__) || defined(__NetBSD__)
+#if defined(__bsdi__) || defined(__NetBSD__) || defined(__OpenBSD__)
#define BSD4_2
#endif

View File

@ -0,0 +1,16 @@
--- src/s/openbsd.h.orig Thu Jan 1 01:00:00 1970
+++ src/s/openbsd.h Sat May 9 23:00:43 1998
@@ -0,0 +1,12 @@
+/* s/ file for openbsd systems. */
+
+/* Get most of the stuff from bsd4.3 */
+#include "bsd4-3.h"
+
+/* OpenBSD alpha has no shared libs yet. -hgw */
+#if defined (__alpha__) && !defined (__ELF__)
+#define NO_SHARED_LIBS
+#endif
+
+/* Get the rest of the stuff from that less-POSIX-conformant system */
+#include "netbsd.h"

View File

@ -0,0 +1,16 @@
--- src/unexec.c.orig Wed Dec 18 23:44:05 1996
+++ src/unexec.c Mon May 4 12:55:15 1998
@@ -294,11 +294,11 @@
#ifndef HPUX
/* not sure where this for NetBSD should really go
and it probably applies to other systems */
-#if !defined(__NetBSD__) && !defined(__bsdi__)
+#if !defined(__NetBSD__) && !defined(__bsdi__) && !defined(__OpenBSD__)
extern void *sbrk (ptrdiff_t);
#else
extern char *sbrk ();
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ or __OpenBSD__ */
#endif /* HPUX */
#else
extern void *sbrk ();

View File

@ -0,0 +1 @@
The extensible, customizable real-time display editor.

View File

@ -0,0 +1,46 @@
About XEmacs:
XEmacs (formerly known as Lucid Emacs) is a powerful, extensible text
editor with full GUI support, initially based on an early version of
GNU Emacs 19 from the Free Software Foundation and since kept up to
date with recent versions of that product. XEmacs stems from a
collaboration of Lucid, Inc. with Sun Microsystems, Inc. and the
University of Illinois with additional support having been provided by
Amdahl Corporation, INS Engineering Corporation, and a huge amount of
volunteer effort.
XEmacs provides a great number of new features. More details on
XEmacs's functionality, including bundled packages, can be obtained
through the info on-line information system.
The XEmacs web page can be browsed, using any WWW browser at
http://www.xemacs.org/
Note that W3 (XEmacs's own browser), might need customization (due to
firewalls) in order to work correctly.
XEmacs is the result of the time and effort of many people. The
developers responsible for the 20.3 release are:
* SL Baur <steve@xemacs.org>
* Jason Mastaler <jason@mastaler.com>
* Martin Buchholz <mrb@sun.eng.com>
* Kyle Jones <kyle_jones@wonderworks.com>
* Hrvoje Niksic <hniksic@srce.hr>
* And many other contributors...
Chuck Thompson was Mr. XEmacs from 19.11 through 19.14. Ben Wing was
crucial to each of these releases.
* Chuck Thompson <cthomp@xemacs.org>
* Ben Wing <wing@xemacs.org>
Jamie Zawinski was Mr. Lucid Emacs from 19.0 through 19.10, the last
release actually named Lucid Emacs. A lot of work has been done by
Richard Mlynarik.
* Jamie Zawinski <jwz@netscape.com>
* Richard Mlynarik <mly@adoc.xerox.com>