git: 889217fc64fd - main - deskutils/treesheets: Adopt/Update to 3025803779 release
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Sep 2022 20:54:38 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=889217fc64fdcd29919819ffc1db2e700fa2bbe4 commit 889217fc64fdcd29919819ffc1db2e700fa2bbe4 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-09-12 20:50:28 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-09-12 20:52:36 +0000 deskutils/treesheets: Adopt/Update to 3025803779 release - update WWW url ChangeLog: https://github.com/aardappel/treesheets/compare/v1.0.2...3025803779 --- deskutils/treesheets/Makefile | 61 ++++++------------------- deskutils/treesheets/distinfo | 6 +-- deskutils/treesheets/files/patch-CMakeLists.txt | 11 +++++ deskutils/treesheets/files/patch-src_Makefile | 15 ------ deskutils/treesheets/pkg-plist | 6 +++ 5 files changed, 34 insertions(+), 65 deletions(-) diff --git a/deskutils/treesheets/Makefile b/deskutils/treesheets/Makefile index de54c81a473c..09644f404110 100644 --- a/deskutils/treesheets/Makefile +++ b/deskutils/treesheets/Makefile @@ -1,64 +1,31 @@ PORTNAME= treesheets -PORTVERSION= 1.0.2 -PORTREVISION= 2 -DISTVERSIONPREFIX= v +DISTVERSION= 1.0.20220909 CATEGORIES= deskutils -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= Free form data organizer -WWW= http://treesheets.com +WWW= https://strlen.com/treesheets/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/ZLIB_LICENSE.txt -USES= compiler:c++17-lang desktop-file-utils gnome +NOT_FOR_ARCHS= i386 +NOT_FOR_ARCHS_REASON_i386= Fails to compile: warning: 16 enumeration values not handled in switch: 'V_MINVMTYPES' ... + +USES= cmake compiler:c++17-lang desktop-file-utils gettext gnome USE_GITHUB= yes GH_ACCOUNT= aardappel +GH_TAGNAME= 3025803779 +USE_WX= 3.1 -USE_WX= 3.0+ - -BUILD_WRKSRC= ${WRKSRC}/src -PACKAGE_VERSION= \"${PORTVERSION}\" -MAKE_ENV= PACKAGE_VERSION=${PACKAGE_VERSION:Q} - -PORTDATA= images scripts translations/*/*.mo -PORTDOCS= *.html docs -PORTEXAMPLES= * - -PLIST_FILES= bin/${PORTNAME} \ - share/applications/treesheets.desktop \ - share/icons/hicolor/scalable/apps/treesheets.svg \ - share/pixmaps/treesheets.png +PORTDATA= images scripts +PORTDOCS= docs readme.html +PORTEXAMPLES= examples OPTIONS_DEFINE= DOCS EXAMPLES -post-patch: .SILENT - ${REINPLACE_CMD} -e 's|sys->frame->GetPath(L"|(L"${DOCSDIR}/|' \ - ${BUILD_WRKSRC}/document.h - ${REINPLACE_CMD} -e 's|wxFileName(exename).GetPath()|L"${DATADIR}"|' \ - ${BUILD_WRKSRC}/myframe.h - ${REINPLACE_CMD} -e 's|frame->GetPath(L"examples|(L"${EXAMPLESDIR}|' \ - ${BUILD_WRKSRC}/system.h - ${REINPLACE_CMD} -e 's|^\(Icon=\).*|\1${PORTNAME}|' \ - ${WRKSRC}/TS/treesheets.desktop - -do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - (cd ${WRKSRC}/TS && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) - ${INSTALL_DATA} ${WRKSRC}/TS/treesheets.desktop \ - ${STAGEDIR}${PREFIX}/share/applications - @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps - ${INSTALL_DATA} ${WRKSRC}/TS/images/treesheets.svg \ - ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps - ${INSTALL_DATA} ${WRKSRC}/TS/images/icon32.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png - -do-install-DOCS-on: - (cd ${WRKSRC}/TS && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) - -do-install-EXAMPLES-on: - (cd ${WRKSRC}/TS/examples && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \ - ${STAGEDIR}${EXAMPLESDIR}) +post-patch: + @${REINPLACE_CMD} -e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' ${WRKSRC}/CMakeLists.txt .include <bsd.port.mk> diff --git a/deskutils/treesheets/distinfo b/deskutils/treesheets/distinfo index 0b058a7c9f25..6283e4bcdf2d 100644 --- a/deskutils/treesheets/distinfo +++ b/deskutils/treesheets/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1564766678 -SHA256 (aardappel-treesheets-v1.0.2_GH0.tar.gz) = 84eb82f122bc7be3ded399d2511536128911477a4a69c51b26b856de2160405f -SIZE (aardappel-treesheets-v1.0.2_GH0.tar.gz) = 2486893 +TIMESTAMP = 1663014371 +SHA256 (aardappel-treesheets-1.0.20220909-3025803779_GH0.tar.gz) = 46a5c0107ef90f02224a63dac3980e95a1b3d1a8b4b25e8265aa0fe3b651a7ae +SIZE (aardappel-treesheets-1.0.20220909-3025803779_GH0.tar.gz) = 2959449 diff --git a/deskutils/treesheets/files/patch-CMakeLists.txt b/deskutils/treesheets/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..8b84ad4da2d4 --- /dev/null +++ b/deskutils/treesheets/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-09-12 14:30:49 UTC ++++ CMakeLists.txt +@@ -90,7 +90,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/images DESTINATION ${TREESHEETS_PKGDATADIR}) + install(DIRECTORY TS/scripts DESTINATION ${TREESHEETS_PKGDATADIR}) diff --git a/deskutils/treesheets/files/patch-src_Makefile b/deskutils/treesheets/files/patch-src_Makefile deleted file mode 100644 index 421ddb344bae..000000000000 --- a/deskutils/treesheets/files/patch-src_Makefile +++ /dev/null @@ -1,15 +0,0 @@ ---- src/Makefile.orig 2019-08-02 17:24:38 UTC -+++ src/Makefile -@@ -20,8 +20,12 @@ DIST_ARGS?= -caf - APPNAME= treesheets - SRCS= main.cpp \ - lobster_impl.cpp \ -+ ../lobster/external/flatbuffers/src/idl_gen_text.cpp \ -+ ../lobster/external/flatbuffers/src/idl_parser.cpp \ -+ ../lobster/external/flatbuffers/src/util.cpp \ - ../lobster/src/builtins.cpp \ - ../lobster/src/compiler.cpp \ -+ ../lobster/src/disasm.cpp \ - ../lobster/src/file.cpp \ - ../lobster/src/lobsterreader.cpp \ - ../lobster/src/platform.cpp \ diff --git a/deskutils/treesheets/pkg-plist b/deskutils/treesheets/pkg-plist new file mode 100644 index 000000000000..5d636a45c37f --- /dev/null +++ b/deskutils/treesheets/pkg-plist @@ -0,0 +1,6 @@ +bin/treesheets +share/applications/treesheets.desktop +share/icons/hicolor/scalable/apps/treesheets.svg +share/locale/de/LC_MESSAGES/ts.mo +share/locale/it/LC_MESSAGES/ts.mo +share/locale/zh_CN/LC_MESSAGES/ts.mo