summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/sam/Makefile20
-rw-r--r--editors/sam/distinfo1
-rw-r--r--editors/sam/files/patch-aa62
-rw-r--r--editors/sam/files/patch-ab46
-rw-r--r--editors/sam/files/patch-ac71
-rw-r--r--editors/sam/files/patch-ae23
-rw-r--r--editors/sam/files/patch-af41
-rw-r--r--editors/sam/pkg-comment1
-rw-r--r--editors/sam/pkg-descr17
-rw-r--r--editors/sam/pkg-plist19
-rw-r--r--shells/es/Makefile14
-rw-r--r--shells/es/distinfo1
-rw-r--r--shells/es/files/patch-aa88
-rw-r--r--shells/es/pkg-comment1
-rw-r--r--shells/es/pkg-descr13
-rw-r--r--shells/es/pkg-plist3
-rw-r--r--shells/rc/Makefile15
-rw-r--r--shells/rc/distinfo1
-rw-r--r--shells/rc/files/patch-aa93
-rw-r--r--shells/rc/pkg-comment1
-rw-r--r--shells/rc/pkg-descr34
-rw-r--r--shells/rc/pkg-plist8
-rw-r--r--x11-fonts/Xg/Makefile17
-rw-r--r--x11-fonts/Xg/distinfo1
-rw-r--r--x11-fonts/Xg/files/patch-aa20
-rw-r--r--x11-fonts/Xg/pkg-comment1
-rw-r--r--x11-fonts/Xg/pkg-descr40
-rw-r--r--x11-fonts/Xg/pkg-plist174
-rw-r--r--x11-wm/9menu/Makefile19
-rw-r--r--x11-wm/9menu/distinfo1
-rw-r--r--x11-wm/9menu/files/patch-aa31
-rw-r--r--x11-wm/9menu/pkg-comment1
-rw-r--r--x11-wm/9menu/pkg-descr10
-rw-r--r--x11-wm/9menu/pkg-plist2
-rw-r--r--x11-wm/9wm/Makefile20
-rw-r--r--x11-wm/9wm/distinfo1
-rw-r--r--x11-wm/9wm/pkg-comment1
-rw-r--r--x11-wm/9wm/pkg-descr20
-rw-r--r--x11-wm/9wm/pkg-plist2
-rw-r--r--x11/9menu/Makefile19
-rw-r--r--x11/9menu/distinfo1
-rw-r--r--x11/9menu/files/patch-aa31
-rw-r--r--x11/9menu/pkg-comment1
-rw-r--r--x11/9menu/pkg-descr10
-rw-r--r--x11/9menu/pkg-plist2
-rw-r--r--x11/9term/Makefile15
-rw-r--r--x11/9term/distinfo1
-rw-r--r--x11/9term/files/patch-aa45
-rw-r--r--x11/9term/files/patch-ac15
-rw-r--r--x11/9term/pkg-comment1
-rw-r--r--x11/9term/pkg-descr10
-rw-r--r--x11/9term/pkg-plist2
52 files changed, 1087 insertions, 0 deletions
diff --git a/editors/sam/Makefile b/editors/sam/Makefile
new file mode 100644
index 000000000000..64fadcff43a8
--- /dev/null
+++ b/editors/sam/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: sam
+# Version required: 4.3
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= sam
+PKGNAME= sam-4.3
+CATEGORIES+= plan9
+MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/
+EXTRACT_SUFX= .msg.gz
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= zcat
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= |sh
+
+.include <bsd.port.mk>
diff --git a/editors/sam/distinfo b/editors/sam/distinfo
new file mode 100644
index 000000000000..f5d6a51ab301
--- /dev/null
+++ b/editors/sam/distinfo
@@ -0,0 +1 @@
+MD5 (sam.msg.gz) = c7e1e2f262ae7a9d08c7b7553d80595a
diff --git a/editors/sam/files/patch-aa b/editors/sam/files/patch-aa
new file mode 100644
index 000000000000..6b5c32ede1dc
--- /dev/null
+++ b/editors/sam/files/patch-aa
@@ -0,0 +1,62 @@
+*** libXg/Makefile.orig Fri Jul 28 14:02:17 1995
+--- libXg/Makefile Fri Jul 21 15:03:43 1995
+***************
+*** 1,24 ****
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype Makefile for libXg
+ #
+- # define operating system. ONE of:
+- # -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
+- # -DHPUX -DAPOLLO -DCONVEX -DDYNIX
+- #
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+! OS=-DIRIX -ansiposix
+
+ # add -Iincludedir for any include directories that need to be searched
+! INCS=-I../include
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+! XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
+
+ # add name of library orderer - use ":" if none
+! RANLIB=:
+
+ # add name of librarian
+ AR=ar
+--- 1,23 ----
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype BSDi Makefile for libXg
+! # Courtesy of Boyd Roberts
+! #
+! # Define operating system type: -DBSDi
+ #
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+! OS=-O2 -DBSDi
+
+ # add -Iincludedir for any include directories that need to be searched
+! INCS=-I../include -I/usr/X11R6/include
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+! XLIBS=/usr/X11/lib/libXt.a /usr/X11/lib/libX11.a
+
+ # add name of library orderer - use ":" if none
+! RANLIB=ranlib
+
+ # add name of librarian
+ AR=ar
+***************
+*** 50,56 ****
+ $(LIB): $(OBJS)
+ $(AR) rv $(LIB) $(OBJS)
+ $(RANLIB) $(LIB)
+-
+- $(LIB)(%.o): %.o
+
+ $(OBJS): ../include/libg.h libgint.h ../include/libc.h
+--- 49,53 ----
diff --git a/editors/sam/files/patch-ab b/editors/sam/files/patch-ab
new file mode 100644
index 000000000000..3ff1dcdce98c
--- /dev/null
+++ b/editors/sam/files/patch-ab
@@ -0,0 +1,46 @@
+*** libframe/Makefile.orig Fri Jul 28 14:08:32 1995
+--- libframe/Makefile Fri Jul 21 15:02:32 1995
+***************
+*** 1,21 ****
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype Makefile for libframe
+ #
+- # define operating system. ONE of:
+- # -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
+- # -DHPUX -DAPOLLO -DCONVEX -DDYNIX
+- #
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+! OS=-DIRIX -ansiposix
+
+ # add -Iincludedir for any include directories that need to be searched
+ # for posix header files (for UMIPS, add -I/usr/include/posix)
+! INCS=-I../include
+
+ # add name of library orderer - use ":" if none exists
+! RANLIB=:
+
+ # add name of library
+ AR=ar
+--- 1,20 ----
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype BSDi Makefile for libframe
+! # Courtesy of Boyd Roberts
+! #
+! # Define operating system type: -DBSDi
+ #
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+! OS=-DBSDi -O2
+
+ # add -Iincludedir for any include directories that need to be searched
+ # for posix header files (for UMIPS, add -I/usr/include/posix)
+! INCS=-I../include -I/usr/include/posix
+
+ # add name of library orderer - use ":" if none exists
+! RANLIB=ranlib
+
+ # add name of library
+ AR=ar
diff --git a/editors/sam/files/patch-ac b/editors/sam/files/patch-ac
new file mode 100644
index 000000000000..00db47f4ac62
--- /dev/null
+++ b/editors/sam/files/patch-ac
@@ -0,0 +1,71 @@
+*** samterm/Makefile.orig Fri Jul 28 14:09:32 1995
+--- samterm/Makefile Fri Jul 21 15:30:09 1995
+***************
+*** 1,31 ****
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype Makefile for samterm
+ #
+- # define operating system. ONE of:
+- # -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
+- # -DHPUX -DAPOLLO -DCONVEX -DDYNIX
+- #
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+! OS=-DIRIX -ansiposix
+
+ # add -Iincludedir for any include directories that need to be searched
+ # for posix header files (for UMIPS, add -I/usr/include/posix)
+! INCS=-I../include
+
+ # SAMTERM contains the name of the file containing the samterm
+ # executable. SAMTERMDIR is the directory where it is installed.
+ SAMTERM=samterm
+! SAMTERMDIR=/v/bin
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+! XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
+
+ CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
+
+! LIBS=../libframe/libframe.a ../libXg/libXg.a
+ CC=cc
+
+ OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o
+--- 1,35 ----
+ # Copyright (c) 1992 AT&T - All rights reserved.
+ #
+! # Prototype BSDi Makefile for samterm
+! # Courtesy of Boyd Roberts
+! #
+! # Define operating system type: -DBSDi
+ #
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+! OS=-DBSDi -O2
+
+ # add -Iincludedir for any include directories that need to be searched
+ # for posix header files (for UMIPS, add -I/usr/include/posix)
+! INCS=-I../include -I/usr/include/posix
+
+ # SAMTERM contains the name of the file containing the samterm
+ # executable. SAMTERMDIR is the directory where it is installed.
+ SAMTERM=samterm
+! SAMTERMDIR=$(PREFIX)/bin
+
+ # set this if your X libraries are in different locations
+ # or if you need extra libraries to load with X11 applications
+! #XLIBS= /usr/X11R6/lib/libXt.a \
+! # /usr/X11R6/lib/libSM.a \
+! # /usr/X11R6/lib/libICE.a \
+! # /usr/X11R6/lib/libX11.a
+!
+! XLIBS=-L/usr/X11R6/lib -lXt -lSM -lICE -lX11
+
+ CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
+
+! LIBS=../libframe/libframe.a ../libXg/libXg.a
+ CC=cc
+
+ OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o
diff --git a/editors/sam/files/patch-ae b/editors/sam/files/patch-ae
new file mode 100644
index 000000000000..95c677a84255
--- /dev/null
+++ b/editors/sam/files/patch-ae
@@ -0,0 +1,23 @@
+*** include/u.h~ Fri Jul 21 15:01:18 1995
+--- include/u.h Fri Jul 21 16:47:00 1995
+***************
+*** 46,53 ****
+ #define NOFIFO /* turn off exstart in samterm/unix.c */
+ #endif /* UMIPS */
+
+! #ifdef SUNOS
+ typedef unsigned short ushort;
+ typedef unsigned long ulong;
+ extern char *strerror(int);
+ extern void *memmove(void*, const void*, size_t);
+--- 46,55 ----
+ #define NOFIFO /* turn off exstart in samterm/unix.c */
+ #endif /* UMIPS */
+
+! #if defined(SUNOS)
+! #ifndef __FreeBSD__
+ typedef unsigned short ushort;
++ #endif
+ typedef unsigned long ulong;
+ extern char *strerror(int);
+ extern void *memmove(void*, const void*, size_t);
diff --git a/editors/sam/files/patch-af b/editors/sam/files/patch-af
new file mode 100644
index 000000000000..ba87ef18a544
--- /dev/null
+++ b/editors/sam/files/patch-af
@@ -0,0 +1,41 @@
+*** Makefile.orig Fri Aug 11 15:55:41 1995
+--- Makefile Fri Aug 11 16:08:35 1995
+***************
+*** 3,8 ****
+--- 3,17 ----
+ # master makefile for sam. configure sub-makefiles first.
+ #
+
++
++ MAN=man
++ MAN1=sam
++ MAN3=add balloc bitblt cachechars event frame graphics rgbpix rune
++ MAN4=font keyboard utf
++ MAN6=bitmap regexp
++ APP_DEFAULT_DIR=/usr/X11R6/lib/X11/app-defaults
++ AD=Sam
++
+ all: lXg lframe samdir samtermdir
+
+ lXg:
+***************
+*** 21,26 ****
+--- 30,47 ----
+ cd libframe; $(MAKE) install
+ cd sam; $(MAKE) install
+ cd samterm; $(MAKE) install
++ pwd
++ for i in $(MAN1); do cp doc/$$i.1 $(PREFIX)/$(MAN)/man1/$$i.1; done
++ for i in $(MAN3); do cp doc/$$i.3 $(PREFIX)/$(MAN)/man3/$$i.3; done
++ for i in $(MAN4); do cp doc/$$i.4 $(PREFIX)/$(MAN)/man4/$$i.4; done
++ for i in $(MAN6); do cp doc/$$i.6 $(PREFIX)/$(MAN)/man6/$$i.6; done
++ cp doc/$(AD).ad $(APP_DEFAULT_DIR)/$(AD)
++ strip $(PREFIX)/bin/sam
++ strip $(PREFIX)/bin/samterm
++ for i in $(MAN1); do gzip -9nf $(PREFIX)/$(MAN)/man1/$$i.1; done
++ for i in $(MAN3); do gzip -9nf $(PREFIX)/$(MAN)/man3/$$i.3; done
++ for i in $(MAN4); do gzip -9nf $(PREFIX)/$(MAN)/man4/$$i.4; done
++ for i in $(MAN6); do gzip -9nf $(PREFIX)/$(MAN)/man6/$$i.6; done
+
+ clean:
+ cd libXg; $(MAKE) clean
diff --git a/editors/sam/pkg-comment b/editors/sam/pkg-comment
new file mode 100644
index 000000000000..aa2a297313cc
--- /dev/null
+++ b/editors/sam/pkg-comment
@@ -0,0 +1 @@
+The sam editor 4.3 -- Rob Pike's editor for plan9
diff --git a/editors/sam/pkg-descr b/editors/sam/pkg-descr
new file mode 100644
index 000000000000..2eab5d1faeaa
--- /dev/null
+++ b/editors/sam/pkg-descr
@@ -0,0 +1,17 @@
+This is an X11 version of Rob Pike's editor, sam. Documentation describing
+its use and construction are provided in subdirectory doc. The file doc/sam.1
+contains the manual page; doc/sam.tut.ms is a tutorial that can be
+formatted with troff -ms. It substitutes Bold and Italics for the
+fonts named CW and CS; if your system has these fonts, remove the
+CW and CS macros at the beginning of the file. The files doc/sam.ps
+and doc/se.ps are postscript versions of published papers describing
+sam and structural regular expressions. These papers reflect sam's
+capabilities at the time of publication several years ago; while the
+general description remains accurate, some functions may have changed
+or been removed. Other files in the doc directory contain manual pages
+for the library packages used by sam.
+
+Sam is composed of two programs: sam itself, which does the command processing
+and file manipulation; and samterm, which controls the display and
+interacts with the user. You can run sam on one machine and samterm on another
+connected via remote execution.
diff --git a/editors/sam/pkg-plist b/editors/sam/pkg-plist
new file mode 100644
index 000000000000..4ca58d2dc24d
--- /dev/null
+++ b/editors/sam/pkg-plist
@@ -0,0 +1,19 @@
+bin/sam
+bin/samterm
+bin/samsave
+bin/B
+man/man3/add.3.gz
+man/man3/balloc.3.gz
+man/man3/bitblt.3.gz
+man/man6/bitmap.6.gz
+man/man3/cachechars.3.gz
+man/man3/event.3.gz
+man/man4/font.4.gz
+man/man3/frame.3.gz
+man/man3/graphics.3.gz
+man/man4/keyboard.4.gz
+man/man6/regexp.6.gz
+man/man3/rgbpix.3.gz
+man/man3/rune.3.gz
+man/man1/sam.1.gz
+man/man4/utf.4.gz
diff --git a/shells/es/Makefile b/shells/es/Makefile
new file mode 100644
index 000000000000..3dceedad1109
--- /dev/null
+++ b/shells/es/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: es
+# Version required: 0.9a1
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= es-0.9-alpha1
+PKGNAME= es-0.9a1
+CATEGORIES+= plan9
+MASTER_SITES= ftp://ftp.sys.toronto.edu/pub/es/
+
+.include <bsd.port.mk>
diff --git a/shells/es/distinfo b/shells/es/distinfo
new file mode 100644
index 000000000000..cef218f706f8
--- /dev/null
+++ b/shells/es/distinfo
@@ -0,0 +1 @@
+MD5 (es-0.9-alpha1.tar.gz) = 2e7372fc4c8eaeb00571e721730b6108
diff --git a/shells/es/files/patch-aa b/shells/es/files/patch-aa
new file mode 100644
index 000000000000..f491e82fb15f
--- /dev/null
+++ b/shells/es/files/patch-aa
@@ -0,0 +1,88 @@
+*** Makefile.orig Tue May 30 06:14:14 1995
+--- Makefile Fri Aug 11 16:02:11 1995
+***************
+*** 33,40 ****
+ SHELL = /bin/sh
+ CC = cc
+ #CC = gcc
+! CFLAGS = -g
+! #CFLAGS = -g -O -Wall
+ LDFLAGS =
+ LIBS =
+
+--- 33,40 ----
+ SHELL = /bin/sh
+ CC = cc
+ #CC = gcc
+! #CFLAGS = -g
+! CFLAGS = -O2
+ LDFLAGS =
+ LIBS =
+
+***************
+*** 52,57 ****
+--- 52,66 ----
+ tree.o util.o var.o vec.o version.o y.tab.o
+ OTHER = Makefile parse.y mksignal
+ GEN = esdump y.tab.c y.tab.h y.output token.h sigmsgs.c initial.c
++
++ all: es
++
++ install:
++ $(INSTALL) -c es $(PREFIX)/bin
++ $(INSTALL) -c esdebug $(PREFIX)/bin/esdebug
++ $(INSTALL) -c es.1 $(PREFIX)/man/man1
++ strip $(PREFIX)/bin/es
++ gzip -9nf $(PREFIX)/man/man1/es.1
+
+ es : ${OFILES} initial.o
+ ${CC} -o es ${LDFLAGS} ${OFILES} initial.o ${LIBS}
+*** esdebug~ Mon Jul 31 13:54:29 1995
+--- esdebug Mon Jul 31 13:54:45 1995
+***************
+*** 1,4 ****
+! #! /bin/es -p
+ # esdebug: a debugger for es scripts ($Revision: 1.4 $)
+
+ # TODO
+--- 1,4 ----
+! #!/usr/local/bin/es -p
+ # esdebug: a debugger for es scripts ($Revision: 1.4 $)
+
+ # TODO
+*** prim-sys.c~ Mon Jul 31 16:20:31 1995
+--- prim-sys.c Mon Jul 31 16:21:25 1995
+***************
+*** 194,200 ****
+
+ static void printlimit(const Limit *limit, Boolean hard) {
+ struct rlimit rlim;
+! long lim;
+ getrlimit(limit->flag, &rlim);
+ if (hard)
+ lim = rlim.rlim_max;
+--- 194,200 ----
+
+ static void printlimit(const Limit *limit, Boolean hard) {
+ struct rlimit rlim;
+! u_quad_t lim;
+ getrlimit(limit->flag, &rlim);
+ if (hard)
+ lim = rlim.rlim_max;
+***************
+*** 213,219 ****
+ }
+ }
+
+! static long parselimit(const Limit *limit, char *s) {
+ long lim;
+ char *t;
+ const Suffix *suf = limit->suffix;
+--- 213,219 ----
+ }
+ }
+
+! static u_quad_t parselimit(const Limit *limit, char *s) {
+ long lim;
+ char *t;
+ const Suffix *suf = limit->suffix;
diff --git a/shells/es/pkg-comment b/shells/es/pkg-comment
new file mode 100644
index 000000000000..2ecdaa9b7e00
--- /dev/null
+++ b/shells/es/pkg-comment
@@ -0,0 +1 @@
+Es -- an extensible shell, derrived from plan9's rc
diff --git a/shells/es/pkg-descr b/shells/es/pkg-descr
new file mode 100644
index 000000000000..6b6cdba3348f
--- /dev/null
+++ b/shells/es/pkg-descr
@@ -0,0 +1,13 @@
+Es is an extensible shell. The language was derived from the Plan 9
+shell, rc, and was influenced by functional programming languages,
+such as Scheme, and the Tcl embeddable programming language. This
+implementation is derived from Byron Rakitzis's public domain
+implementation of rc.
+
+Es is in the public domain. We hold no copyrights or patents on
+the source code, and do not place any restrictions on its distribution.
+We would appreciate it if any distributions do credit the authors.
+
+Enjoy!
+
+-- Paul Haahr & Byron Rakitzis
diff --git a/shells/es/pkg-plist b/shells/es/pkg-plist
new file mode 100644
index 000000000000..03aafe9fe6b3
--- /dev/null
+++ b/shells/es/pkg-plist
@@ -0,0 +1,3 @@
+bin/es
+bin/esdebug
+man/man1/es.1.gz
diff --git a/shells/rc/Makefile b/shells/rc/Makefile
new file mode 100644
index 000000000000..194310cd8fa1
--- /dev/null
+++ b/shells/rc/Makefile
@@ -0,0 +1,15 @@
+# New ports collection makefile for: rc
+# Version required: 1.5b1
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= rc-1.5betadev-1
+PKGNAME= rc-1.5b1
+CATEGORIES+= plan9
+MASTER_SITES= ftp://ftp.sys.toronto.edu/pub/rc/
+NO_WRKSUBDIR= yes
+
+.include <bsd.port.mk>
diff --git a/shells/rc/distinfo b/shells/rc/distinfo
new file mode 100644
index 000000000000..a510c99d59aa
--- /dev/null
+++ b/shells/rc/distinfo
@@ -0,0 +1 @@
+MD5 (rc-1.5betadev-1.tar.gz) = 4ddd5d227fe3817da9cf2781702a6c8b
diff --git a/shells/rc/files/patch-aa b/shells/rc/files/patch-aa
new file mode 100644
index 000000000000..8d0ff6190e1f
--- /dev/null
+++ b/shells/rc/files/patch-aa
@@ -0,0 +1,93 @@
+*** Makefile.orig Sun Mar 6 21:32:46 1994
+--- Makefile Fri Aug 11 16:00:41 1995
+***************
+*** 16,23 ****
+ #ADDON=addon.o
+
+ # Use an ANSI compiler (or at least one that groks prototypes and void *):
+! CC=gcc -g -O
+! CFLAGS=
+ LDFLAGS=
+
+ # You may substitute "bison -y" for yacc. (You want to choose the one that
+--- 16,23 ----
+ #ADDON=addon.o
+
+ # Use an ANSI compiler (or at least one that groks prototypes and void *):
+! CC=gcc
+! CFLAGS= -O2
+ LDFLAGS=
+
+ # You may substitute "bison -y" for yacc. (You want to choose the one that
+***************
+*** 29,34 ****
+--- 29,47 ----
+ nalloc.o open.o print.o redir.o sigmsgs.o signal.o status.o tree.o \
+ utils.o var.o version.o wait.o walk.o which.o y.tab.o
+
++ all: rc history
++
++ install:
++ $(INSTALL) -c rc $(PREFIX)/bin
++ $(INSTALL) -c history/history $(PREFIX)/bin
++ for i in - -- -p --p; do rm -f $(PREFIX)/bin/$$i; ln $(PREFIX)/bin/history $(PREFIX)/bin/$$i; done
++ $(INSTALL) -c rc.1 $(PREFIX)/man/man1
++ $(INSTALL) -c history/history.1 $(PREFIX)/man/man1
++ strip $(PREFIX)/bin/rc
++ strip $(PREFIX)/bin/history
++ gzip -9nf $(PREFIX)/man/man1/rc.1
++ gzip -9nf $(PREFIX)/man/man1/history.1
++
+ # If rc is compiled with READLINE defined, you must supply the correct
+ # arguments to ld on this line. Typically this would be something like:
+ #
+*** builtins.c.orig Sun Mar 6 21:32:49 1994
+--- builtins.c Mon Jul 31 12:27:12 1995
+***************
+*** 466,477 ****
+
+ #ifndef SYSVR4
+ extern int getrlimit(int, struct rlimit *);
+ extern int setrlimit(int, struct rlimit *);
+ #endif
+
+ static void printlimit(const Limit *limit, bool hard) {
+ struct rlimit rlim;
+! long lim;
+ getrlimit(limit->flag, &rlim);
+ if (hard)
+ lim = rlim.rlim_max;
+--- 466,481 ----
+
+ #ifndef SYSVR4
+ extern int getrlimit(int, struct rlimit *);
++
++ #ifndef __FreeBSD__
+ extern int setrlimit(int, struct rlimit *);
+ #endif
+
++ #endif
++
+ static void printlimit(const Limit *limit, bool hard) {
+ struct rlimit rlim;
+! u_quad_t lim;
+ getrlimit(limit->flag, &rlim);
+ if (hard)
+ lim = rlim.rlim_max;
+***************
+*** 490,496 ****
+ }
+ }
+
+! static long parselimit(const Limit *limit, char *s) {
+ char *t;
+ int len = strlen(s);
+ long lim = 1;
+--- 494,500 ----
+ }
+ }
+
+! static u_quad_t parselimit(const Limit *limit, char *s) {
+ char *t;
+ int len = strlen(s);
+ long lim = 1;
diff --git a/shells/rc/pkg-comment b/shells/rc/pkg-comment
new file mode 100644
index 000000000000..5a5234eccdea
--- /dev/null
+++ b/shells/rc/pkg-comment
@@ -0,0 +1 @@
+rc, version 1.5beta-1 -- a unix incarnation of the plan9 shell.
diff --git a/shells/rc/pkg-descr b/shells/rc/pkg-descr
new file mode 100644
index 000000000000..43142d5d5263
--- /dev/null
+++ b/shells/rc/pkg-descr
@@ -0,0 +1,34 @@
+This is release 1.5 of rc.
+
+Read COPYRIGHT for copying information. All files are
+
+Copyright 1991, Byron Rakitzis.
+
+CREDITS
+
+This shell was written by me, Byron Rakitzis, but kudos go to Paul
+Haahr for letting me know what a shell should do and for contributing
+certain bits and pieces to rc (notably the limits code, print.c,
+most of which.c and the backquote redirection code), and to Hugh
+Redelmeier for running rc through his fussy ANSI compiler and
+thereby provoking interesting discussions about portability, and
+also for providing many valuable suggestions for improving rc's
+code in general. Finally, many thanks go to David Sanderson, for
+reworking the man page to format well with troff, and for providing
+many suggestions both for rc and its man page.
+
+Thanks to Boyd Roberts for the original history.c, and to Hugh
+again for re-working parts of that code.
+
+Of course, without Tom Duff's design of the original rc, I could
+not have written this shell (though I probably would have written
+*a* shell). Almost of all of the features, with minor exceptions,
+have been implemented as described in the Unix v10 manuals. Hats
+off to td for designing a C-like, minimal but very useful shell.
+
+Tom Duff has kindly given permission for the paper he wrote for
+UKUUG to be distributed with this version of rc (called "plan9.ps"
+in the same ftp directory as the shell). Please read this paper
+bearing in mind that it describes a program that was written at
+AT&T and that the version of rc presented here differs in some
+respects.
diff --git a/shells/rc/pkg-plist b/shells/rc/pkg-plist
new file mode 100644
index 000000000000..dfe16872b94e
--- /dev/null
+++ b/shells/rc/pkg-plist
@@ -0,0 +1,8 @@
+bin/rc
+bin/history
+bin/-
+bin/--
+bin/-p
+bin/--p
+man/man1/history.1.gz
+man/man1/rc.1.gz
diff --git a/x11-fonts/Xg/Makefile b/x11-fonts/Xg/Makefile
new file mode 100644
index 000000000000..fdb0a18dbf3c
--- /dev/null
+++ b/x11-fonts/Xg/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: libXg
+# Version required: ????? arbitrarily picked 1.0 for version
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= libXg.utf.fonts
+PKGNAME= libXgFonts-1.0
+CATEGORIES+= plan9
+MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/
+EXTRACT_SUFX= .tar.Z
+NO_WRKSUBDIR= yes
+USE_X11= yes
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/Xg/distinfo b/x11-fonts/Xg/distinfo
new file mode 100644
index 000000000000..18d824000ffd
--- /dev/null
+++ b/x11-fonts/Xg/distinfo
@@ -0,0 +1 @@
+MD5 (libXg.utf.fonts.tar.Z) = 3ceb7eef48c7a9d0b8e2f28ae6a3c94e
diff --git a/x11-fonts/Xg/files/patch-aa b/x11-fonts/Xg/files/patch-aa
new file mode 100644
index 000000000000..0f57ac582279
--- /dev/null
+++ b/x11-fonts/Xg/files/patch-aa
@@ -0,0 +1,20 @@
+*** Makefile~ Sun Aug 13 13:55:37 1995
+--- Makefile Sun Aug 13 13:56:11 1995
+***************
+*** 0 ****
+--- 1,15 ----
++
++ DESTDIR=$(PREFIX)/lib/X11/fonts/Xg
++
++ all:
++ @echo nothing to be done for \`$@\'
++ @echo this is an install-only target.
++
++ install:
++ [ -d $(DESTDIR) ] || mkdir -p $(DESTDIR)
++ for i in Xg/bdf/*.bdf; do b=$$(basename $$i .bdf); \
++ rm -f $(DESTDIR)/$$b.pcf.Z; \
++ bdftopcf -o $(DESTDIR)/$$b.pcf $$i; \
++ compress $(DESTDIR)/$$b.pcf; \
++ done; mkfontdir $(DESTDIR); \
++ cp Xg/matty/unicode.9.font $(DESTDIR)
diff --git a/x11-fonts/Xg/pkg-comment b/x11-fonts/Xg/pkg-comment
new file mode 100644
index 000000000000..e4dfd89bb276
--- /dev/null
+++ b/x11-fonts/Xg/pkg-comment
@@ -0,0 +1 @@
+These are the UNICODE fonts for use with 9term and sam.
diff --git a/x11-fonts/Xg/pkg-descr b/x11-fonts/Xg/pkg-descr
new file mode 100644
index 000000000000..5053b08c2964
--- /dev/null
+++ b/x11-fonts/Xg/pkg-descr
@@ -0,0 +1,40 @@
+Unicode fonts
+=============
+
+The new libXg distribution supports Unicode. Sam and 9term built using
+the new UTF libXg will allow one to enter and edit files containing
+Unicode characters encoded using UTF-2 (UTF-FSS). The software
+takes care of all this encoding. Sam may be used to enter the files
+and when displayed in a suitable 9term window will be seen in all
+their Unicode glory. The font bundle is an integral part of this.
+It contains bdf files of fonts which are used to span various ranges
+of the Unicode space.
+
+To use them:
+
+o convert the bdf files to whatever format is appropriate for
+ your system and place the files in a suitable common directory
+o set this directory up as an X font directory by running some
+ program such as `mkfontdir' if necessary
+o add the directory to your fontpath `xset fp+ fontdir'
+o make sure libXg knows about the fontfile you wish to use by
+ setting the appropriate .p9font X resource (or just *p9font) to
+ be something like /lib/font/Xg/matty/unicode.9.font or by
+ specifying an appropriate -p9font argument to libXg programs.
+
+I am currently using these headers on outgoing Unicode mail, however
+I do not vouch for their correctness. They do provide a bit of clue
+as to what is going on 'though.
+
+ Mime-Version: 1.0
+ Content-Type: text/plain; charset=X-utf-2
+ Content-Transfer-Encoding: 8bit
+
+I am working on a program to convert UTF-2 streams into reasonable
+ascii aproximations where possible.
+
+If you create any more fonts or add to the existing fonts, please
+drop me a line so I can add them to the distribution and my collection.
+
+ Matty Farrow
+ matty@cs.su.oz.au
diff --git a/x11-fonts/Xg/pkg-plist b/x11-fonts/Xg/pkg-plist
new file mode 100644
index 000000000000..39272713bd46
--- /dev/null
+++ b/x11-fonts/Xg/pkg-plist
@@ -0,0 +1,174 @@
+lib/X11/fonts/Xg/big5.4e00.16.pcf.Z
+lib/X11/fonts/Xg/big5.5000.16.pcf.Z
+lib/X11/fonts/Xg/big5.5200.16.pcf.Z
+lib/X11/fonts/Xg/big5.5400.16.pcf.Z
+lib/X11/fonts/Xg/big5.5600.16.pcf.Z
+lib/X11/fonts/Xg/big5.5800.16.pcf.Z
+lib/X11/fonts/Xg/big5.5a00.16.pcf.Z
+lib/X11/fonts/Xg/big5.5c00.16.pcf.Z
+lib/X11/fonts/Xg/big5.5e00.16.pcf.Z
+lib/X11/fonts/Xg/big5.6000.16.pcf.Z
+lib/X11/fonts/Xg/big5.6200.16.pcf.Z
+lib/X11/fonts/Xg/big5.6400.16.pcf.Z
+lib/X11/fonts/Xg/big5.6600.16.pcf.Z
+lib/X11/fonts/Xg/big5.6800.16.pcf.Z
+lib/X11/fonts/Xg/big5.6a00.16.pcf.Z
+lib/X11/fonts/Xg/big5.6c00.16.pcf.Z
+lib/X11/fonts/Xg/fonts.dir
+lib/X11/fonts/Xg/big5.6e00.16.pcf.Z
+lib/X11/fonts/Xg/big5.7000.16.pcf.Z
+lib/X11/fonts/Xg/big5.7200.16.pcf.Z
+lib/X11/fonts/Xg/big5.7400.16.pcf.Z
+lib/X11/fonts/Xg/big5.7600.16.pcf.Z
+lib/X11/fonts/Xg/big5.7800.16.pcf.Z
+lib/X11/fonts/Xg/big5.7a00.16.pcf.Z
+lib/X11/fonts/Xg/big5.7c00.16.pcf.Z
+lib/X11/fonts/Xg/big5.7e00.16.pcf.Z
+lib/X11/fonts/Xg/big5.8000.16.pcf.Z
+lib/X11/fonts/Xg/big5.8200.16.pcf.Z
+lib/X11/fonts/Xg/big5.8400.16.pcf.Z
+lib/X11/fonts/Xg/big5.8600.16.pcf.Z
+lib/X11/fonts/Xg/big5.8800.16.pcf.Z
+lib/X11/fonts/Xg/big5.8a00.16.pcf.Z
+lib/X11/fonts/Xg/big5.8c00.16.pcf.Z
+lib/X11/fonts/Xg/big5.8e00.16.pcf.Z
+lib/X11/fonts/Xg/big5.9000.16.pcf.Z
+lib/X11/fonts/Xg/big5.9200.16.pcf.Z
+lib/X11/fonts/Xg/big5.9400.16.pcf.Z
+lib/X11/fonts/Xg/big5.9600.16.pcf.Z
+lib/X11/fonts/Xg/big5.9800.16.pcf.Z
+lib/X11/fonts/Xg/big5.9a00.16.pcf.Z
+lib/X11/fonts/Xg/big5.9c00.16.pcf.Z
+lib/X11/fonts/Xg/big5.9e00.16.pcf.Z
+lib/X11/fonts/Xg/jis.hiragana.16.pcf.Z
+lib/X11/fonts/Xg/jis.hiragana.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis3000.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis3000.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis4e00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis4e00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis5000.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis5000.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis5200.16.pcf.Z
+lib/X11/fonts/Xg/lucm.greek.9.pcf.Z
+lib/X11/fonts/Xg/jis.jis5200.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis5400.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis5400.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis5600.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis5600.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis5800.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis5800.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis5a00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis5a00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis5c00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis5c00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis5e00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis5e00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis6000.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis6000.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis6200.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis6200.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis6400.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis6400.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis6600.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis6600.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis6800.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis6800.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis6a00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis6a00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis6c00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis6c00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis6e00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis6e00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis7000.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis7000.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis7200.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis7200.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis7400.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis7400.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis7600.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis7600.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis7800.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis7800.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis7a00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis7a00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis7c00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis7c00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis7e00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis7e00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis8000.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis8000.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis8200.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis8200.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis8400.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis8400.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis8600.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis8600.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis8800.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis8800.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis8a00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis8a00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis8c00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis8c00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis8e00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis8e00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis9000.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis9000.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis9200.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis9200.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis9400.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis9400.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis9600.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis9600.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis9800.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis9800.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis9a00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis9a00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis9c00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis9c00.24.pcf.Z
+lib/X11/fonts/Xg/jis.jis9e00.16.pcf.Z
+lib/X11/fonts/Xg/jis.jis9e00.24.pcf.Z
+lib/X11/fonts/Xg/jis.katakana.16.pcf.Z
+lib/X11/fonts/Xg/jis.katakana.24.pcf.Z
+lib/X11/fonts/Xg/lucm.currency.9.pcf.Z
+lib/X11/fonts/Xg/lucm.genpunc.9.pcf.Z
+lib/X11/fonts/Xg/lucm.ipa.9.pcf.Z
+lib/X11/fonts/Xg/lucm.latin1.9.pcf.Z
+lib/X11/fonts/Xg/lucm.latineur.9.pcf.Z
+lib/X11/fonts/Xg/lucm.supsub.9.pcf.Z
+lib/X11/fonts/Xg/matty.blocks.pcf.Z
+lib/X11/fonts/Xg/matty.chart.pcf.Z
+lib/X11/fonts/Xg/matty.geometric.pcf.Z
+lib/X11/fonts/Xg/matty.hebrew.9.pcf.Z
+lib/X11/fonts/Xg/matty.latin1.9.pcf.Z
+lib/X11/fonts/Xg/matty.hebrew.9.orig.pcf.Z
+lib/X11/fonts/Xg/matty.math1.pcf.Z
+lib/X11/fonts/Xg/matty.hebrew.9.short.pcf.Z
+lib/X11/fonts/Xg/matty.letterlike.9.pcf.Z
+lib/X11/fonts/Xg/matty.math2.pcf.Z
+lib/X11/fonts/Xg/matty.tech.pcf.Z
+lib/X11/fonts/Xg/matty.tengwar.9.24.pcf.Z
+lib/X11/fonts/Xg/matty.tengwar.9.pcf.Z
+lib/X11/fonts/Xg/misc.arrows.pcf.Z
+lib/X11/fonts/Xg/misc.chart.pcf.Z
+lib/X11/fonts/Xg/misc.cyrillic.9.pcf.Z
+lib/X11/fonts/Xg/misc.ding.pcf.Z
+lib/X11/fonts/Xg/misc.genpunc.8.pcf.Z
+lib/X11/fonts/Xg/misc.greek.8.pcf.Z
+lib/X11/fonts/Xg/misc.ipa.8.pcf.Z
+lib/X11/fonts/Xg/misc.letterlike.8.pcf.Z
+lib/X11/fonts/Xg/misc.math1.pcf.Z
+lib/X11/fonts/Xg/misc.math2.pcf.Z
+lib/X11/fonts/Xg/misc.tech.pcf.Z
+lib/X11/fonts/Xg/misc.zapf.pcf.Z
+lib/X11/fonts/Xg/pelm.ascii.10.pcf.Z
+lib/X11/fonts/Xg/pelm.ascii.12.pcf.Z
+lib/X11/fonts/Xg/pelm.ascii.16.pcf.Z
+lib/X11/fonts/Xg/smiley.0.pcf.Z
+lib/X11/fonts/Xg/pelm.currency.9.pcf.Z
+lib/X11/fonts/Xg/pelm.fffd.9.pcf.Z
+lib/X11/fonts/Xg/pelm.latin1.8.pcf.Z
+lib/X11/fonts/Xg/pelm.latin1.9.pcf.Z
+lib/X11/fonts/Xg/pelm.latineur.8.pcf.Z
+lib/X11/fonts/Xg/pelm.latineur.9.pcf.Z
+lib/X11/fonts/Xg/pelm.supsub.8.pcf.Z
+lib/X11/fonts/Xg/pelm.supsub.9.pcf.Z
diff --git a/x11-wm/9menu/Makefile b/x11-wm/9menu/Makefile
new file mode 100644
index 000000000000..7279b9745dd1
--- /dev/null
+++ b/x11-wm/9menu/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: 9menu
+# Version required: 1.4
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= 9menu-1.4
+CATEGORIES+= plan9
+MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/arnold/
+EXTRACT_SUFX= .shar.gz
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= zcat
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= |sh
+
+.include <bsd.port.mk>
diff --git a/x11-wm/9menu/distinfo b/x11-wm/9menu/distinfo
new file mode 100644
index 000000000000..942e6de3d2e8
--- /dev/null
+++ b/x11-wm/9menu/distinfo
@@ -0,0 +1 @@
+MD5 (9menu-1.4.shar.gz) = 56b5f19f2d4daa494250f89485dd355a
diff --git a/x11-wm/9menu/files/patch-aa b/x11-wm/9menu/files/patch-aa
new file mode 100644
index 000000000000..375c3ac91895
--- /dev/null
+++ b/x11-wm/9menu/files/patch-aa
@@ -0,0 +1,31 @@
+*** Makefile.orig Fri Aug 11 15:55:35 1995
+--- Makefile Fri Aug 11 16:03:26 1995
+***************
+*** 6,13 ****
+ # arnold@skeeve.atl.ga.us
+
+ CC = gcc
+! CFLAGS = -g -O
+! LIBS = -lX11
+
+ 9menu: 9menu.c
+ $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
+--- 6,23 ----
+ # arnold@skeeve.atl.ga.us
+
+ CC = gcc
+! CFLAGS = -O -I/usr/X11R6/include
+! LIBS = -L/usr/X11R6/lib -lX11
+!
+!
+! all: 9menu
+
+ 9menu: 9menu.c
+ $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
++
++ install:
++ $(INSTALL) -c 9menu $(PREFIX)/bin
++ $(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
++ strip $(PREFIX)/bin/9menu
++ gzip -9nf $(PREFIX)/man/man1/9menu.1
++
diff --git a/x11-wm/9menu/pkg-comment b/x11-wm/9menu/pkg-comment
new file mode 100644
index 000000000000..ccb6bdce17b6
--- /dev/null
+++ b/x11-wm/9menu/pkg-comment
@@ -0,0 +1 @@
+9menu 1.4 -- a simple menu patterened after plan9
diff --git a/x11-wm/9menu/pkg-descr b/x11-wm/9menu/pkg-descr
new file mode 100644
index 000000000000..252966458457
--- /dev/null
+++ b/x11-wm/9menu/pkg-descr
@@ -0,0 +1,10 @@
+This is 9menu, a simple program that allows you to create X menus from the
+shell, where each menu item will run a command. 9menu is intended for use
+with 9wm, but can be used with any other window manager.
+
+The idea of a command line menu generator is from xmenu, but xmenu was
+exclusively a pop-up menu, not what I wanted.
+
+--
+Arnold Robbins
+arnold@skeeve.atl.ga.us
diff --git a/x11-wm/9menu/pkg-plist b/x11-wm/9menu/pkg-plist
new file mode 100644
index 000000000000..d0ee602b0659
--- /dev/null
+++ b/x11-wm/9menu/pkg-plist
@@ -0,0 +1,2 @@
+bin/9menu
+man/man1/9menu.1.gz
diff --git a/x11-wm/9wm/Makefile b/x11-wm/9wm/Makefile
new file mode 100644
index 000000000000..5d4279ae9897
--- /dev/null
+++ b/x11-wm/9wm/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: 9wm
+# Version required: 1.1
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= 9wm-1.1
+CATEGORIES+= plan9
+MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/arnold/
+EXTRACT_SUFX= .shar.gz
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= zcat
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= |sh
+USE_IMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/x11-wm/9wm/distinfo b/x11-wm/9wm/distinfo
new file mode 100644
index 000000000000..6133e4803248
--- /dev/null
+++ b/x11-wm/9wm/distinfo
@@ -0,0 +1 @@
+MD5 (9wm-1.1.shar.gz) = e3ebae40e0d4ba2b4c05448c0bbf43ae
diff --git a/x11-wm/9wm/pkg-comment b/x11-wm/9wm/pkg-comment
new file mode 100644
index 000000000000..71a7a503d8a5
--- /dev/null
+++ b/x11-wm/9wm/pkg-comment
@@ -0,0 +1 @@
+9wm 1.1 -- an 8 1/2-like Window Manager for X
diff --git a/x11-wm/9wm/pkg-descr b/x11-wm/9wm/pkg-descr
new file mode 100644
index 000000000000..da925f2e9da3
--- /dev/null
+++ b/x11-wm/9wm/pkg-descr
@@ -0,0 +1,20 @@
+ 9wm Version 1.1
+ Copyright 1994 David Hogan.
+
+What is 9wm?
+============
+
+9wm is an X window manager which attempts to emulate the Plan 9 window
+manager 8-1/2 as far as possible within the constraints imposed by X.
+It provides a simple yet comfortable user interface, without garish
+decorations or title-bars. Or icons. And it's click-to-type. This
+will not appeal to everybody, but if you're not put off yet then read
+on. (And don't knock it until you've tried it).
+
+One major difference between 9wm and 8-1/2 is that the latter provides
+windows of text with a typescript interface, and doesn't need to run a
+separate program to emulate a terminal. 9wm, as an X window manager,
+does require a separate program. For better 8-1/2 emulation, you should
+obtain Matthew Farrow's "9term" program (ftp://ftp.cs.su.oz.au/matty/unicode),
+version 1.6 or later (earlier versions don't cooperate with 9wm in
+implementing "hold mode"). Of course, you can run xterm under 9wm as well.
diff --git a/x11-wm/9wm/pkg-plist b/x11-wm/9wm/pkg-plist
new file mode 100644
index 000000000000..76261967da6a
--- /dev/null
+++ b/x11-wm/9wm/pkg-plist
@@ -0,0 +1,2 @@
+bin/9wm
+man/man1/9wm.1.gz
diff --git a/x11/9menu/Makefile b/x11/9menu/Makefile
new file mode 100644
index 000000000000..7279b9745dd1
--- /dev/null
+++ b/x11/9menu/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: 9menu
+# Version required: 1.4
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= 9menu-1.4
+CATEGORIES+= plan9
+MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/arnold/
+EXTRACT_SUFX= .shar.gz
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= zcat
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= |sh
+
+.include <bsd.port.mk>
diff --git a/x11/9menu/distinfo b/x11/9menu/distinfo
new file mode 100644
index 000000000000..942e6de3d2e8
--- /dev/null
+++ b/x11/9menu/distinfo
@@ -0,0 +1 @@
+MD5 (9menu-1.4.shar.gz) = 56b5f19f2d4daa494250f89485dd355a
diff --git a/x11/9menu/files/patch-aa b/x11/9menu/files/patch-aa
new file mode 100644
index 000000000000..375c3ac91895
--- /dev/null
+++ b/x11/9menu/files/patch-aa
@@ -0,0 +1,31 @@
+*** Makefile.orig Fri Aug 11 15:55:35 1995
+--- Makefile Fri Aug 11 16:03:26 1995
+***************
+*** 6,13 ****
+ # arnold@skeeve.atl.ga.us
+
+ CC = gcc
+! CFLAGS = -g -O
+! LIBS = -lX11
+
+ 9menu: 9menu.c
+ $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
+--- 6,23 ----
+ # arnold@skeeve.atl.ga.us
+
+ CC = gcc
+! CFLAGS = -O -I/usr/X11R6/include
+! LIBS = -L/usr/X11R6/lib -lX11
+!
+!
+! all: 9menu
+
+ 9menu: 9menu.c
+ $(CC) $(CFLAGS) 9menu.c $(LIBS) -o 9menu
++
++ install:
++ $(INSTALL) -c 9menu $(PREFIX)/bin
++ $(INSTALL) -c 9menu.1 $(PREFIX)/man/man1
++ strip $(PREFIX)/bin/9menu
++ gzip -9nf $(PREFIX)/man/man1/9menu.1
++
diff --git a/x11/9menu/pkg-comment b/x11/9menu/pkg-comment
new file mode 100644
index 000000000000..ccb6bdce17b6
--- /dev/null
+++ b/x11/9menu/pkg-comment
@@ -0,0 +1 @@
+9menu 1.4 -- a simple menu patterened after plan9
diff --git a/x11/9menu/pkg-descr b/x11/9menu/pkg-descr
new file mode 100644
index 000000000000..252966458457
--- /dev/null
+++ b/x11/9menu/pkg-descr
@@ -0,0 +1,10 @@
+This is 9menu, a simple program that allows you to create X menus from the
+shell, where each menu item will run a command. 9menu is intended for use
+with 9wm, but can be used with any other window manager.
+
+The idea of a command line menu generator is from xmenu, but xmenu was
+exclusively a pop-up menu, not what I wanted.
+
+--
+Arnold Robbins
+arnold@skeeve.atl.ga.us
diff --git a/x11/9menu/pkg-plist b/x11/9menu/pkg-plist
new file mode 100644
index 000000000000..d0ee602b0659
--- /dev/null
+++ b/x11/9menu/pkg-plist
@@ -0,0 +1,2 @@
+bin/9menu
+man/man1/9menu.1.gz
diff --git a/x11/9term/Makefile b/x11/9term/Makefile
new file mode 100644
index 000000000000..357a2f66f507
--- /dev/null
+++ b/x11/9term/Makefile
@@ -0,0 +1,15 @@
+# New ports collection makefile for: 9term
+# Version required: 1.6.3
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= 9term.1.6.3
+PKGNAME= 9term-1.6.3
+CATEGORIES+= plan9
+MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/
+NO_WRKSUBDIR= yes
+
+.include <bsd.port.mk>
diff --git a/x11/9term/distinfo b/x11/9term/distinfo
new file mode 100644
index 000000000000..0739005a9767
--- /dev/null
+++ b/x11/9term/distinfo
@@ -0,0 +1 @@
+MD5 (9term.1.6.3.tar.gz) = 064a4428aba417a7793d3252423faf0b
diff --git a/x11/9term/files/patch-aa b/x11/9term/files/patch-aa
new file mode 100644
index 000000000000..a587c0a88d16
--- /dev/null
+++ b/x11/9term/files/patch-aa
@@ -0,0 +1,45 @@
+*** libtext/Makefile.orig Wed Jun 1 21:01:19 1994
+--- libtext/Makefile Mon Jul 31 11:34:06 1995
+***************
+*** 5,18 ****
+ #
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+! OS=-DSOLARIS
+
+ # add -Iincludedir for any include directories that need to be searched
+ # for posix header files
+! INCS=-I. -I../include
+
+ # add name of library orderer - use ":" if none exists
+! RANLIB=:
+
+ # add name of library
+ AR=ar
+--- 5,19 ----
+ #
+ # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
+ # if your compiler supports posix-compatible compilation
+! OS=-DSUNOS -O2
+! SAMDIR=../../../sam/work
+
+ # add -Iincludedir for any include directories that need to be searched
+ # for posix header files
+! INCS=-I. -I$(SAMDIR)/include
+
+ # add name of library orderer - use ":" if none exists
+! RANLIB=ranlib
+
+ # add name of library
+ AR=ar
+***************
+*** 38,41 ****
+
+ install: $(LIB)
+
+! $(OBJ): ../include/u.h ../include/libc.h ../include/libg.h ../include/frame.h ../include/text.h
+--- 39,42 ----
+
+ install: $(LIB)
+
+! $(OBJ): $(SAMDIR)/include/u.h $(SAMDIR)/include/libc.h $(SAMDIR)/include/libg.h $(SAMDIR)/include/frame.h text.h
diff --git a/x11/9term/files/patch-ac b/x11/9term/files/patch-ac
new file mode 100644
index 000000000000..8bd3e6269f44
--- /dev/null
+++ b/x11/9term/files/patch-ac
@@ -0,0 +1,15 @@
+*** Makefile.orig Fri Aug 11 15:57:26 1995
+--- Makefile Fri Aug 11 16:04:30 1995
+***************
+*** 0 ****
+--- 1,10 ----
++
++ MAN=man
++ all:
++ (cd libtext; make)
++ (cd 9term; make)
++ install:
++ $(INSTALL) -c 9term/9term $(PREFIX)/bin/
++ $(INSTALL) -c 9term/9term.1 $(PREFIX)/$(MAN)/man1/
++ strip $(PREFIX)/bin/9term
++ gzip -9nf $(PREFIX)/man/man1/9term.1
diff --git a/x11/9term/pkg-comment b/x11/9term/pkg-comment
new file mode 100644
index 000000000000..57dae3745704
--- /dev/null
+++ b/x11/9term/pkg-comment
@@ -0,0 +1 @@
+9term -- an X11 program which emulates a plan9 window.
diff --git a/x11/9term/pkg-descr b/x11/9term/pkg-descr
new file mode 100644
index 000000000000..118271b454f7
--- /dev/null
+++ b/x11/9term/pkg-descr
@@ -0,0 +1,10 @@
+9term is a terminal emulator which emulates an 8 1/2 window.
+this version supports unicode. To see this support, cat one of
+the utf files in an 8 1/2 window. Your Xserver must be able to
+find the required fonts, and the `*p9font' x-resource must be
+set to point to the fonts, maybe `/usr/X11R6/lib/X11/fonts/Xg/unicode.9.font'.
+
+This port needs work, it is functional enough to get the feel
+for 9term, but some of the features don't work with FreeBSD.
+
+eric.
diff --git a/x11/9term/pkg-plist b/x11/9term/pkg-plist
new file mode 100644
index 000000000000..c05b3d50650d
--- /dev/null
+++ b/x11/9term/pkg-plist
@@ -0,0 +1,2 @@
+bin/9term
+man/man1/9term.1.gz