aboutsummaryrefslogtreecommitdiff
path: root/editors/sam
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2009-02-19 19:02:06 +0000
committerWesley Shields <wxs@FreeBSD.org>2009-02-19 19:02:06 +0000
commit2a1f30ff6042a3f2f26d445133fbb06c9fc870be (patch)
tree1b3847209f0c21460990b24936c84fd51aae28a1 /editors/sam
parent0a137432c3e9248ff53c138e807b072d652fa189 (diff)
downloadports-2a1f30ff6042a3f2f26d445133fbb06c9fc870be.tar.gz
ports-2a1f30ff6042a3f2f26d445133fbb06c9fc870be.zip
Notes
Diffstat (limited to 'editors/sam')
-rw-r--r--editors/sam/Makefile35
-rw-r--r--editors/sam/distinfo3
-rw-r--r--editors/sam/files/patch-aa68
-rw-r--r--editors/sam/files/patch-ab49
-rw-r--r--editors/sam/files/patch-ac70
-rw-r--r--editors/sam/files/patch-ae23
-rw-r--r--editors/sam/files/patch-af35
-rw-r--r--editors/sam/files/patch-ag64
-rw-r--r--editors/sam/files/patch-doc-sam.143
-rw-r--r--editors/sam/pkg-descr17
-rw-r--r--editors/sam/pkg-plist5
11 files changed, 0 insertions, 412 deletions
diff --git a/editors/sam/Makefile b/editors/sam/Makefile
deleted file mode 100644
index 4ade2a6e335e..000000000000
--- a/editors/sam/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# New ports collection makefile for: sam
-# Date created: Sun Aug 13 12:36:14 CDT 1995
-# Whom: erich@rrnet.com
-#
-# $FreeBSD$
-#
-
-PORTNAME= sam
-PORTVERSION= 4.3
-PORTREVISION= 2
-CATEGORIES= editors plan9
-MASTER_SITES= ftp://ftp.cs.usyd.edu.au/matty/unicode/
-DISTNAME= ${PORTNAME}
-EXTRACT_SUFX= .msg.gz
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A unix version of Rob Pike's editor for plan9
-
-DEPRECATED= distfile and homepage disappeared
-EXPIRATION_DATE= 2007-01-04
-
-USE_XORG= x11 xt ice sm
-EXTRACT_CMD= ${GZCAT}
-EXTRACT_BEFORE_ARGS= # empty
-EXTRACT_AFTER_ARGS= | ${SH}
-
-NO_WRKSUBDIR= yes
-
-MAN1= sam.1
-MAN3= add.3 balloc.3 bitblt.3 cachechars.3 event.3 frame.3 \
- graphics.3 rgbpix.3 rune.3
-MAN4= font.4 keyboard.4 utf.4
-MAN6= bitmap.6 regexp.6
-
-.include <bsd.port.mk>
diff --git a/editors/sam/distinfo b/editors/sam/distinfo
deleted file mode 100644
index 16dadb2a9c34..000000000000
--- a/editors/sam/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (sam.msg.gz) = c7e1e2f262ae7a9d08c7b7553d80595a
-SHA256 (sam.msg.gz) = 29ecc54b81aa47a7210f6238dafceb4f4bbfad910e6e3d4636f3283e0c5fc8fc
-SIZE (sam.msg.gz) = 246311
diff --git a/editors/sam/files/patch-aa b/editors/sam/files/patch-aa
deleted file mode 100644
index c3c485a72e86..000000000000
--- a/editors/sam/files/patch-aa
+++ /dev/null
@@ -1,68 +0,0 @@
-*** libXg/Makefile.orig Fri Feb 11 11:04:17 2000
---- libXg/Makefile Fri Feb 11 11:07:47 2000
-***************
-*** 8,24 ****
- #
- # 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
---- 8,24 ----
- #
- # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
- # if your compiler supports posix-compatible compilation
-! OS=-DBSDi
-
- # add -Iincludedir for any include directories that need to be searched
-! INCS=-I../include -I${LOCALBASE}/include
-
- # set this if your X libraries are in different locations
- # or if you need extra libraries to load with X11 applications
-! XLIBS=-lXt -lX11 -L${LOCALBASE}/lib
-
- # add name of library orderer - use ":" if none
-! RANLIB=ranlib
-
- # add name of librarian
- AR=ar
-***************
-*** 26,33 ****
- # the name of the library
- LIB=libXg.a
-
-! CFLAGS=$(OS) -D_LIBXG_EXTENSION $(INCS)
-! CC=cc
-
- OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o\
- circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o\
---- 26,33 ----
- # the name of the library
- LIB=libXg.a
-
-! CFLAGS+=$(OS) -D_LIBXG_EXTENSION $(INCS)
-! CC?=cc
-
- OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o\
- circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o\
-***************
-*** 50,56 ****
- $(LIB): $(OBJS)
- $(AR) rv $(LIB) $(OBJS)
- $(RANLIB) $(LIB)
--
-- $(LIB)(%.o): %.o
-
- $(OBJS): ../include/libg.h libgint.h ../include/libc.h
---- 50,54 ----
diff --git a/editors/sam/files/patch-ab b/editors/sam/files/patch-ab
deleted file mode 100644
index 7bf0cb3a26e3..000000000000
--- a/editors/sam/files/patch-ab
+++ /dev/null
@@ -1,49 +0,0 @@
-*** libframe/Makefile.orig Fri Feb 11 11:04:17 2000
---- libframe/Makefile Fri Feb 11 11:10:18 2000
-***************
-*** 8,29 ****
- #
- # 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
-
-! CFLAGS=-c $(OS) $(INCS) -D_LIBXG_EXTENSION
-
- LIB=libframe.a
-! CC=cc
-
- OBJ=frbox.o frdelete.o frdraw.o frinit.o frinsert.o frptofchar.o\
- frselect.o frstr.o frutil.o misc.o
---- 8,29 ----
- #
- # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
- # if your compiler supports posix-compatible compilation
-! OS=-DBSDi
-
- # 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${LOCALBASE}/include
-
- # add name of library orderer - use ":" if none exists
-! RANLIB=ranlib
-
- # add name of library
- AR=ar
-
-! CFLAGS+=-c $(OS) $(INCS) -D_LIBXG_EXTENSION
-
- LIB=libframe.a
-! CC?=cc
-
- OBJ=frbox.o frdelete.o frdraw.o frinit.o frinsert.o frptofchar.o\
- frselect.o frstr.o frutil.o misc.o
diff --git a/editors/sam/files/patch-ac b/editors/sam/files/patch-ac
deleted file mode 100644
index 79495057a29d..000000000000
--- a/editors/sam/files/patch-ac
+++ /dev/null
@@ -1,70 +0,0 @@
-*** samterm/Makefile.orig Fri Feb 11 11:04:17 2000
---- samterm/Makefile Fri Feb 11 11:12:52 2000
-***************
-*** 8,32 ****
- #
- # 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
-
---- 8,32 ----
- #
- # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
- # if your compiler supports posix-compatible compilation
-! OS=-DBSDi
-
- # 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${LOCALBASE}/include
-
- # 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=-lXt -lX11 -lSM -lICE -L${LOCALBASE}/lib
-
-! 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
-
-***************
-*** 42,47 ****
- rm -f samterm
-
- install: samterm
-! cp samterm $(SAMTERMDIR)/$(SAMTERM)
-
- $(OBJ): samterm.h flayer.h ../include/frame.h ../include/libg.h ../include/u.h ../include/libc.h ../sam/mesg.h
---- 42,47 ----
- rm -f samterm
-
- install: samterm
-! ${BSD_INSTALL_PROGRAM} samterm $(SAMTERMDIR)/$(SAMTERM)
-
- $(OBJ): samterm.h flayer.h ../include/frame.h ../include/libg.h ../include/u.h ../include/libc.h ../sam/mesg.h
diff --git a/editors/sam/files/patch-ae b/editors/sam/files/patch-ae
deleted file mode 100644
index 95c677a84255..000000000000
--- a/editors/sam/files/patch-ae
+++ /dev/null
@@ -1,23 +0,0 @@
-*** 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
deleted file mode 100644
index 2049df8ffb49..000000000000
--- a/editors/sam/files/patch-af
+++ /dev/null
@@ -1,35 +0,0 @@
-*** Makefile.orig Fri Feb 11 09:18:10 2000
---- Makefile Fri Feb 11 09:21:52 2000
-***************
-*** 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=$(PREFIX)/lib/X11/app-defaults
-+ AD=Sam
-+
- all: lXg lframe samdir samtermdir
-
- lXg:
-***************
-*** 21,26 ****
---- 30,41 ----
- 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)
-
- clean:
- cd libXg; $(MAKE) clean
diff --git a/editors/sam/files/patch-ag b/editors/sam/files/patch-ag
deleted file mode 100644
index bafbb628b72a..000000000000
--- a/editors/sam/files/patch-ag
+++ /dev/null
@@ -1,64 +0,0 @@
---- sam/Makefile.orig Sun Jan 5 13:21:26 2003
-+++ sam/Makefile Sun Jan 5 13:21:27 2003
-@@ -8,7 +8,7 @@
- #
- # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
- # if your compiler supports posix-compatible compilation
--OS=-DIRIX -ansiposix
-+OS=-DBSDi
-
- # add -Iincludedir for any include directories that need to be searched
- # for posix header files (for UMIPS, add -I/usr/include/posix)
-@@ -22,12 +22,12 @@
- # 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
-+TERMNAME=$(PREFIX)/bin/samterm
-+SAMDIR=$(PREFIX)/bin
-+SAMSAVEDIR=$(PREFIX)/bin
-
- # Set TMP to a good place for tmp files (with lots of room)
--TMP=/usr/tmp
-+TMP=/var/tmp
-
- # Set SHELLNAME and SHELLPATH to the name of a shell and the pathname
- # of its executable
-@@ -37,11 +37,11 @@
- # Set RXNAME and RXPATHNAME to the name of the remote execution command
- # and the pathname of its executable
- RXNAME=rsh
--RXPATHNAME=/usr/bsd/rsh
-+RXPATHNAME=/usr/bin/rsh
-
- SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave
-
--CFLAGS=$(OS) -D_LIBXG_EXTENSION $(INCS)
-+CFLAGS+=$(OS) -D_LIBXG_EXTENSION $(INCS)
-
- SYSFLAGS= -DHOMEDIR=\"$(HOMEDIR)\" -DRSAMNAME=\"$(RSAMNAME)\" \
- -DTERMNAME=\"$(TERMNAME)\" -DTMP=\"$(TMP)\" \
-@@ -50,7 +50,7 @@
- -DSAMSAVE=\"$(SAMSAVE)\"
-
- LIB=../libframe/libframe.a ../libXg/libXg.a
--CC=cc
-+CC?=cc
-
- OBJ=sam.o address.o buffer.o cmd.o disc.o error.o file.o io.o \
- list.o mesg.o moveto.o multi.o rasp.o regexp.o shell.o \
-@@ -68,9 +68,9 @@
- rm -f sam
-
- install: sam
-- cp sam $(SAMDIR)/$(RSAMNAME)
-- cp samsave $(SAMSAVEDIR)/samsave
-- chmod +x samsave
-+ ${BSD_INSTALL_PROGRAM} sam $(SAMDIR)/$(RSAMNAME)
-+ ${BSD_INSTALL_SCRIPT} samsave $(SAMSAVEDIR)/samsave
-+ ${BSD_INSTALL_SCRIPT} B.sh $(SAMSAVEDIR)/B
-
- $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h
-
diff --git a/editors/sam/files/patch-doc-sam.1 b/editors/sam/files/patch-doc-sam.1
deleted file mode 100644
index 9dd46d798028..000000000000
--- a/editors/sam/files/patch-doc-sam.1
+++ /dev/null
@@ -1,43 +0,0 @@
-- Add new patchfile files/patch-doc-sam.1
- (obtained from Debian package)
-
---- patch-doc-sam.1 begins here ---
---- doc/sam.1 23 Nov 1997 01:40:01 -0000
-+++ doc/sam.1 8 Feb 2002 16:28:04 -0000
-@@ -1,35 +1,3 @@
--.de F
--.B
--.if !"\\$1"" \&\\$1 \\$2 \\$3 \\$4 \\$5 \\$6
--..
--.de L
--.B
--.if !"\\$1"" \&\\$1 \\$2 \\$3 \\$4 \\$5 \\$6
--..
--.de FR
--.BR "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
--..
--.de LR
--.BR "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
--..
--.de CW
--.ft B
--..
--.\" This is gross but it avoids relying on internal implementation details
--.\" of the -man macros.
--.de TF
--.br
--.IP "" \w'\fB\\$1\ \ \fP'u
--.PD0
--..
--.de EX
--.CW
--.nf
--..
--.de EE
--.fi
--..
--.\" delete above this point if your system has F, L, FR, LR, CW and TF macros
- .ds a \fR*\ \fP
- .TH SAM 1
- .CT 1 editor
---- patch-doc-sam.1 ends here ---
diff --git a/editors/sam/pkg-descr b/editors/sam/pkg-descr
deleted file mode 100644
index 2eab5d1faeaa..000000000000
--- a/editors/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/editors/sam/pkg-plist b/editors/sam/pkg-plist
deleted file mode 100644
index 64a46e127704..000000000000
--- a/editors/sam/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/B
-bin/sam
-bin/samsave
-bin/samterm
-lib/X11/app-defaults/Sam