summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
authoragc <agc>2000-05-15 11:52:44 +0000
committeragc <agc>2000-05-15 11:52:44 +0000
commit0a3a71599acd2840487079d6753b657cfb4495e5 (patch)
treec11e8ef5fc5e21b2fcdb78512b07399de8a3945a /plan9
parent5ac3bafb5183eba07eb9f2477e6893ed7daf2d34 (diff)
downloadpkgsrc-0a3a71599acd2840487079d6753b657cfb4495e5.tar.gz
Move sam from plan9 to editors by repository copy.
Diffstat (limited to 'plan9')
-rw-r--r--plan9/Makefile3
-rw-r--r--plan9/sam/Makefile32
-rw-r--r--plan9/sam/files/md53
-rw-r--r--plan9/sam/files/patch-sum11
-rw-r--r--plan9/sam/patches/patch-aa64
-rw-r--r--plan9/sam/patches/patch-ab48
-rw-r--r--plan9/sam/patches/patch-ac73
-rw-r--r--plan9/sam/patches/patch-ad121
-rw-r--r--plan9/sam/patches/patch-ae39
-rw-r--r--plan9/sam/patches/patch-af43
-rw-r--r--plan9/sam/patches/patch-ag16
-rw-r--r--plan9/sam/patches/patch-ah20
-rw-r--r--plan9/sam/patches/patch-ai17
-rw-r--r--plan9/sam/pkg/COMMENT1
-rw-r--r--plan9/sam/pkg/DESCR17
-rw-r--r--plan9/sam/pkg/PLIST20
16 files changed, 1 insertions, 527 deletions
diff --git a/plan9/Makefile b/plan9/Makefile
index cb72ae224db..bb5ee35d825 100644
--- a/plan9/Makefile
+++ b/plan9/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2000/05/15 11:33:05 agc Exp $
+# $NetBSD: Makefile,v 1.8 2000/05/15 11:53:25 agc Exp $
# FreeBSD Id: Makefile,v 1.3 1996/11/26 08:57:54 asami Exp
#
SUBDIR += 9menu
SUBDIR += 9term
SUBDIR += 9wm
- SUBDIR += sam
.include "../mk/bsd.pkg.subdir.mk"
diff --git a/plan9/sam/Makefile b/plan9/sam/Makefile
deleted file mode 100644
index 9a4203b7667..00000000000
--- a/plan9/sam/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD: Makefile,v 1.11 1999/08/24 19:01:43 agc Exp $
-# FreeBSD Id: Makefile,v 1.3 1996/11/12 02:19:40 obrien Exp
-#
-
-DISTNAME= sam
-PKGNAME= sam-4.3
-CATEGORIES= plan9
-MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/
-EXTRACT_SUFX= .msg.gz
-
-MAINTAINER= packages@netbsd.org
-
-NO_WRKSUBDIR= yes
-EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
-
-MANCOMPRESSED= yes
-USE_X11= yes
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-.if ${X11BASE} != "/usr/openwin"
-OTHER_X_LIBS= -lSM -lICE
-.endif
-do-build:
- for d in libXg libframe sam samterm; do \
- (cd ${WRKSRC}/$$d; make -f Make.solaris \
- OTHER_X_LIBS="${OTHER_X_LIBS}"); \
- done
-.endif
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/plan9/sam/files/md5 b/plan9/sam/files/md5
deleted file mode 100644
index 0a96e334262..00000000000
--- a/plan9/sam/files/md5
+++ /dev/null
@@ -1,3 +0,0 @@
-$NetBSD: md5,v 1.2 1998/08/07 13:27:34 agc Exp $
-
-MD5 (sam.msg.gz) = c7e1e2f262ae7a9d08c7b7553d80595a
diff --git a/plan9/sam/files/patch-sum b/plan9/sam/files/patch-sum
deleted file mode 100644
index e28b105527a..00000000000
--- a/plan9/sam/files/patch-sum
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: patch-sum,v 1.2 1999/08/24 19:01:44 agc Exp $
-
-MD5 (patch-aa) = 5ad819a7a41439fb8d89c31998960bb8
-MD5 (patch-ab) = f59c393133169ca3255fb1c84753e3b8
-MD5 (patch-ac) = 4e808218ab49a0bb6815ab636f8a33c5
-MD5 (patch-ad) = 6ddab3327906dc6643c707f2f93b8588
-MD5 (patch-ae) = e6a7a172f05b376a452ea9185584d54e
-MD5 (patch-af) = 9a1e46868477cccc90601bcef7a5cdbd
-MD5 (patch-ag) = 70c2343930a221bc8f83f8d68b8a92d1
-MD5 (patch-ah) = 7bcc9175893571c500c88f0c9475e690
-MD5 (patch-ai) = 0b761769dd60c4f0b4e1eec6fb4c0b9d
diff --git a/plan9/sam/patches/patch-aa b/plan9/sam/patches/patch-aa
deleted file mode 100644
index b770f0cfa4b..00000000000
--- a/plan9/sam/patches/patch-aa
+++ /dev/null
@@ -1,64 +0,0 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:17 agc Exp $
-
-*** 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/plan9/sam/patches/patch-ab b/plan9/sam/patches/patch-ab
deleted file mode 100644
index 125291a9439..00000000000
--- a/plan9/sam/patches/patch-ab
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD: patch-ab,v 1.2 1998/08/07 11:11:17 agc Exp $
-
-*** 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/plan9/sam/patches/patch-ac b/plan9/sam/patches/patch-ac
deleted file mode 100644
index 69da3584efc..00000000000
--- a/plan9/sam/patches/patch-ac
+++ /dev/null
@@ -1,73 +0,0 @@
-$NetBSD: patch-ac,v 1.2 1998/08/07 11:11:18 agc Exp $
-
-*** 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/plan9/sam/patches/patch-ad b/plan9/sam/patches/patch-ad
deleted file mode 100644
index b172e8a3ea3..00000000000
--- a/plan9/sam/patches/patch-ad
+++ /dev/null
@@ -1,121 +0,0 @@
-$NetBSD: patch-ad,v 1.3 1998/08/07 11:11:18 agc Exp $
-
-*** sam/Makefile.orig Mon Jul 31 15:45:40 1995
---- sam/Makefile Mon Jul 31 15:46:24 1995
-***************
-*** 1,18 ****
- # Copyright (c) 1992 AT&T - All rights reserved.
- #
-! # Prototype Makefile for sam
- #
-- # 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
-
- # Set the name of the environment variable containing the user's home directory
- HOMEDIR=HOME
---- 1,17 ----
- # Copyright (c) 1992 AT&T - All rights reserved.
- #
-! # Prototype BSDi Makefile for sam
-! # 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
-
- # Set the name of the environment variable containing the user's home directory
- HOMEDIR=HOME
-***************
-*** 22,33 ****
- # where sam is to be installed. SAMSAVEDIR is the name of the directory
- # where the samsave file restoration script is stored.
- RSAMNAME=sam
-! TERMNAME=/v/bin/samterm
-! SAMDIR=/usr/bin
-! SAMSAVEDIR=/v/bin
-
- # Set TMP to a good place for tmp files (with lots of room)
-! TMP=/usr/tmp
-
- # Set SHELLNAME and SHELLPATH to the name of a shell and the pathname
- # of its executable
---- 21,32 ----
- # where sam is to be installed. SAMSAVEDIR is the name of the directory
- # where the samsave file restoration script is stored.
- RSAMNAME=sam
-! TERMNAME=$(PREFIX)/bin/samterm
-! SAMDIR=$(PREFIX)/bin
-! SAMSAVEDIR=$(PREFIX)/bin
-
- # Set TMP to a good place for tmp files (with lots of room)
-! TMP=/var/tmp
-
- # Set SHELLNAME and SHELLPATH to the name of a shell and the pathname
- # of its executable
-***************
-*** 37,43 ****
- # Set RXNAME and RXPATHNAME to the name of the remote execution command
- # and the pathname of its executable
- RXNAME=rsh
-! RXPATHNAME=/usr/bsd/rsh
-
- SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave
-
---- 36,42 ----
- # Set RXNAME and RXPATHNAME to the name of the remote execution command
- # and the pathname of its executable
- RXNAME=rsh
-! RXPATHNAME=/usr/bin/rsh
-
- SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave
-
-***************
-*** 68,76 ****
- rm -f sam
-
- install: sam
-! cp sam $(SAMDIR)/$(RSAMNAME)
-! cp samsave $(SAMSAVEDIR)/samsave
-! chmod +x samsave
-
- $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h
-
---- 67,76 ----
- rm -f sam
-
- install: sam
-! $(INSTALL) -c sam $(SAMDIR)/$(RSAMNAME)
-! $(INSTALL) -c samsave $(SAMSAVEDIR)/samsave
-! $(INSTALL) -c B.sh $(SAMDIR)/B
-! chmod +x $(SAMSAVEDIR)/samsave
-
- $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h
-
-*** sam/B.rc.orig Mon Jul 31 15:45:31 1995
---- sam/B.rc Mon Jul 31 15:47:10 1995
-***************
-*** 1,4 ****
-! #!/bin/rc
-
- files=()
- line=''
---- 1,4 ----
-! #!/usr/local/bin/rc
-
- files=()
- line=''
diff --git a/plan9/sam/patches/patch-ae b/plan9/sam/patches/patch-ae
deleted file mode 100644
index cf6e6dce9d7..00000000000
--- a/plan9/sam/patches/patch-ae
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-ae,v 1.3 1998/08/07 11:11:18 agc Exp $
-
---- include/u.h.orig Mon Sep 29 15:06:18 1997
-+++ include/u.h Mon Sep 29 17:03:25 1997
-@@ -2,6 +2,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <sys/types.h>
-+#include <sys/param.h>
- #include <setjmp.h>
- #include <stdio.h>
- #include <unistd.h>
-@@ -46,9 +47,14 @@
- #define NOFIFO /* turn off exstart in samterm/unix.c */
- #endif /* UMIPS */
-
--#ifdef SUNOS
-+#if defined(SUNOS)
-+#if !(defined(BSD) && BSD >= 199306)
- typedef unsigned short ushort;
-+#endif
-+#ifndef __NetBSD__
-+/* from the original FreeBSD port, it would seem they don't have this - agc */
- typedef unsigned long ulong;
-+#endif
- extern char *strerror(int);
- extern void *memmove(void*, const void*, size_t);
- extern void *memcpy(void*, const void*, size_t);
-@@ -102,7 +108,10 @@
- #endif /* PTX */
-
- #ifdef BSDi
-+/* The FreeBSD port seems to imply that this isn't a problem - agc */
-+#ifndef __NetBSD__
- typedef unsigned long ulong;
-+#endif /* !__NetBSD__ */
- #endif /* BSDi */
-
- #ifdef v10
diff --git a/plan9/sam/patches/patch-af b/plan9/sam/patches/patch-af
deleted file mode 100644
index acbc4d6978c..00000000000
--- a/plan9/sam/patches/patch-af
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD: patch-af,v 1.2 1998/08/07 11:11:19 agc Exp $
-
-*** 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/plan9/sam/patches/patch-ag b/plan9/sam/patches/patch-ag
deleted file mode 100644
index 383a9d90c4e..00000000000
--- a/plan9/sam/patches/patch-ag
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ag,v 1.2 1998/08/07 11:11:19 agc Exp $
-
-*** sam/io.c 1997/10/01 08:25:28 1.1
---- sam/io.c 1997/10/01 08:25:59
-***************
-*** 2,8 ****
---- 2,10 ----
- #include "sam.h"
-
- #define NSYSFILE 3
-+ #ifndef NOFILE
- #define NOFILE 128
-+ #endif
-
- void
- checkqid(File *f)
diff --git a/plan9/sam/patches/patch-ah b/plan9/sam/patches/patch-ah
deleted file mode 100644
index 11d8df12097..00000000000
--- a/plan9/sam/patches/patch-ah
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ah,v 1.1 1999/08/24 19:01:44 agc Exp $
-
-Generalise Solaris makefile
-
---- samterm/Make.solaris 1999/08/24 18:39:40 1.1
-+++ samterm/Make.solaris 1999/08/24 18:40:08
-@@ -16,11 +16,11 @@
- # SAMTERM contains the name of the file containing the samterm
- # executable. SAMTERMDIR is the directory where it is installed.
- SAMTERM=samterm
--SAMTERMDIR=/usr/local/bin
-+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=-L/usr/openwin/lib -lXt -lX11 -lsocket -lnsl
-+XLIBS=-L${X11BASE}/lib -lXt -lX11 ${OTHER_X_LIBS} -lsocket -lnsl
-
- CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
-
diff --git a/plan9/sam/patches/patch-ai b/plan9/sam/patches/patch-ai
deleted file mode 100644
index c0d1da81df2..00000000000
--- a/plan9/sam/patches/patch-ai
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ai,v 1.1 1999/08/24 19:01:45 agc Exp $
-
---- sam/Make.solaris 1999/08/24 18:41:20 1.1
-+++ sam/Make.solaris 1999/08/24 18:41:44
-@@ -21,9 +21,9 @@
- # where sam is to be installed. SAMSAVEDIR is the name of the directory
- # where the samsave file restoration script is stored.
- RSAMNAME=sam
--TERMNAME=/usr/local/bin/samterm
--SAMDIR=/usr/local/bin
--SAMSAVEDIR=/usr/local/bin
-+TERMNAME=${PREFIX}/bin/samterm
-+SAMDIR=${PREFIX}/bin
-+SAMSAVEDIR=${PREFIX}/bin
-
- # Set TMP to a good place for tmp files (with lots of room)
- TMP=/tmp
diff --git a/plan9/sam/pkg/COMMENT b/plan9/sam/pkg/COMMENT
deleted file mode 100644
index 6ebfd628b3b..00000000000
--- a/plan9/sam/pkg/COMMENT
+++ /dev/null
@@ -1 +0,0 @@
-Unix version of Rob Pike's editor for plan9
diff --git a/plan9/sam/pkg/DESCR b/plan9/sam/pkg/DESCR
deleted file mode 100644
index 2eab5d1faea..00000000000
--- a/plan9/sam/pkg/DESCR
+++ /dev/null
@@ -1,17 +0,0 @@
-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/plan9/sam/pkg/PLIST b/plan9/sam/pkg/PLIST
deleted file mode 100644
index 035930eb872..00000000000
--- a/plan9/sam/pkg/PLIST
+++ /dev/null
@@ -1,20 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 1999/04/04 16:58:24 hubertf Exp $
-bin/sam
-bin/samterm
-bin/samsave
-bin/B
-man/man1/sam.1.gz
-man/man3/add.3.gz
-man/man3/balloc.3.gz
-man/man3/bitblt.3.gz
-man/man3/cachechars.3.gz
-man/man3/event.3.gz
-man/man3/frame.3.gz
-man/man3/graphics.3.gz
-man/man3/rgbpix.3.gz
-man/man3/rune.3.gz
-man/man4/font.4.gz
-man/man4/keyboard.4.gz
-man/man4/utf.4.gz
-man/man6/bitmap.6.gz
-man/man6/regexp.6.gz