pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

math/sc upgrade 6.21 -> 7.16



Module Name:	pkgsrc-wip
Committed By:	n-t-roff <troff%arcor.de@localhost>
Pushed By:	carsten.kunze
Date:		Thu Mar 24 11:18:18 2016 +0100
Changeset:	7dd5df642bf886df929751566d4a1177543311e7

Modified Files:
	Makefile
Added Files:
	sc/DESCR
	sc/Makefile
	sc/PLIST
	sc/distinfo
	sc/patches/patch-Makefile

Log Message:
math/sc upgrade 6.21 -> 7.16

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7dd5df642bf886df929751566d4a1177543311e7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                  |  1 +
 sc/DESCR                  |  7 +++++++
 sc/Makefile               | 23 +++++++++++++++++++++++
 sc/PLIST                  |  7 +++++++
 sc/distinfo               |  7 +++++++
 sc/patches/patch-Makefile | 15 +++++++++++++++
 6 files changed, 60 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c17d404..a52cd6d 100644
--- a/Makefile
+++ b/Makefile
@@ -3746,6 +3746,7 @@ SUBDIR+=	sara
 SUBDIR+=	sarf
 SUBDIR+=	sawfish
 SUBDIR+=	sbcl
+SUBDIR+=	sc
 SUBDIR+=	scantailor
 SUBDIR+=	scare
 SUBDIR+=	schismtracker
diff --git a/sc/DESCR b/sc/DESCR
new file mode 100644
index 0000000..d0ed9f7
--- /dev/null
+++ b/sc/DESCR
@@ -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.
diff --git a/sc/Makefile b/sc/Makefile
new file mode 100644
index 0000000..7f18c61
--- /dev/null
+++ b/sc/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=		sc-7.16_1.0.1
+CATEGORIES=		math
+MASTER_SITES=		${MASTER_SITE_GITHUB:=n-t-roff/}
+
+MAINTAINER=		carsten.kunze%arcor.de@localhost
+HOMEPAGE=		https://github.com/n-t-roff/sc
+COMMENT=		Curses-based spreadsheet program
+LICENSE=		public-domain
+
+MAKE_JOBS_SAFE=		no
+HAS_CONFIGURE=		yes
+
+USE_TOOLS+=		yacc
+
+MAKE_FLAGS=		prefix=${DESTDIR}${PREFIX} \
+			MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 \
+			DOBACKUPS=
+INSTALLATION_DIRS=	bin lib ${PKGMANDIR}/man1 share/${name}
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sc/PLIST b/sc/PLIST
new file mode 100644
index 0000000..3a91c26
--- /dev/null
+++ b/sc/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+bin/psc
+bin/sc
+bin/scqref
+man/man1/psc.1
+man/man1/sc.1
+share/sc/tutorial.sc
diff --git a/sc/distinfo b/sc/distinfo
new file mode 100644
index 0000000..39e9a46
--- /dev/null
+++ b/sc/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (sc-7.16_1.0.1.tar.gz) = 969f57067e1fe4f1548919d2bb0523c129e4af1b
+RMD160 (sc-7.16_1.0.1.tar.gz) = 5a6322fe30df7b9da20deb8373170403d07e740e
+SHA512 (sc-7.16_1.0.1.tar.gz) = e780543b3a46abc91c2dcd8e30a07f3dc46937bf71fc28f5aef87a2072d8b601f5931363874ccba70a8aa0a81afd748434a1822868e38917217ee56e79b74c0c
+Size (sc-7.16_1.0.1.tar.gz) = 214534 bytes
+SHA1 (patch-Makefile) = fd3dc25eeb413ff6cc4b5a1edbbbaf332e571814
diff --git a/sc/patches/patch-Makefile b/sc/patches/patch-Makefile
new file mode 100644
index 0000000..d477b60
--- /dev/null
+++ b/sc/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Install doc file in share instead of lib
+
+--- Makefile.in.orig	2016-03-23 17:51:29.000000000 +0100
++++ Makefile.in	2016-03-24 11:04:24.197693519 +0100
+@@ -32,7 +32,7 @@
+ 
+ # This is where the library file (tutorial) goes.
+ #LIBDIR=/usr/local/share/$(name) # reno
+-LIBDIR=${prefix}/lib/$(name)
++LIBDIR=${prefix}/share/$(name)
+ LIBRARY=-DLIBDIR=\"${LIBDIR}\"
+ 
+ # Set SIMPLE for lex.c if you don't want arrow keys or lex.c blows up


Home | Main Index | Thread Index | Old Index