1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

deskutils/treesheets: Update to 20240324 snapshot

ChangeLog:
7861249636...8406978550
This commit is contained in:
Nuno Teixeira 2024-03-28 09:15:45 +00:00
parent aac2122cb7
commit 30b24173a8
3 changed files with 22 additions and 11 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= treesheets
DISTVERSION= 1.0.20240211
DISTVERSION= 1.0.20240324
CATEGORIES= deskutils
MAINTAINER= eduardo@FreeBSD.org
@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/ZLIB_LICENSE.txt
USES= cmake desktop-file-utils shared-mime-info
USE_GITHUB= yes
GH_ACCOUNT= aardappel
GH_TAGNAME= 7861249636
GH_TAGNAME= 8406978550
USE_WX= 3.2
PORTSCOUT= ignore:1 # upstream uses CI run ids as releases
@ -26,7 +26,4 @@ OPTIONS_SUB= yes
NLS_USES= gettext-tools
pre-build:
@${REINPLACE_CMD} -e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1707664027
SHA256 (aardappel-treesheets-1.0.20240211-7861249636_GH0.tar.gz) = b1fb9449af918694f685ea4271e0e687e59b5f165630b4c6498c6ba6d8eab420
SIZE (aardappel-treesheets-1.0.20240211-7861249636_GH0.tar.gz) = 3020712
TIMESTAMP = 1711615963
SHA256 (aardappel-treesheets-1.0.20240324-8406978550_GH0.tar.gz) = ebc07c46175a0e09673dba44e45121745f4b1321342c1878fcd68623d4c81797
SIZE (aardappel-treesheets-1.0.20240324-8406978550_GH0.tar.gz) = 3020825

View File

@ -1,11 +1,25 @@
--- CMakeLists.txt.orig 2024-01-06 23:03:16 UTC
--- CMakeLists.txt.orig 2024-03-24 04:56:12 UTC
+++ CMakeLists.txt
@@ -113,7 +113,7 @@ install(FILES TS/readme.html DESTINATION ${TREESHEETS_
@@ -95,11 +95,11 @@ target_link_libraries(
########## TREESHEETS INSTALLATION SETTINGS ###############
-if(LINUX)
+if(LINUX OR BSD)
OPTION(TREESHEETS_RELOCATABLE_INSTALLATION "Install data relative to the treesheets binary, instead of respecting the Filesystem Hierarchy Standard" OFF)
endif()
-if(LINUX AND NOT TREESHEETS_RELOCATABLE_INSTALLATION)
+if((LINUX OR BSD) AND NOT TREESHEETS_RELOCATABLE_INSTALLATION)
include(GNUInstallDirs)
set(TREESHEETS_BINDIR ${CMAKE_INSTALL_BINDIR})
@@ -125,7 +125,7 @@ install(FILES TS/readme.html DESTINATION ${TREESHEETS_
install(TARGETS treesheets DESTINATION ${TREESHEETS_BINDIR})
install(DIRECTORY TS/docs DESTINATION ${TREESHEETS_DOCDIR})
install(FILES TS/readme.html DESTINATION ${TREESHEETS_DOCDIR})
-install(DIRECTORY TS/examples DESTINATION ${TREESHEETS_DOCDIR})
+install(DIRECTORY TS/examples DESTINATION %%EXAMPLESDIR%%)
+install(DIRECTORY TS/examples DESTINATION ${CMAKE_INSTALL_DATADIR}/examples/${CMAKE_PROJECT_NAME})
install(DIRECTORY TS/images DESTINATION ${TREESHEETS_PKGDATADIR})
install(DIRECTORY TS/scripts DESTINATION ${TREESHEETS_PKGDATADIR})