aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-09-23 15:21:26 +0800
committerjbeich <jbeich@FreeBSD.org>2015-09-23 15:21:26 +0800
commitcad3b2458b6702f3dffd3aa9a88a9ce1ac87bd60 (patch)
tree5e22af3d6a62858fbab4549a0ed0e1b8b9dbf565 /net-p2p
parentb777b8e270d5537cb9cc3802cbb51a3077bc1f2d (diff)
downloadfreebsd-ports-gnome-cad3b2458b6702f3dffd3aa9a88a9ce1ac87bd60.tar.gz
freebsd-ports-gnome-cad3b2458b6702f3dffd3aa9a88a9ce1ac87bd60.tar.zst
freebsd-ports-gnome-cad3b2458b6702f3dffd3aa9a88a9ce1ac87bd60.zip
net-p2p/gtk-gnutella: update to 1.1.4 [1]
- Convert to new option helpers Changes: http://gtk-gnutella.sourceforge.net/en/?page=news#news_73 PR: 203020 [1] Submitted by: Ben Woods <woodsb02@gmail.com> (maintainer) [1]
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gtk-gnutella/Makefile17
-rw-r--r--net-p2p/gtk-gnutella/distinfo4
-rw-r--r--net-p2p/gtk-gnutella/pkg-plist1
3 files changed, 8 insertions, 14 deletions
diff --git a/net-p2p/gtk-gnutella/Makefile b/net-p2p/gtk-gnutella/Makefile
index e0a092290957..bdab85704a40 100644
--- a/net-p2p/gtk-gnutella/Makefile
+++ b/net-p2p/gtk-gnutella/Makefile
@@ -35,7 +35,7 @@
#
PORTNAME= gtk-gnutella
-PORTVERSION= 1.1.3
+PORTVERSION= 1.1.4
CATEGORIES= net-p2p ipv6
MASTER_SITES= SF
@@ -76,6 +76,7 @@ DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
DBUS_CONFIGURE_OFF= -Ud_dbus
DEBUG_CONFIGURE_ON= -Ud_official
GUI_USE= gnome=gtk20
+GUI_VARS= INSTALLS_ICONS=yes
GUI_CONFIGURE_OFF= -Dd_headless
IPV6_CONFIGURE_OFF= -Ud_ipv6
NLS_USES= gettext
@@ -85,29 +86,22 @@ PORTABILITY_CONFIGURE_ON= -Dd_portable
TLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
TLS_CONFIGURE_OFF= -Ud_gnutls
-.include <bsd.port.options.mk>
-
.if !defined(INTERACTIVE_CONFIGURE)
CONFIGURE_ARGS+= -ders
.endif
-.if ${PORT_OPTIONS:MGUI}
-INSTALLS_ICONS= yes
-.endif
-
post-extract:
@${CHMOD} -R a+rX ${WRKSRC}
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.SH" | ${XARGS} ${REINPLACE_CMD} -e \
's|@exit 0|@echo done|'
-.if empty(PORT_OPTIONS:MDEBUG)
+
+post-patch-DEBUG-off:
@${REINPLACE_CMD} 's/(INSTALL) -c -m 555/(INSTALL) -c -s -m 555/g' \
${WRKSRC}/src/Makefile.SH
-.endif
-post-install:
-.if ${PORT_OPTIONS:MGUI}
+post-install-GUI-on:
.for i in 16 32 128 256 512
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
(cd ${WRKSRC}/extra_files && ${INSTALL_DATA} gtk-gnutella.${i}.png \
@@ -116,6 +110,5 @@ post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
(cd ${WRKSRC}/extra_files && ${INSTALL_DATA} gtk-gnutella.svg \
${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/gtk-gnutella.svg)
-.endif
.include <bsd.port.mk>
diff --git a/net-p2p/gtk-gnutella/distinfo b/net-p2p/gtk-gnutella/distinfo
index 7d96bf3e859e..feb01342cb0b 100644
--- a/net-p2p/gtk-gnutella/distinfo
+++ b/net-p2p/gtk-gnutella/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gtk-gnutella-1.1.3.tar.bz2) = 2659ddb846f60d13789674e926a71bbb4a8b9d3ca98c6b034a95eaa073531405
-SIZE (gtk-gnutella-1.1.3.tar.bz2) = 19504243
+SHA256 (gtk-gnutella-1.1.4.tar.bz2) = 6ae259ff9d5f20a2d10dba66ed6cbe5b56552307a6e8bc36df053b70aff4c956
+SIZE (gtk-gnutella-1.1.4.tar.bz2) = 19546318
diff --git a/net-p2p/gtk-gnutella/pkg-plist b/net-p2p/gtk-gnutella/pkg-plist
index cd5794fe5d8f..9c0865c96e18 100644
--- a/net-p2p/gtk-gnutella/pkg-plist
+++ b/net-p2p/gtk-gnutella/pkg-plist
@@ -44,6 +44,7 @@ share/applications/gtk-gnutella.desktop
%%DATADIR%%/pixmaps/magnet.64x64.png
%%DATADIR%%/pixmaps/natpmp.xpm
%%DATADIR%%/pixmaps/no_firewall.xpm
+%%DATADIR%%/pixmaps/no_listening.xpm
%%DATADIR%%/pixmaps/offline.xpm
%%DATADIR%%/pixmaps/online.xpm
%%DATADIR%%/pixmaps/pause.xpm