summaryrefslogtreecommitdiff
path: root/misc/sci
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>1999-06-16 21:37:15 +0000
committermjl <mjl@pkgsrc.org>1999-06-16 21:37:15 +0000
commitd70195ff485effe27d3ae2ecebadd57446be6660 (patch)
tree7b75c1b94ef46d4220a80081b4a00be3a0b21cd3 /misc/sci
parent948edb1e0e44dca68753fea6e38faf2a16a3f102 (diff)
downloadpkgsrc-d70195ff485effe27d3ae2ecebadd57446be6660.tar.gz
Initial import of sci.
sci builds multi-user data entry screens from a text template. The data input into a screen is saved in a tab-delimited file. The template may supply default values for a data entry field, and fields may be marked as numeric data, or alphabetic only. sci uses curses for screen control.
Diffstat (limited to 'misc/sci')
-rw-r--r--misc/sci/Makefile22
-rw-r--r--misc/sci/files/md53
-rw-r--r--misc/sci/patches/patch-aa27
-rw-r--r--misc/sci/patches/patch-ab13
-rw-r--r--misc/sci/pkg/COMMENT1
-rw-r--r--misc/sci/pkg/DESCR5
-rw-r--r--misc/sci/pkg/PLIST3
7 files changed, 74 insertions, 0 deletions
diff --git a/misc/sci/Makefile b/misc/sci/Makefile
new file mode 100644
index 00000000000..984ba484af7
--- /dev/null
+++ b/misc/sci/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/06/16 21:37:15 mjl Exp $
+#
+
+DISTNAME= sci.0.3.8
+PKGNAME= sci-0.3.8
+CATEGORIES= misc
+MASTER_SITES= http://linuxparts.com/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://linuxparts.com/software.html
+
+DEPENDS+= ncurses-1.9.9g:../../devel/ncurses
+
+WRKSRC= ${WRKDIR}/sci
+
+pre-build:
+ -@ln -s ${WRKSRC}/makefile ${WRKSRC}/Makefile >/dev/null
+
+pre-install:
+ -@gunzip ${WRKSRC}/sci.1.gz
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/sci/files/md5 b/misc/sci/files/md5
new file mode 100644
index 00000000000..504c962a352
--- /dev/null
+++ b/misc/sci/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/06/16 21:37:16 mjl Exp $
+
+MD5 (sci.0.3.8.tar.gz) = 3a7b1d10ad6fca3e2fdbe416dd683941
diff --git a/misc/sci/patches/patch-aa b/misc/sci/patches/patch-aa
new file mode 100644
index 00000000000..646dac200fc
--- /dev/null
+++ b/misc/sci/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/06/16 21:37:16 mjl Exp $
+
+--- makefile.orig Wed Jun 16 23:07:37 1999
++++ makefile Wed Jun 16 23:20:05 1999
+@@ -1,10 +1,10 @@
+ all : bin
+
+ PROG=sci
+-INSTALL=/usr/local/bin
+-MAN=/usr/man/man1
+-COPT=-DUSLEEP
+-CURSES=-lncurses
++INSTALL=${PREFIX}/bin
++MAN=${PREFIX}/man/man1
++COPT=-DUSLEEP -I${PREFIX}/include
++CURSES=-L${PREFIX}/lib -lncurses
+
+ $(PROG).o : $(PROG).c
+ gcc -O3 $(COPT) -Wall -pedantic -c $(PROG).c
+@@ -27,6 +27,6 @@
+ rm -f *.bak
+ install :
+ cp sci $(INSTALL)
+- cp sci.1.gz $(MAN)
++ cp sci.1 $(MAN)
+
+ bin : $(PROG)
diff --git a/misc/sci/patches/patch-ab b/misc/sci/patches/patch-ab
new file mode 100644
index 00000000000..288464e1f67
--- /dev/null
+++ b/misc/sci/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/06/16 21:37:15 mjl Exp $
+
+--- sci.c.orig Wed Jun 16 23:12:11 1999
++++ sci.c Wed Jun 16 23:12:23 1999
+@@ -70,7 +70,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
+-#include <curses.h>
++#include <ncurses.h>
+ #include <signal.h>
+ #include <unistd.h>
+ #include <ctype.h>
diff --git a/misc/sci/pkg/COMMENT b/misc/sci/pkg/COMMENT
new file mode 100644
index 00000000000..e8d3af81cfe
--- /dev/null
+++ b/misc/sci/pkg/COMMENT
@@ -0,0 +1 @@
+Curses based data entry via templates.
diff --git a/misc/sci/pkg/DESCR b/misc/sci/pkg/DESCR
new file mode 100644
index 00000000000..81a4cf6dd34
--- /dev/null
+++ b/misc/sci/pkg/DESCR
@@ -0,0 +1,5 @@
+sci builds multi-user data entry screens from a text template.
+The data input into a screen is saved in a tab-delimited file.
+The template may supply default values for a data entry field,
+and fields may be marked as numeric data, or alphabetic only.
+sci uses curses for screen control.
diff --git a/misc/sci/pkg/PLIST b/misc/sci/pkg/PLIST
new file mode 100644
index 00000000000..69d0fd77d50
--- /dev/null
+++ b/misc/sci/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/06/16 21:37:16 mjl Exp $
+bin/sci
+man/man1/sci.1