Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2018 15:45:54 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473046 - in head/textproc/tkdiff: . files
Message-ID:  <201806221545.w5MFjsWt028285@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Fri Jun 22 15:45:54 2018
New Revision: 473046
URL: https://svnweb.freebsd.org/changeset/ports/473046

Log:
  textproc/tkdiff: update to 4.3
  
  This update gets rid of binary files in files/
  
  PR:	229159
  Submitted by:	portmaster@bsdforge.com (maintainer)
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D15907

Added:
  head/textproc/tkdiff/pkg-plist   (contents, props changed)
Deleted:
  head/textproc/tkdiff/files/
Modified:
  head/textproc/tkdiff/Makefile
  head/textproc/tkdiff/distinfo

Modified: head/textproc/tkdiff/Makefile
==============================================================================
--- head/textproc/tkdiff/Makefile	Fri Jun 22 15:37:13 2018	(r473045)
+++ head/textproc/tkdiff/Makefile	Fri Jun 22 15:45:54 2018	(r473046)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	tkdiff
-PORTVERSION=	4.2
-PORTREVISION=	2
+DISTVERSION=	4-3
 CATEGORIES=	textproc tk
-MASTER_SITES=	SF
+MASTER_SITES=	SF  https://bsdforge.com/projects/source/textproc/tkdiff/:ikon
+DISTFILES=	${DISTNAME}.zip tkicons.txz:ikon
 
 MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	Tk frontend for diff(1)
@@ -13,11 +13,7 @@ COMMENT=	Tk frontend for diff(1)
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	base64>0:converters/base64
-
-WRKSRC=		${WRKDIR}/${PORTNAME}-unix
-
-USES=		tk:wrapper
+USES=		tar:txz tk:wrapper
 NO_BUILD=	yes
 
 DESKTOP_ENTRIES=	"Tkdiff" "Tk frontend for the diff command" \
@@ -25,20 +21,11 @@ DESKTOP_ENTRIES=	"Tkdiff" "Tk frontend for the diff co
 			"tkdiff" "GNOME;GTK;Development;System;" \
 			false
 
-UNPACK=	base64 -d
+IKONS=	tkdiff-256.png tkdiff-128.png \
+	tkdiff-64.png tkdiff.png
 
-PLIST_FILES=	bin/tkdiff share/pixmaps/tkdiff.png share/pixmaps/tkdiff-256.png \
-		share/pixmaps/tkdiff-128.png share/pixmaps/tkdiff-64.png
-
-post-patch:
-	${FIND} ${WRKSRC} -type f | ${XARGS} \
-		${REINPLACE_CMD} -e '/^exec wish/s|wish|${WISH}|g' -e '/^exec tclsh/s|tclsh|${TCLSH}|g'
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tkdiff ${STAGEDIR}${PREFIX}/bin
-	${UNPACK} ${FILESDIR}/icon256.base64 > ${STAGEDIR}${PREFIX}/share/pixmaps/tkdiff-256.png
-	${UNPACK} ${FILESDIR}/icon128.base64 > ${STAGEDIR}${PREFIX}/share/pixmaps/tkdiff-128.png
-	${UNPACK} ${FILESDIR}/icon64.base64 > ${STAGEDIR}${PREFIX}/share/pixmaps/tkdiff-64.png
-	${UNPACK} ${FILESDIR}/icon32.base64 > ${STAGEDIR}${PREFIX}/share/pixmaps/tkdiff.png
+	${INSTALL_DATA} ${IKONS:S/tkdiff/${WRKSRC}\/tkdiff/g} ${STAGEDIR}${PREFIX}/share/pixmaps/
 
 .include <bsd.port.mk>

Modified: head/textproc/tkdiff/distinfo
==============================================================================
--- head/textproc/tkdiff/distinfo	Fri Jun 22 15:37:13 2018	(r473045)
+++ head/textproc/tkdiff/distinfo	Fri Jun 22 15:45:54 2018	(r473046)
@@ -1,2 +1,5 @@
-SHA256 (tkdiff-4.2.tar.gz) = 734bb417184c10072eb64e8d274245338e41b7fdeff661b5ef30e89f3e3aa357
-SIZE (tkdiff-4.2.tar.gz) = 92063
+TIMESTAMP = 1529674849
+SHA256 (tkdiff-4-3.zip) = 60acdb57da030a5697e801996e30ae7d3a49f60898abdc63286bb7be98b58bb3
+SIZE (tkdiff-4-3.zip) = 136616
+SHA256 (tkicons.txz) = cf1e6559894e9462284a1ff37fc174ecd384eb7b96dcca1d77725cbc691125a4
+SIZE (tkicons.txz) = 65720

Added: head/textproc/tkdiff/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/tkdiff/pkg-plist	Fri Jun 22 15:45:54 2018	(r473046)
@@ -0,0 +1,5 @@
+bin/tkdiff
+share/pixmaps/tkdiff-128.png
+share/pixmaps/tkdiff-256.png
+share/pixmaps/tkdiff-64.png
+share/pixmaps/tkdiff.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806221545.w5MFjsWt028285>