deskutils/cherrytree: update the port to version 1.1.2

Add DOCS option to install some documentation while here.

Reported by:	portscout
main
Alexey Dokuchaev 2024-04-10 10:49:26 +00:00
parent 5512ad5103
commit 05c6e1ce2c
3 changed files with 12 additions and 5 deletions

View File

@ -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>

View File

@ -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

View File

@ -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