- Restore math/sc from attic

- Update to new version
- New MASTER_SITES
- Claim maintainership
This commit is contained in:
Johan van Selst 2009-01-09 09:42:42 +00:00
parent 7b92bd1792
commit 4ec97ae8f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225542
5 changed files with 49 additions and 0 deletions

View File

@ -435,6 +435,7 @@
SUBDIR += ruby-netcdf
SUBDIR += ruby-numru_misc
SUBDIR += ruby-numru_units
SUBDIR += sc
SUBDIR += scalapack
SUBDIR += scigraphica
SUBDIR += scilab

33
math/sc/Makefile Normal file
View File

@ -0,0 +1,33 @@
# New ports collection makefile for: sc
# Date created: 30 July 1998
# Whom: Heinz Tschabitscher
#
# $FreeBSD$
#
PORTNAME= sc
PORTVERSION= 7.16
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/financial/spreadsheet
MAINTAINER= johans@stack.nl
COMMENT= A curses-based spreadsheet program
MAN1= sc.1 psc.1
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e '/^prefix=/s,=.*,=$${PREFIX},' \
-e '/^CC=/s,=.*,=${CC},' \
-e '/^CFLAGS=/s,=.*,=-DSYSV3 ${CFLAGS},' \
-e '/^LIBDIR=/s,=.*,=${DATADIR},' \
-e '/^YACC=/s,=.*,=${YACC},' \
-e '/usr.bin.crypt/s,^# *,,' \
-e '/mkdir.*plugins/d' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's/^void/int/' ${WRKSRC}/crypt.c
@${REINPLACE_CMD} -e '/flag.val/s/.*/#undef is_cleared/' ${WRKSRC}/sc.h
.include <bsd.port.post.mk>

3
math/sc/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (sc-7.16.tar.gz) = 1db636e9b2dc7cd73c40aeece6852d47
SHA256 (sc-7.16.tar.gz) = 1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
SIZE (sc-7.16.tar.gz) = 210809

7
math/sc/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
The spreadsheet calculator sc is based on rectangular tables much like
a financial spreadsheet. When invoked it presents you with a table
organized as rows and columns of cells. If invoked without a file
argument, the table is initially empty. Each cell may have associated
with it a numeric value, a label string, and/or an expression (formula)
which evaluates to a numeric value or label string, often based on other
cell values.

5
math/sc/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
bin/sc
bin/scqref
bin/psc
%%DATADIR%%/tutorial.sc
@dirrm %%DATADIR%%