diff options
-rw-r--r-- | math/sc-im/Makefile | 2 | ||||
-rw-r--r-- | math/sc-im/distinfo | 6 | ||||
-rw-r--r-- | math/sc-im/files/patch-Makefile | 64 | ||||
-rw-r--r-- | math/sc-im/files/patch-xls.c | 11 |
4 files changed, 13 insertions, 70 deletions
diff --git a/math/sc-im/Makefile b/math/sc-im/Makefile index a9d42da52452..a6c298d1431f 100644 --- a/math/sc-im/Makefile +++ b/math/sc-im/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= sc-im -PORTVERSION= 0.4.0 +PORTVERSION= 0.5.0 DISTVERSIONPREFIX= v CATEGORIES= math diff --git a/math/sc-im/distinfo b/math/sc-im/distinfo index 0d8d0229a4ba..e680a307036e 100644 --- a/math/sc-im/distinfo +++ b/math/sc-im/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1485473874 -SHA256 (andmarti1424-sc-im-v0.4.0_GH0.tar.gz) = e9a6d0a87d4f9a657bb8b87bdde9141e42c8916fbb6879d07564ffb67302f68a -SIZE (andmarti1424-sc-im-v0.4.0_GH0.tar.gz) = 700431 +TIMESTAMP = 1487579247 +SHA256 (andmarti1424-sc-im-v0.5.0_GH0.tar.gz) = d7a31c5225e02239e925b50b414d7e69d12bc3554f218621823782872ccc5e4d +SIZE (andmarti1424-sc-im-v0.5.0_GH0.tar.gz) = 867157 diff --git a/math/sc-im/files/patch-Makefile b/math/sc-im/files/patch-Makefile index 6d985a5340b1..b75c64e404fb 100644 --- a/math/sc-im/files/patch-Makefile +++ b/math/sc-im/files/patch-Makefile @@ -1,58 +1,6 @@ ---- Makefile.orig 2016-11-28 12:29:27 UTC +--- Makefile.orig 2017-02-19 16:32:00 UTC +++ Makefile -@@ -34,12 +34,12 @@ LIBDIR=$(prefix)/share/doc/$(name) - LIBRARY=-DLIBDIR=\"$(LIBDIR)\" - - # For Building SC-IM in LINUX, set LINUX variable below --LINUX := -DLINUX --#LINUX := -+#LINUX := -DLINUX -+LINUX := - - # For Building SC-IM in FREEBSD, set FREEBSD variable below --#FREEBSD := -DFREEBSD --FREEBSD := -+FREEBSD := -DFREEBSD -+#FREEBSD := - - # For Building SC-IM in NETBSD, set NETBSD variable below - #NETBSD := -DNETBSD -@@ -115,15 +115,15 @@ SED := sed - # Uncomment below if you want basic XLS import support. - # Requires libxlsreader. - # Add -lxlsreader in LDLIBS as well. --XLS := --#XLS := -DXLS -+#XLS := -+XLS := -DXLS - - # Uncomment below if you want basic XLSX import support. - # Requires libzip-dev and libxml2-dev - # Add -lzip -xml2 to LDLIBS as well. - # and -I/usr/include/libxml2 or the acording path to the libxml headers, in CFLAGS --XLSX := --#XLSX := -DXLSX -+#XLSX := -+XLSX := -DXLSX - - # Set UNDO variable to enable this feature - #UNDO := -@@ -134,12 +134,12 @@ UNDO := -DUNDO - MAXROWS := 65536 - - #CFLAGS := -O2 -Wall -pipe -g --CFLAGS := $(LINUX) $(FREEBSD) $(NETBSD) $(MACOSX) -O2 -Wall -pipe -g -I/usr/include/libxml2 $(shell pkg-config --cflags ncursesw) -+CFLAGS := $(LINUX) $(FREEBSD) $(NETBSD) $(MACOSX) $(CFLAGS) #-O2 -Wall -pipe -g -I/usr/include/libxml2 $(shell pkg-config --cflags ncursesw) - CFLAGS := $(CFLAGS) $(USECOLORS) $(USELOCALE) $(UNDO) $(SIGVOID) $(DFLT_PAGER) - CFLAGS := $(CFLAGS) $(IEEE_MATH) $(RINT) $(REGEX) $(LIBRARY) -DMAXROWS=$(MAXROWS) - CFLAGS := $(CFLAGS) $(HELP_PATH) $(SNAME) $(NO_NOTIMEOUT) $(SIMPLE) $(XLS) $(XLSX) $(HISTORY_FILE) - --LDLIBS := -lm $(shell pkg-config --libs ncursesw) -+LDLIBS := -lm $(LDLIBS) -lncursesw -lxlsreader -lzip -lxml2 # $(shell pkg-config --libs ncursesw) - #LDLIBS := -lm -lncurses -lxlsreader - #LDLIBS := -lm -lncurses -lxlsreader -lzip -lxml2 - -@@ -157,8 +157,8 @@ install : +@@ -70,13 +70,13 @@ install : install $(name) $(DESTDIR)$(prefix)/bin/$(name) install -d $(DESTDIR)$(HELPDIR) install doc $(DESTDIR)$(HELPDIR)/$(name)_help @@ -61,5 +9,11 @@ + install -d $(DESTDIR)$(MANDIR) + install -m 644 sc-im.1 $(DESTDIR)$(MANDIR)/$(name).1 - uninstall : + -rm $(DESTDIR)$(prefix)/bin/$(name) + -rm $(DESTDIR)$(HELPDIR)/$(name)_help +- -rm $(DESTDIR)$(prefix)/share/man/man1/$(name).1 ++ -rm $(DESTDIR)$(prefix)$(MANDIR)/$(name).1 + + $(name) : $(OBJS) + $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS) diff --git a/math/sc-im/files/patch-xls.c b/math/sc-im/files/patch-xls.c deleted file mode 100644 index 599af12ec4c9..000000000000 --- a/math/sc-im/files/patch-xls.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xls.c.orig 2016-11-28 12:29:27 UTC -+++ xls.c -@@ -60,7 +60,7 @@ int open_xls(char * fname, char * encodi - for (c = 0; c <= pWS->rows.lastcol; c++) { // cols - xlsCell * cell = xls_cell(pWS, r, c); - //if ((! cell) || (cell->isHidden)) continue; -- if ((! cell) || (cell->ishiden)) continue; // Unfortunately libxls spells this "ishiden" -+ if ((! cell) || (cell->isHidden)) continue; // Unfortunately libxls spells this "ishiden" - - // TODO enable rowspan ? - //if (cell->rowspan > 1) continue; |