git: 4da4a21c3473 - main - net/spiritvnc: update the port to version 0.6.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Dec 2023 18:07:28 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4da4a21c347360da0913b2bfc3ffec3474f0f20e
commit 4da4a21c347360da0913b2bfc3ffec3474f0f20e
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-12-17 18:06:34 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-12-17 18:06:34 +0000
net/spiritvnc: update the port to version 0.6.0
Reported by: portscout
---
net/spiritvnc/Makefile | 2 +-
net/spiritvnc/distinfo | 6 +++---
net/spiritvnc/files/patch-Makefile | 28 +++++++++++-----------------
3 files changed, 15 insertions(+), 21 deletions(-)
diff --git a/net/spiritvnc/Makefile b/net/spiritvnc/Makefile
index 679484e999ef..969a5ea2200e 100644
--- a/net/spiritvnc/Makefile
+++ b/net/spiritvnc/Makefile
@@ -1,5 +1,5 @@
PORTNAME= spiritvnc
-PORTVERSION= 0.5.4
+PORTVERSION= 0.6.0
DISTVERSIONPREFIX= v
CATEGORIES= net
diff --git a/net/spiritvnc/distinfo b/net/spiritvnc/distinfo
index 6b25e2d64423..3f88b3b81cda 100644
--- a/net/spiritvnc/distinfo
+++ b/net/spiritvnc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698944824
-SHA256 (willbprog127-spiritvnc-fltk-no-libssh2-v0.5.4_GH0.tar.gz) = 78a8b43fe2338ac3e3a4fe32e45526c7ac0e8190951230ac8cd6b4cc5f680819
-SIZE (willbprog127-spiritvnc-fltk-no-libssh2-v0.5.4_GH0.tar.gz) = 56197
+TIMESTAMP = 1702589100
+SHA256 (willbprog127-spiritvnc-fltk-no-libssh2-v0.6.0_GH0.tar.gz) = 23a66df2988af5cd6d09665de5ea40f50785c59d361a4fbd026a1b05ab67aa97
+SIZE (willbprog127-spiritvnc-fltk-no-libssh2-v0.6.0_GH0.tar.gz) = 56671
diff --git a/net/spiritvnc/files/patch-Makefile b/net/spiritvnc/files/patch-Makefile
index bdad63d5a40d..a7bc7b592091 100644
--- a/net/spiritvnc/files/patch-Makefile
+++ b/net/spiritvnc/files/patch-Makefile
@@ -1,33 +1,27 @@
---- Makefile.orig 2023-11-02 17:07:04 UTC
+--- Makefile.orig 2023-12-14 21:25:00 UTC
+++ Makefile
-@@ -1,10 +1,10 @@
- CC = c++
--CFLAGS = -O2 -Wall -Wunused -lpthread `fltk-config --use-images --cxxflags --ldflags` \
-+CFLAGS += -Wall -Wunused -lpthread `fltk-config --use-images --cxxflags --ldflags` \
+@@ -1,5 +1,5 @@
+ CC = c++
+-CFLAGS = -O2 -Wall -Wunused -lpthread $(shell fltk-config --use-images --cxxflags --ldflags) \
++CFLAGS += -Wall -Wunused -lpthread $(shell fltk-config --use-images --cxxflags --ldflags) \
--std=c++11 -finline-functions
- DEBUGFLGS= -g -O0
+ DEBUGFLGS= -g -O0
BINDIR = /usr/local/bin
- TARGET = spiritvnc-fltk
--SRC = `ls src/*.cxx`
-+SRC = $(wildcard src/*.cxx)
- PKGCONF = `which pkg-config`
- LIBVNC =
+@@ -10,6 +10,8 @@ LIBVNC = $(shell pkg-config --cflags --libs libvnccl
OSNAME = $(shell uname -s)
-@@ -17,6 +17,8 @@ else
- LIBVNC = `pkg-config --cflags --libs libvncclient libvncserver`
- endif
+
+all: spiritvnc-fltk
+
spiritvnc-fltk:
@echo "Building on '$(OSNAME)'"
- @echo ""
-@@ -47,7 +49,7 @@ clean::
+ @echo
+@@ -41,7 +43,7 @@ clean::
rm -f $(TARGET)
install:
- install -c -s -o root -m 555 $(TARGET) $(BINDIR)
+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BINDIR)/spiritvnc
+ @echo
uninstall:
- @if [ -f $(BINDIR)"/"$(TARGET) ] ; then \