git: 9e242d675daf - main - graphics/iiview: Update to 0.32

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 13 Oct 2024 19:11:24 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e242d675dafcd8af169cc03b4e16d3ccd3750bd

commit 9e242d675dafcd8af169cc03b4e16d3ccd3750bd
Author:     Martin Sugioarto <martin@sugioarto.com>
AuthorDate: 2024-10-13 19:04:10 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-10-13 19:11:17 +0000

    graphics/iiview: Update to 0.32
    
    Changelog: https://github.com/nakal/iiview/compare/v0.31...v0.32
    
    Update maintainer e-mail
    
    PR:             282049
---
 graphics/iiview/Makefile             | 23 ++++++++++++++---------
 graphics/iiview/distinfo             |  5 +++--
 graphics/iiview/files/patch-Makefile | 30 ------------------------------
 3 files changed, 17 insertions(+), 41 deletions(-)

diff --git a/graphics/iiview/Makefile b/graphics/iiview/Makefile
index 786c0d6eb324..3b24ab090dca 100644
--- a/graphics/iiview/Makefile
+++ b/graphics/iiview/Makefile
@@ -1,26 +1,31 @@
 PORTNAME=	iiview
-PORTVERSION=	0.31
-PORTREVISION=	2
 DISTVERSIONPREFIX=	v
+DISTVERSION=	0.32
 CATEGORIES=	graphics
 
-MAINTAINER=	martin.sugioarto@udo.edu
+MAINTAINER=	nakal@sugioarto.com
 COMMENT=	Thumb viewer application
-WWW=		https://sourceforge.net/projects/iiview/
+WWW=		https://github.com/nakal/iiview
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/libpng.a:graphics/png \
-		${LOCALBASE}/lib/libtiff.a:graphics/tiff
+LIB_DEPENDS=	libtiff.so:graphics/tiff \
+		libpng.so:graphics/png \
 
-USES=		jpeg:build xorg
+USES=		jpeg xorg
 USE_XORG=	xpm x11
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	nakal
 
-PLIST_FILES=	bin/iiview share/man/man1/iiview.1.gz
-
 MAKE_JOBS_UNSAFE=	yes
 
+PLIST_FILES=	bin/iiview \
+		share/man/man1/iiview.1.gz
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/iiview ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/src/iiview.1 ${STAGEDIR}${PREFIX}/share/man/man1
+
 .include <bsd.port.mk>
diff --git a/graphics/iiview/distinfo b/graphics/iiview/distinfo
index 2c072e915116..5a2e4145db2a 100644
--- a/graphics/iiview/distinfo
+++ b/graphics/iiview/distinfo
@@ -1,2 +1,3 @@
-SHA256 (nakal-iiview-v0.31_GH0.tar.gz) = a53c516e571d7ed127bff45b8ffb35fa68a775fd1dd4e5471ac03ce74937c668
-SIZE (nakal-iiview-v0.31_GH0.tar.gz) = 37399
+TIMESTAMP = 1728814884
+SHA256 (nakal-iiview-v0.32_GH0.tar.gz) = c4489180e0c17fdac6690e6a0be3a654bc036c67acf25c8b491a0ef40d542a13
+SIZE (nakal-iiview-v0.32_GH0.tar.gz) = 37968
diff --git a/graphics/iiview/files/patch-Makefile b/graphics/iiview/files/patch-Makefile
deleted file mode 100644
index b588f9581528..000000000000
--- a/graphics/iiview/files/patch-Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
---- ./Makefile.orig	2012-01-19 16:01:21.000000000 +0100
-+++ ./Makefile	2014-03-06 08:55:15.940151118 +0100
-@@ -52,13 +52,9 @@
- LIBSFB  =       $(LIBS) -lncurses
- LIBSFBONLY  =   $(IMGLIBS) -lm -lncurses
- 
--.if !defined(PREFIX)
--PREFIX = /usr/local
--.endif
-+PREFIX ?= /usr/local
- 
--.if !defined(X11BASE)
--X11BASE = /usr/X11R6
--.endif
-+X11BASE = ${LOCALBASE}
- 
- # Please adjust this, if You get errors while compiling iiview
- INCPATH =       -I$(PREFIX)/include -I$(X11BASE)/include \
-@@ -110,8 +106,9 @@
- 	rm -f $(OBJS) $(OBJSFB) main.fbo *~
- 
- install:
--	install -m 755 $(EXECNAME) $(PREFIX)/bin
--	install -m 755 ./man/man1/iiview.1.gz $(PREFIX)/man/man1
-+	strip $(EXECNAME)
-+	install -m 755 $(EXECNAME) $(DESTDIR)$(PREFIX)/bin
-+	install -m 755 ./man/man1/iiview.1.gz $(DESTDIR)$(PREFIX)/share/man/man1
- 
- main.o: common.h filelist.h modules.h xsupport.h fbsupport.h main.c
- 	$(CC) $(DEFS) $(OPTS) $(WARN) -c -o main.o $(INCPATH) main.c