aboutsummaryrefslogtreecommitdiff
path: root/x11/yad
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-04 15:31:58 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-04 15:31:58 +0000
commit11b0219cfee80846a7947fbc14d485005498fe51 (patch)
treefb797ef3be1659ca3d20efc6d5f06b99402c8e0e /x11/yad
parent4d3d7c16a36ec4d7cc8b309e8e1823ab045c00ee (diff)
downloadports-11b0219cfee80846a7947fbc14d485005498fe51.tar.gz
ports-11b0219cfee80846a7947fbc14d485005498fe51.zip
x11/yad: update to 0.23.0
- Updated from 0.22.1 to 0.23.0 - Added Makefile header - Use new options helpers - Added YAD Icon Browser option Changes: https://code.google.com/p/yad/source/browse/trunk/ChangeLog?spec=svn687&r=687 PR: ports/181790 Submitted by: Danilo EgĂȘa Gondolfo <danilogondolfo gmail.com>
Notes
Notes: svn path=/head/; revision=326287
Diffstat (limited to 'x11/yad')
-rw-r--r--x11/yad/Makefile29
-rw-r--r--x11/yad/distinfo4
-rw-r--r--x11/yad/pkg-plist2
3 files changed, 17 insertions, 18 deletions
diff --git a/x11/yad/Makefile b/x11/yad/Makefile
index 4ba1bb45a3ef..ecc3d3502bc4 100644
--- a/x11/yad/Makefile
+++ b/x11/yad/Makefile
@@ -1,7 +1,8 @@
+# Created by: Danilo Egea Gondolfo <danilogondolfo@gmail.com>
# $FreeBSD$
PORTNAME= yad
-PORTVERSION= 0.22.1
+PORTVERSION= 0.23.0
CATEGORIES= x11 gnome
MASTER_SITES= GOOGLE_CODE
@@ -17,31 +18,27 @@ CONFIGURE_ENV+= DATADIRNAME=share
MAN1= yad.1
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS ICONBROWSER
+ICONBROWSER_DESC= Build YAD icon browser
+OPTIONS_SUB= yes
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK= GTK2 GTK3
OPTIONS_DEFAULT= GTK2
-.include <bsd.port.options.mk>
+NLS_CONFIGURE_OFF= --disable-nls
+NLS_USES= gettext
+GTK2_CONFIGURE_ON= --with-gtk=gtk2
+GTK3_CONFIGURE_ON= --with-gtk=gtk3
+ICONBROWSER_CONFIGURE_ENABLE= icon-browser
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-USES+= gettext
-.else
-PLIST_SUB+= NLS="@comment "
-CONFIGURE_ARGS+= --disable-nls
-.endif
-
-.if ${PORT_OPTIONS:MGTK3}
-USE_GNOME= gtk30
-CONFIGURE_ARGS+= --with-gtk=gtk3
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK2}
USE_GNOME= gtk20
-CONFIGURE_ARGS+= --with-gtk=gtk2
+.else
+USE_GNOME= gtk30
.endif
post-configure:
diff --git a/x11/yad/distinfo b/x11/yad/distinfo
index 5203ef357da2..f625ab4da86c 100644
--- a/x11/yad/distinfo
+++ b/x11/yad/distinfo
@@ -1,2 +1,2 @@
-SHA256 (yad-0.22.1.tar.xz) = 4dd9239ac0905c5d6e856725b16420322d27ef1a05aa7ee1ac45ef1a3a37b8e3
-SIZE (yad-0.22.1.tar.xz) = 223788
+SHA256 (yad-0.23.0.tar.xz) = ba84fe2953f398df5b091d7e863412c792a56f995319b1313e70c5579de1cdda
+SIZE (yad-0.23.0.tar.xz) = 224404
diff --git a/x11/yad/pkg-plist b/x11/yad/pkg-plist
index 780e710a882d..db057e0bcc27 100644
--- a/x11/yad/pkg-plist
+++ b/x11/yad/pkg-plist
@@ -13,3 +13,5 @@ share/icons/hicolor/96x96/apps/yad.png
%%NLS%%share/locale/sk/LC_MESSAGES/yad.mo
%%NLS%%share/locale/uk/LC_MESSAGES/yad.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/yad.mo
+%%ICONBROWSER%%bin/yad-icon-browser
+%%ICONBROWSER%%share/applications/yad-icon-browser.desktop