Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2024 10:50:15 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05c6e1ce2c91 - main - deskutils/cherrytree: update the port to version 1.1.2
Message-ID:  <202404101050.43AAoFd7042252@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

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

commit 05c6e1ce2c9101acc28df6fdc02a88282f14ffba
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-04-10 10:49:26 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-04-10 10:49:26 +0000

    deskutils/cherrytree: update the port to version 1.1.2
    
    Add DOCS option to install some documentation while here.
    
    Reported by:    portscout
---
 deskutils/cherrytree/Makefile  | 9 +++++++--
 deskutils/cherrytree/distinfo  | 6 +++---
 deskutils/cherrytree/pkg-plist | 2 ++
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/deskutils/cherrytree/Makefile b/deskutils/cherrytree/Makefile
index 7b51cbbcccea..8fd6df5e3188 100644
--- a/deskutils/cherrytree/Makefile
+++ b/deskutils/cherrytree/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cherrytree
-PORTVERSION=	1.1.1
+PORTVERSION=	1.1.2
 CATEGORIES=	deskutils
 MASTER_SITES=	https://www.giuspen.com/software/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -26,7 +26,7 @@ USE_GNOME=	gdkpixbuf2 gtkmm30 gtksourceviewmm3
 CMAKE_ARGS=	-DPYTHON_EXEC:FILEPATH=${PYTHON_CMD} \
 		-DBUILD_TESTING:BOOL=OFF
 
-OPTIONS_DEFINE=	NLS VTE
+OPTIONS_DEFINE=	DOCS NLS VTE
 OPTIONS_SUB=	yes
 
 NLS_USES=	gettext-tools
@@ -36,4 +36,9 @@ VTE_DESC=	Virtual terminal support
 VTE_USE=	GNOME=vte3
 VTE_CMAKE_OFF=	-DUSE_VTE:BOOL=OFF
 
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/changelog.txt ${WRKSRC}/docs/* \
+		${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>
diff --git a/deskutils/cherrytree/distinfo b/deskutils/cherrytree/distinfo
index 1685ace412ec..0ee0f95f2907 100644
--- a/deskutils/cherrytree/distinfo
+++ b/deskutils/cherrytree/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711575956
-SHA256 (cherrytree_1.1.1.tar.xz) = 05c1252dd46769565700df1146e78d66c6ef60362599ea4f0b5abbd2b7304035
-SIZE (cherrytree_1.1.1.tar.xz) = 3459888
+TIMESTAMP = 1712263588
+SHA256 (cherrytree_1.1.2.tar.xz) = d5e7a2fddfe0577c25361695e2ea402ae34ce34d0b16e5610df2e06afa71fd2d
+SIZE (cherrytree_1.1.2.tar.xz) = 3460288
diff --git a/deskutils/cherrytree/pkg-plist b/deskutils/cherrytree/pkg-plist
index 888c4c4a5f6b..d4b6cf9d962b 100644
--- a/deskutils/cherrytree/pkg-plist
+++ b/deskutils/cherrytree/pkg-plist
@@ -336,6 +336,8 @@ share/applications/cherrytree.desktop
 %%DATADIR%%/styles/solarized-dark.xml
 %%DATADIR%%/styles/solarized-light.xml
 %%DATADIR%%/styles/tango.xml
+%%PORTDOCS%%%%DOCSDIR%%/changelog.txt
+%%PORTDOCS%%%%DOCSDIR%%/cherrytree-main_window_text.png
 share/icons/hicolor/scalable/apps/cherrytree.svg
 %%NLS%%share/locale/ar/LC_MESSAGES/cherrytree.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/cherrytree.mo



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