git: dd6b515b66b9 - main - graphics/libsixel: update to 1.8.7-r2

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 04 Sep 2026 17:43:40 UTC
The branch main has been updated by fluffy:

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

commit dd6b515b66b9973e1cab6b213f387cfa9b46265a
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-09-04 17:41:36 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-09-04 17:43:37 +0000

    graphics/libsixel: update to 1.8.7-r2
    
    PR:             296965
    Approved by:    maintainer (timeout, 3w+)
---
 graphics/libsixel/Makefile | 14 ++++++++------
 graphics/libsixel/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/graphics/libsixel/Makefile b/graphics/libsixel/Makefile
index c48382c294fd..b2063443c5f0 100644
--- a/graphics/libsixel/Makefile
+++ b/graphics/libsixel/Makefile
@@ -1,9 +1,9 @@
-PORTNAME=	libsixel
-PORTVERSION=	1.8.6
-PORTREVISION=	1
+PORTNAME=	sixel
+DISTVERSION=	1.8.7-r2
 PORTEPOCH=	1
 CATEGORIES=	graphics
-MASTER_SITES=	https://github.com/saitoha/libsixel/releases/download/v${PORTVERSION}/
+MASTER_SITES=	https://github.com/saitoha/libsixel/releases/download/v${DISTVERSION}/
+PKGNAMEPREFIX=	lib
 
 MAINTAINER=	sue@iwmt.org
 COMMENT=	Encoder/decoder library for DEC SIXEL graphics
@@ -19,8 +19,6 @@ GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig
 INSTALL_TARGET=	install-strip
 
-WRKSRC=		${WRKDIR}/sixel-${PORTVERSION}
-
 PORTDOCS=	ChangeLog NEWS
 
 OPTIONS_DEFINE=	CURL DOCS GD JPEG PIXBUF PNG PYTHON
@@ -48,6 +46,10 @@ PYTHON_USES=		python
 PYTHON_USE=		python=py3kplist
 PYTHON_CONFIGURE_ENABLE=	python
 
+# avoid generating "*.cpython3*.opt-2.pyc" by -OO on byte compiling
+post-patch:
+	@${REINPLACE_CMD} -e '/PYTHON/ s|-OO|-O|' ${WRKSRC}/py-compile
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
diff --git a/graphics/libsixel/distinfo b/graphics/libsixel/distinfo
index 5190cbd1a92a..22ab81635a78 100644
--- a/graphics/libsixel/distinfo
+++ b/graphics/libsixel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1578938246
-SHA256 (libsixel-1.8.6.tar.gz) = 9f6dcaf40d250614ce0121b153949c327c46a958cfd2e47750d8788b7ed28e6a
-SIZE (libsixel-1.8.6.tar.gz) = 652377
+TIMESTAMP = 1785318608
+SHA256 (sixel-1.8.7-r2.tar.gz) = 9088475e5a1332f84b92ad46fd3c199ac56500c67f8a4054efccbc0db644bdba
+SIZE (sixel-1.8.7-r2.tar.gz) = 4372302