summaryrefslogtreecommitdiff
path: root/shells/es
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-24 14:14:32 +0000
committeragc <agc@pkgsrc.org>1997-10-24 14:14:32 +0000
commitc1af73ac789097b0369e7f83bbdc6d88b305bb80 (patch)
tree17704e85e052efa5bb5d390c0f0114e40811e48f /shells/es
parenta623bb1503466be0e1a39148700ba3ef3d1359ca (diff)
downloadpkgsrc-c1af73ac789097b0369e7f83bbdc6d88b305bb80.tar.gz
Initial import of FreeBSD's shells ports category into NetBSD package
system.
Diffstat (limited to 'shells/es')
-rw-r--r--shells/es/Makefile16
-rw-r--r--shells/es/files/md51
-rw-r--r--shells/es/patches/patch-aa93
-rw-r--r--shells/es/pkg/COMMENT1
-rw-r--r--shells/es/pkg/DESCR13
-rw-r--r--shells/es/pkg/PLIST3
6 files changed, 127 insertions, 0 deletions
diff --git a/shells/es/Makefile b/shells/es/Makefile
new file mode 100644
index 00000000000..7266de1668e
--- /dev/null
+++ b/shells/es/Makefile
@@ -0,0 +1,16 @@
+# New ports collection makefile for: es
+# Version required: 0.9a1
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# FreeBSD Id: Makefile,v 1.4 1996/11/18 11:39:46 asami Exp
+#
+
+DISTNAME= es-0.9-alpha1
+PKGNAME= es-0.9a1
+CATEGORIES= shells
+MASTER_SITES= ftp://ftp.sys.toronto.edu/pub/es/
+
+MAINTAINER= erich@FreeBSD.org
+
+.include <bsd.port.mk>
diff --git a/shells/es/files/md5 b/shells/es/files/md5
new file mode 100644
index 00000000000..cef218f706f
--- /dev/null
+++ b/shells/es/files/md5
@@ -0,0 +1 @@
+MD5 (es-0.9-alpha1.tar.gz) = 2e7372fc4c8eaeb00571e721730b6108
diff --git a/shells/es/patches/patch-aa b/shells/es/patches/patch-aa
new file mode 100644
index 00000000000..1f649e60e89
--- /dev/null
+++ b/shells/es/patches/patch-aa
@@ -0,0 +1,93 @@
+*** 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}
+--- prim-sys.c.orig Tue May 30 06:13:51 1995
++++ prim-sys.c Thu Apr 10 10:15:40 1997
+@@ -194,7 +194,7 @@
+
+ static void printlimit(const Limit *limit, Boolean hard) {
+ struct rlimit rlim;
+- long lim;
++ u_quad_t lim;
+ getrlimit(limit->flag, &rlim);
+ if (hard)
+ lim = rlim.rlim_max;
+@@ -209,11 +209,11 @@
+ lim /= suf->amount;
+ break;
+ }
+- print("%-8s\t%d%s\n", limit->name, lim, (suf == NULL || lim == 0) ? "" : suf->name);
++ print("%-8s\t%ud%s\n", limit->name, (unsigned int)lim, (suf == NULL || lim == 0) ? "" : suf->name);
+ }
+ }
+
+-static long parselimit(const Limit *limit, char *s) {
++static u_quad_t parselimit(const Limit *limit, char *s) {
+ long lim;
+ char *t;
+ const Suffix *suf = limit->suffix;
+--- main.c~ Tue May 30 06:13:50 1995
++++ main.c Thu Apr 10 09:20:49 1997
+@@ -9,7 +9,7 @@
+ Boolean gcinfo = FALSE; /* -I */
+ #endif
+
+-#if !HPUX && !defined(linux)
++#if !HPUX && !defined(linux) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
+ extern int getopt (int argc, char **argv, const char *optstring);
+ #endif
+ extern int optind;
+--- stdenv.h~ Tue May 30 06:13:53 1995
++++ stdenv.h Thu Apr 10 09:32:22 1997
+@@ -283,6 +283,7 @@
+
+ /* stdlib */
+
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
+ extern noreturn exit(int);
+ extern noreturn abort(void);
+ extern long strtol(const char *num, char **end, int base);
+@@ -290,6 +291,7 @@
+ void *base, size_t nmemb, size_t size,
+ int (*compar)(const void *, const void *)
+ );
++#endif
+
+ /* setjmp */
+
diff --git a/shells/es/pkg/COMMENT b/shells/es/pkg/COMMENT
new file mode 100644
index 00000000000..b62d029d1b5
--- /dev/null
+++ b/shells/es/pkg/COMMENT
@@ -0,0 +1 @@
+An extensible shell, derived from plan9's rc
diff --git a/shells/es/pkg/DESCR b/shells/es/pkg/DESCR
new file mode 100644
index 00000000000..6b6cdba3348
--- /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 00000000000..03aafe9fe6b
--- /dev/null
+++ b/shells/es/pkg/PLIST
@@ -0,0 +1,3 @@
+bin/es
+bin/esdebug
+man/man1/es.1.gz