Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2017 13:16:18 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r440836 - head/security/putty
Message-ID:  <201705131316.v4DDGIGT046452@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Sat May 13 13:16:18 2017
New Revision: 440836
URL: https://svnweb.freebsd.org/changeset/ports/440836

Log:
  security/putty: install icon and .desktop file
  
  PR:		219095
  Submitted by:	ehaupt@

Modified:
  head/security/putty/Makefile

Modified: head/security/putty/Makefile
==============================================================================
--- head/security/putty/Makefile	Sat May 13 12:50:07 2017	(r440835)
+++ head/security/putty/Makefile	Sat May 13 13:16:18 2017	(r440836)
@@ -2,6 +2,7 @@
 
 PORTNAME=	putty
 PORTVERSION=	0.69
+PORTREVISION=	1
 CATEGORIES=	security ipv6
 MASTER_SITES=	http://the.earth.li/~sgtatham/putty/${PORTVERSION}/ \
 		ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/
@@ -39,7 +40,14 @@ USE_XORG=	x11
 
 PLIST_FILES+=	bin/pageant bin/pterm bin/putty bin/puttytel
 PLIST_FILES+=	man/man1/pageant.1.gz man/man1/pterm.1.gz man/man1/putty.1.gz man/man1/puttytel.1.gz
+PLIST_FILES+=	share/pixmaps/putty.ico
 MAKE_ARGS+=	PUTTY_WITH_GTK=yes GTK_CONFIG="pkg-config gtk+-3.0 x11 --cflags"
+DESKTOP_ENTRIES="PuTTY" \
+		"${COMMENT}" \
+		"${PREFIX}/share/pixmaps/${PORTNAME}.ico" \
+		"${PORTNAME}" \
+		"" \
+		false
 .else
 MAKE_ARGS+=	GTK_CONFIG=:
 .endif
@@ -73,4 +81,9 @@ post-patch:
 			      s,make,${MAKE_CMD},'\
 		${WRKSRC}/${MAKEFILE}
 
+post-install-GTK3-on:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
+	${INSTALL_DATA} ${WRKSRC}/../windows/putty.ico \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
+
 .include <bsd.port.mk>



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