aboutsummaryrefslogtreecommitdiff
path: root/math/sc-im
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-12-15 10:53:54 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-12-15 10:53:54 +0000
commit1994117e17037c273ab33c73e865cec1b0e003ef (patch)
tree3826082918ddaee78e5fb181f4847af476c4048e /math/sc-im
parent4d8846c47037487dd0ab86cc143cc67c8b7ef9e8 (diff)
downloadports-1994117e17037c273ab33c73e865cec1b0e003ef.tar.gz
ports-1994117e17037c273ab33c73e865cec1b0e003ef.zip
Update to 0.7.0
Register ncurses dependency
Notes
Notes: svn path=/head/; revision=456387
Diffstat (limited to 'math/sc-im')
-rw-r--r--math/sc-im/Makefile9
-rw-r--r--math/sc-im/distinfo6
-rw-r--r--math/sc-im/files/patch-Makefile35
-rw-r--r--math/sc-im/pkg-plist7
4 files changed, 12 insertions, 45 deletions
diff --git a/math/sc-im/Makefile b/math/sc-im/Makefile
index c19384f9a3d0..c68584413fb9 100644
--- a/math/sc-im/Makefile
+++ b/math/sc-im/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= sc-im
-PORTVERSION= 0.6.0
-PORTREVISION= 1
+PORTVERSION= 0.7.0
DISTVERSIONPREFIX= v
CATEGORIES= math
@@ -15,7 +14,7 @@ LIB_DEPENDS= libxlsreader.so:math/libxls \
libzip.so:archivers/libzip \
libxlsxwriter.so:math/libxlsxwriter
-USES= gmake pkgconfig lua:51
+USES= gmake pkgconfig lua:51 ncurses
USE_GITHUB= yes
GH_ACCOUNT= andmarti1424
USE_GNOME= libxml2
@@ -26,10 +25,6 @@ LIBS+= -lxlsreader -lxlsxwriter
MAKE_ENV+= LDLIBS="${LIBS}"
MAKE_ARGS+= CC="${CC}" prefix="${PREFIX}" MANDIR="${MANPREFIX}/man/man1"
-PLIST_FILES= bin/scim \
- man/man1/scim.1.gz \
- share/scim/scim_help
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/scim
diff --git a/math/sc-im/distinfo b/math/sc-im/distinfo
index 774baca99aa5..e7df2f942c3e 100644
--- a/math/sc-im/distinfo
+++ b/math/sc-im/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1492677830
-SHA256 (andmarti1424-sc-im-v0.6.0_GH0.tar.gz) = 5da644d380ab3752de283b83cce18c3ba12b068d0762c44193c34367a0dcbc38
-SIZE (andmarti1424-sc-im-v0.6.0_GH0.tar.gz) = 903846
+TIMESTAMP = 1513334880
+SHA256 (andmarti1424-sc-im-v0.7.0_GH0.tar.gz) = 87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
+SIZE (andmarti1424-sc-im-v0.7.0_GH0.tar.gz) = 1109887
diff --git a/math/sc-im/files/patch-Makefile b/math/sc-im/files/patch-Makefile
deleted file mode 100644
index ff5e326552b8..000000000000
--- a/math/sc-im/files/patch-Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.orig 2017-04-20 00:14:03 UTC
-+++ Makefile
-@@ -69,12 +69,10 @@ LDLIBS += -lxlsxwriter
- endif
-
- # NOTE: lua support
--ifneq ($(shell pkg-config --exists lua51 || echo 'no'),no)
--CFLAGS += -DXLUA $(shell pkg-config --cflags lua51)
--LDLIBS += $(shell pkg-config --libs lua51) -Wl,--export-dynamic
-+ifneq ($(shell pkg-config --exists lua-5.1 || echo 'no'),no)
-+CFLAGS += -DXLUA $(shell pkg-config --cflags lua-5.1)
-+LDLIBS += $(shell pkg-config --libs lua-5.1) -Wl,--export-dynamic
- endif
--# dynamic linking
--LDLIBS += -ldl
-
-
- OBJS = $(patsubst %.c, %.o, $(wildcard *.c) $(wildcard utils/*.c)) gram.o
-@@ -88,13 +86,13 @@ install :
- install $(name) $(DESTDIR)$(prefix)/bin/$(name)
- install -d $(DESTDIR)$(HELPDIR)
- install doc $(DESTDIR)$(HELPDIR)/$(name)_help
-- install -d $(DESTDIR)$(prefix)/share/man/man1
-- install -m 644 sc-im.1 $(DESTDIR)$(prefix)/share/man/man1/$(name).1
-+ 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/pkg-plist b/math/sc-im/pkg-plist
new file mode 100644
index 000000000000..7391d531af22
--- /dev/null
+++ b/math/sc-im/pkg-plist
@@ -0,0 +1,7 @@
+bin/scim
+man/man1/scim.1.gz
+share/scim/plot_bar
+share/scim/plot_line
+share/scim/plot_pie
+share/scim/plot_scatter
+share/scim/scim_help