svn commit: r440836 - head/security/putty
Matthias Andree
mandree at FreeBSD.org
Sat May 13 13:16:19 UTC 2017
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>
More information about the svn-ports-all
mailing list