aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/treesheets/Makefile19
-rw-r--r--deskutils/treesheets/distinfo6
2 files changed, 16 insertions, 9 deletions
diff --git a/deskutils/treesheets/Makefile b/deskutils/treesheets/Makefile
index 657937fd4769..ce5d93e1de4f 100644
--- a/deskutils/treesheets/Makefile
+++ b/deskutils/treesheets/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= treesheets
-PORTVERSION= 0.0.20161120
-PORTREVISION= 1
+PORTVERSION= 0.0.20170625
CATEGORIES= deskutils
MAINTAINER= lightside@gmx.com
@@ -12,23 +11,26 @@ COMMENT= Free form data organizer
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/ZLIB_LICENSE.txt
+USES= compiler:c++11-lib desktop-file-utils
+
USE_GITHUB= yes
GH_ACCOUNT= aardappel
-GH_TAGNAME= 7baabf3
+GH_TAGNAME= 8c8d5e0
+
+USE_WX= 3.0+
+INSTALLS_ICONS= yes
BUILD_WRKSRC= ${WRKSRC}/src
PACKAGE_VERSION= \"${PORTVERSION}\"
MAKE_ENV= PACKAGE_VERSION=${PACKAGE_VERSION:Q}
-USES= compiler:c++11-lib desktop-file-utils
-USE_WX= 3.0+
-
PORTDATA= images
PORTDOCS= docs *.html
PORTEXAMPLES= *
PLIST_FILES= bin/${PORTNAME} \
share/applications/treesheets.desktop \
+ share/icons/hicolor/scalable/apps/treesheets.svg \
share/pixmaps/treesheets.png
OPTIONS_DEFINE= DOCS EXAMPLES
@@ -40,12 +42,17 @@ post-patch: .SILENT
${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
diff --git a/deskutils/treesheets/distinfo b/deskutils/treesheets/distinfo
index acc371cd8676..640bd083e40c 100644
--- a/deskutils/treesheets/distinfo
+++ b/deskutils/treesheets/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1479663653
-SHA256 (aardappel-treesheets-0.0.20161120-7baabf3_GH0.tar.gz) = 50fc7ecc1fe15fae310bb8a64af504dfc56e959905b4f13a8d51ebb6e992753a
-SIZE (aardappel-treesheets-0.0.20161120-7baabf3_GH0.tar.gz) = 1792180
+TIMESTAMP = 1498411816
+SHA256 (aardappel-treesheets-0.0.20170625-8c8d5e0_GH0.tar.gz) = ed24f04019d7fd5f9663d359ab57756744031c58a3f1669cca6bac2d45bffd7a
+SIZE (aardappel-treesheets-0.0.20170625-8c8d5e0_GH0.tar.gz) = 1992345