mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Update to 0.7.0
Register ncurses dependency
This commit is contained in:
parent
4d8846c470
commit
1994117e17
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456387
4 changed files with 12 additions and 45 deletions
|
@ -1,8 +1,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= sc-im
|
PORTNAME= sc-im
|
||||||
PORTVERSION= 0.6.0
|
PORTVERSION= 0.7.0
|
||||||
PORTREVISION= 1
|
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -15,7 +14,7 @@ LIB_DEPENDS= libxlsreader.so:math/libxls \
|
||||||
libzip.so:archivers/libzip \
|
libzip.so:archivers/libzip \
|
||||||
libxlsxwriter.so:math/libxlsxwriter
|
libxlsxwriter.so:math/libxlsxwriter
|
||||||
|
|
||||||
USES= gmake pkgconfig lua:51
|
USES= gmake pkgconfig lua:51 ncurses
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= andmarti1424
|
GH_ACCOUNT= andmarti1424
|
||||||
USE_GNOME= libxml2
|
USE_GNOME= libxml2
|
||||||
|
@ -26,10 +25,6 @@ LIBS+= -lxlsreader -lxlsxwriter
|
||||||
MAKE_ENV+= LDLIBS="${LIBS}"
|
MAKE_ENV+= LDLIBS="${LIBS}"
|
||||||
MAKE_ARGS+= CC="${CC}" prefix="${PREFIX}" MANDIR="${MANPREFIX}/man/man1"
|
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:
|
post-install:
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/scim
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/scim
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1492677830
|
TIMESTAMP = 1513334880
|
||||||
SHA256 (andmarti1424-sc-im-v0.6.0_GH0.tar.gz) = 5da644d380ab3752de283b83cce18c3ba12b068d0762c44193c34367a0dcbc38
|
SHA256 (andmarti1424-sc-im-v0.7.0_GH0.tar.gz) = 87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
|
||||||
SIZE (andmarti1424-sc-im-v0.6.0_GH0.tar.gz) = 903846
|
SIZE (andmarti1424-sc-im-v0.7.0_GH0.tar.gz) = 1109887
|
||||||
|
|
|
@ -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)
|
|
7
math/sc-im/pkg-plist
Normal file
7
math/sc-im/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue