Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2017 09:17:37 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438936 - in head/math/sc-im: . files
Message-ID:  <201704200917.v3K9Hb4K001653@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Apr 20 09:17:37 2017
New Revision: 438936
URL: https://svnweb.freebsd.org/changeset/ports/438936

Log:
  Update to 0.6.0:
  Changes: https://github.com/andmarti1424/sc-im/releases/tag/v0.6.0

Modified:
  head/math/sc-im/Makefile
  head/math/sc-im/distinfo
  head/math/sc-im/files/patch-Makefile

Modified: head/math/sc-im/Makefile
==============================================================================
--- head/math/sc-im/Makefile	Thu Apr 20 09:16:41 2017	(r438935)
+++ head/math/sc-im/Makefile	Thu Apr 20 09:17:37 2017	(r438936)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	sc-im
-PORTVERSION=	0.5.0
-PORTREVISION=	1
+PORTVERSION=	0.6.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	math
 
@@ -12,15 +11,17 @@ COMMENT=	Ncurses spreadsheet program for
 LICENSE=	BSD4CLAUSE
 
 LIB_DEPENDS=	libxlsreader.so:math/libxls \
-		libzip.so:archivers/libzip
+		libzip.so:archivers/libzip \
+		libxlsxwriter.so:math/libxlsxwriter
 
-USES=		gmake localbase pkgconfig
+USES=		gmake pkgconfig lua:51
 USE_GITHUB=	yes
 GH_ACCOUNT=	andmarti1424
 USE_GNOME=	libxml2
 
 WRKSRC_SUBDIR=	src
-CFLAGS+=	-I${LOCALBASE}/include/libxml2
+CFLAGS+=	-DXLSX_EXPORT -DXLS
+LIBS+=		-lxlsreader -lxlsxwriter
 MAKE_ENV+=	LDLIBS="${LIBS}"
 MAKE_ARGS+=	CC="${CC}" prefix="${PREFIX}" MANDIR="${MANPREFIX}/man/man1"
 
@@ -28,4 +29,7 @@ PLIST_FILES=	bin/scim \
 		man/man1/scim.1.gz \
 		share/scim/scim_help
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/scim
+
 .include <bsd.port.mk>

Modified: head/math/sc-im/distinfo
==============================================================================
--- head/math/sc-im/distinfo	Thu Apr 20 09:16:41 2017	(r438935)
+++ head/math/sc-im/distinfo	Thu Apr 20 09:17:37 2017	(r438936)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487579247
-SHA256 (andmarti1424-sc-im-v0.5.0_GH0.tar.gz) = d7a31c5225e02239e925b50b414d7e69d12bc3554f218621823782872ccc5e4d
-SIZE (andmarti1424-sc-im-v0.5.0_GH0.tar.gz) = 867157
+TIMESTAMP = 1492677830
+SHA256 (andmarti1424-sc-im-v0.6.0_GH0.tar.gz) = 5da644d380ab3752de283b83cce18c3ba12b068d0762c44193c34367a0dcbc38
+SIZE (andmarti1424-sc-im-v0.6.0_GH0.tar.gz) = 903846

Modified: head/math/sc-im/files/patch-Makefile
==============================================================================
--- head/math/sc-im/files/patch-Makefile	Thu Apr 20 09:16:41 2017	(r438935)
+++ head/math/sc-im/files/patch-Makefile	Thu Apr 20 09:17:37 2017	(r438936)
@@ -1,6 +1,22 @@
---- Makefile.orig	2017-02-19 16:32:00 UTC
+--- Makefile.orig	2017-04-20 00:14:03 UTC
 +++ Makefile
-@@ -70,13 +70,13 @@ install :
+@@ -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
@@ -16,4 +32,4 @@
 +	-rm $(DESTDIR)$(prefix)$(MANDIR)/$(name).1
  
  $(name) : $(OBJS)
- 	$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS) 
+ 	$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704200917.v3K9Hb4K001653>