Date: Thu, 30 Jul 1998 21:40:02 +0200 (CEST) From: Heinz Tschabitscher <semper@doubt.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/7451: `sc' port Message-ID: <199807301940.VAA07839@localhost.magnet.at>
next in thread | raw e-mail | index | archive | help
>Number: 7451 >Category: ports >Synopsis: `sc' port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 30 12:50:01 PDT 1998 >Last-Modified: >Originator: Heinz Tschabitscher >Organization: The Mining Co. >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: >Description: I merely found a port of `ss' which, due to its user interface improvements, is considerably harder and slower to use than the `original' (in any sense) `sc'. Still it's strange (odd? interesting?) sc hasn't been compiled before...? >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sc # sc/files # sc/files/md5 # sc/patches # sc/patches/patch-aa # sc/patches/patch-ab # sc/pkg # sc/pkg/COMMENT # sc/pkg/DESCR # sc/pkg/PLIST # sc/Makefile # echo c - sc mkdir -p sc > /dev/null 2>&1 echo c - sc/files mkdir -p sc/files > /dev/null 2>&1 echo x - sc/files/md5 sed 's/^X//' >sc/files/md5 << 'END-of-sc/files/md5' XMD5 (sc-6.21.tar.Z) = 8fe8886f0139036717ba09f2fdcb2de7 END-of-sc/files/md5 echo c - sc/patches mkdir -p sc/patches > /dev/null 2>&1 echo x - sc/patches/patch-aa sed 's/^X//' >sc/patches/patch-aa << 'END-of-sc/patches/patch-aa' X--- Makefile.orig Mon May 11 20:43:33 1992 X+++ Makefile Thu Jul 30 20:02:22 1998 X@@ -18,18 +18,18 @@ X X # This is where the install step puts it. X #EXDIR=/site/bin X-EXDIR=/usr/local/bin X+EXDIR=${PREFIX}/bin X X # This is where the man page goes. X-#MANDIR=/usr/local/src/man/man1 # reno X-#MANEXT=1 # reno X-MANDIR=/usr/man/manl X-MANEXT=l X+MANDIR=${PREFIX}/man/man1 # reno X+MANEXT=1 # reno X+#MANDIR=/usr/man/manl X+#MANEXT=l X MANMODE=644 X X # This is where the library file (tutorial) goes. X #LIBDIR=/usr/local/share/$(name) # reno X-LIBDIR=/usr/local/lib/$(name) X+LIBDIR=${PREFIX}/share/$(name) X X # Set SIMPLE for lex.c if you don't want arrow keys or lex.c blows up X SIMPLE= X@@ -47,8 +47,8 @@ X X # Set INTERNATIONAL if you need 8 bit characters. You should X # not set this if you are running 5.3.0. I think it is OK in 5.3.1. X-#INTERNATIONAL=-DINTERNATIONAL X-INTERNATIONAL= X+INTERNATIONAL=-DINTERNATIONAL X+#INTERNATIONAL= X X # Set SIGVOID if signal routines are type void. X # use: SIGVOID=-DSIGVOID for: X@@ -67,30 +67,30 @@ X # Set RINT= on/with (they have rint): X # SunOS 4.0.3c compiler X # BSD4.4 (reno) X-#RINT= X-RINT=-DRINT X+RINT= X+#RINT=-DRINT X X # Set RE_COMP if you have the re_comp/re_exec regular expression routines X # (most BSD based systems do). X-#RE_COMP=-DRE_COMP X-RE_COMP= X+RE_COMP=-DRE_COMP X+#RE_COMP= X X # Set REGCMP if you have the regcmp/regex regular expression routines X # (most System V based systems do) X-REGCMP=-DREGCMP X+#REGCMP=-DREGCMP X #REGCMP= X X # This is the name of a pager like "more". X # "pg" may be appropriate for SYSV. X-DFLT_PAGER=-DDFLT_PAGER=\"less\" X-#DFLT_PAGER=-DDFLT_PAGER=\"more\" # generic && reno X+#DFLT_PAGER=-DDFLT_PAGER=\"less\" X+DFLT_PAGER=-DDFLT_PAGER=\"more\" # generic && reno X X # this is the name to save back ups in X SAVE=-DSAVENAME=\"$(NAME).SAVE\" X X # path to crypt, do not define if you don't have crypt X # most systems X-CRYPT=-DCRYPT_PATH=\"/bin/crypt\" X+#CRYPT=-DCRYPT_PATH=\"/bin/crypt\" X # BSD X #CRYPT=-DCRYPT_PATH=\"/usr/bin/crypt\" X # other people? X@@ -133,8 +133,8 @@ X # noticing the rows become 2, 3, 40, 41, 42... (etc). X # Known systems/terminfos w/ curses problems: X # {Esix Rev. D+, AT&T SysV3.2.1}:at386-m,xterm, HP-UX7.0:(not sure) X-IDLOKISBAD=-DIDLOKBAD X-#IDLOKISBAD= X+#IDLOKISBAD=-DIDLOKBAD X+IDLOKISBAD= X X # If you don't have idlok() in your curses define NOIDLOK X NO_IDLOK= X@@ -158,8 +158,8 @@ X YTAB=y.tab X X # Command to use to make temporary copies of some source files. X-LN=ln X-#LN=ln -s X+#LN=ln X+LN=ln -s X #LN=cp X X #### SYSTEM DEFINES #### X@@ -178,11 +178,11 @@ X #CFLAGS= -DSYSV2 -g -pipe -traditional X X # Use this for system V.3 X-CFLAGS= -DSYSV3 -O X-LDFLAGS= -s X+#CFLAGS= -O -DSYSV3 X+#LDFLAGS= -s X #CFLAGS= -DSYSV3 -g X #LDFLAGS= -g X-LIB=-lm -lcurses -lPW X+LIB= X # with gcc also use: X #CC=gcc X #CFLAGS= -DSYSV3 -O -pipe -traditional X@@ -221,9 +221,9 @@ X #CFLAGS= -O -DBSD42 -pipe X X # Use this for BSD 4.3 X-#CFLAGS= -O -DBSD43 X+CFLAGS += -DBSD43 X #LDFLAGS= X-#LIB=-lm -lcurses -ltermcap X+LIB=-lm -lcurses -ltermcap -lcompat X X # Use this for SunOS 4.X if you have the System V package installed. X # This will link with the System V curses which is preferable to the END-of-sc/patches/patch-aa echo x - sc/patches/patch-ab sed 's/^X//' >sc/patches/patch-ab << 'END-of-sc/patches/patch-ab' X--- lex.c.orig Mon May 11 20:43:36 1992 X+++ lex.c Thu Jul 30 20:26:51 1998 X@@ -384,11 +384,11 @@ X ctl('z'), 0 X }; X X-void X+int X charout(c) X int c; X { X- (void)putchar(c); X+ return putchar(c); X } X X void END-of-sc/patches/patch-ab echo c - sc/pkg mkdir -p sc/pkg > /dev/null 2>&1 echo x - sc/pkg/COMMENT sed 's/^X//' >sc/pkg/COMMENT << 'END-of-sc/pkg/COMMENT' XA curses-based spreadsheet program END-of-sc/pkg/COMMENT echo x - sc/pkg/DESCR sed 's/^X//' >sc/pkg/DESCR << 'END-of-sc/pkg/DESCR' XThe spreadsheet calculator sc is based on rectangular tables much like Xa financial spreadsheet. When invoked it presents you with a table Xorganized as rows and columns of cells. If invoked without a file Xargument, the table is initially empty. Each cell may have associated Xwith it a numeric value, a label string, and/or an expression (formula) Xwhich evaluates to a numeric value or label string, often based on other Xcell values. X X- Heinzl Xsemper@doubt.com END-of-sc/pkg/DESCR echo x - sc/pkg/PLIST sed 's/^X//' >sc/pkg/PLIST << 'END-of-sc/pkg/PLIST' Xbin/sc Xbin/scqref Xbin/psc Xshare/sc/tutorial.sc Xman/man1/sc.1.gz Xman/man1/psc.1.gz END-of-sc/pkg/PLIST echo x - sc/Makefile sed 's/^X//' >sc/Makefile << 'END-of-sc/Makefile' X# New ports collection makefile for: sc X# Version required: 6.21 X# Date created: 30 July 1998 X# Whom: Heinz Tschabitscher X# X# $Id$ X# X XDISTNAME= sc-6.21 XCATEGORIES= math XMASTER_SITES= ftp://gatekeeper.dec.com/pub/misc/ XEXTRACT_SUFX= .tar.Z X XMAINTAINER= semper@doubt.com X XNO_WRKSUBDIR= yes XMAN1= sc.1 psc.1 X X.include <bsd.port.mk> END-of-sc/Makefile exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807301940.VAA07839>