pkgsrc-WIP-changes archive

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

Import sc-im



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <ik%sjmulder.nl@localhost>
Pushed By:	sjmulder
Date:		Mon Dec 10 14:55:54 2018 +0100
Changeset:	15d2fdd064f5cb4dc6fe2e19962daac2674a75b2

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

Log Message:
Import sc-im

'SC Improved', a curses-based spreadsheet program based on sc.  New
features include undo and redo, colors, sorting, plotting and XLSX
import.

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

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

diffstat:
 sc-im/DESCR                      |  2 ++
 sc-im/Makefile                   | 21 +++++++++++++++++++++
 sc-im/PLIST                      |  8 ++++++++
 sc-im/distinfo                   |  7 +++++++
 sc-im/patches/patch-src_Makefile | 15 +++++++++++++++
 5 files changed, 53 insertions(+)

diffs:
diff --git a/sc-im/DESCR b/sc-im/DESCR
new file mode 100644
index 0000000000..0f853defe8
--- /dev/null
+++ b/sc-im/DESCR
@@ -0,0 +1,2 @@
+'SC Improved', a curses-based spreadsheet program based on sc.  New features
+include undo and redo, colors, sorting, plotting and XLSX import.
diff --git a/sc-im/Makefile b/sc-im/Makefile
new file mode 100644
index 0000000000..0ced976627
--- /dev/null
+++ b/sc-im/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	sc-im-0.7.0
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_GITHUB:=andmarti1424/}
+GITHUB_TAG=	v${PKGVERSION}
+BUILD_DIRS=	src
+INSTALL_DIRS=	src
+
+MAINTAINER=	ik%sjmulder.nl@localhost
+HOMEPAGE=	https://github.com/andmarti1424/sc-im/
+COMMENT=	Curses-based spreadsheet program based on sc
+LICENSE=	original-bsd
+
+USE_TOOLS+=	gmake pkg-config
+MAKE_FLAGS+=	name=sc-im
+MAKE_FLAGS+=	prefix=${PREFIX}
+MAKE_FLAGS+=	MANDIR=${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sc-im/PLIST b/sc-im/PLIST
new file mode 100644
index 0000000000..0495d94e48
--- /dev/null
+++ b/sc-im/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/sc-im
+man/man1/sc-im.1
+share/sc-im/plot_bar
+share/sc-im/plot_line
+share/sc-im/plot_pie
+share/sc-im/plot_scatter
+share/sc-im/sc-im_help
diff --git a/sc-im/distinfo b/sc-im/distinfo
new file mode 100644
index 0000000000..4a89788c9e
--- /dev/null
+++ b/sc-im/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (sc-im-0.7.0.tar.gz) = 1e8e2ad2f9042c304f57fefb320bb18e76edd398
+RMD160 (sc-im-0.7.0.tar.gz) = 6b13e1dfd46b57dd84d4458fb8bdb509b07d1f1e
+SHA512 (sc-im-0.7.0.tar.gz) = 47bc02d4b698c30a3144733216cfdf57daafb4115e5d49774104c4fedbd22f1ab7e491e1fc16683273c8c5e8820f6caf2389223c4789b9e3f777d57528b76f1b
+Size (sc-im-0.7.0.tar.gz) = 1109887 bytes
+SHA1 (patch-src_Makefile) = 9705c3a80f22b3a41f22d8bc4d8a835907b0bb7a
diff --git a/sc-im/patches/patch-src_Makefile b/sc-im/patches/patch-src_Makefile
new file mode 100644
index 0000000000..fbf42e4a21
--- /dev/null
+++ b/sc-im/patches/patch-src_Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+NetBSD does not need -ldl. Actually the whole thing needs to be made more
+portable.
+
+--- src/Makefile.orig
++++ src/Makefile
+@@ -89,7 +89,6 @@ endif
+
+ # dynamic linking (should not be used in FreeBSD
+ ifneq ($(shell uname -s),FreeBSD)
+-  LDLIBS += -ldl
+ endif
+
+ ifneq (, $(shell which pkg-config))


Home | Main Index | Thread Index | Old Index