svn commit: r445407 - head/deskutils/treesheets

Richard Gallamore ultima at FreeBSD.org
Sun Jul 9 17:35:31 UTC 2017


Author: ultima
Date: Sun Jul  9 17:35:30 2017
New Revision: 445407
URL: https://svnweb.freebsd.org/changeset/ports/445407

Log:
  * Updated to 0.0.20170625
  * Moved USES and USE_*(13.1.7) USES should start section then possible USE_*[1]
  
  [1] https://www.freebsd.org/doc/en/books/porters-handbook/porting-samplem.html#porting-samplem-order
  
  PR:		219647
  Submitted by:	lightside <lightside at gmx.com> (maintainer)
  Reviewed by:	matthew (mentor)
  Approved by:	matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11498

Modified:
  head/deskutils/treesheets/Makefile
  head/deskutils/treesheets/distinfo

Modified: head/deskutils/treesheets/Makefile
==============================================================================
--- head/deskutils/treesheets/Makefile	Sun Jul  9 13:38:01 2017	(r445406)
+++ head/deskutils/treesheets/Makefile	Sun Jul  9 17:35:30 2017	(r445407)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	treesheets
-PORTVERSION=	0.0.20161120
-PORTREVISION=	1
+PORTVERSION=	0.0.20170625
 CATEGORIES=	deskutils
 
 MAINTAINER=	lightside at 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
 

Modified: head/deskutils/treesheets/distinfo
==============================================================================
--- head/deskutils/treesheets/distinfo	Sun Jul  9 13:38:01 2017	(r445406)
+++ head/deskutils/treesheets/distinfo	Sun Jul  9 17:35:30 2017	(r445407)
@@ -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


More information about the svn-ports-all mailing list