From ef43c088e5bccf5931c064aaae4006ea2b5bd31e Mon Sep 17 00:00:00 2001 From: Alan F Date: Sat, 22 Jun 2013 15:13:10 +0100 Subject: freebsd port update from jayp.ml --- freebsd/Makefile | 64 +++++++++++++++++++++++++++++++++++++++++++++++-------- freebsd/distinfo | 4 ++-- freebsd/pkg-plist | 26 ++++++++++++++++++---- 3 files changed, 79 insertions(+), 15 deletions(-) diff --git a/freebsd/Makefile b/freebsd/Makefile index 10f8c20..bea5b11 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -6,7 +6,7 @@ # PORTNAME= transmission-remote-gtk -PORTVERSION= 0.5 +PORTVERSION= 1.1.1 CATEGORIES= net-p2p MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} @@ -14,17 +14,63 @@ MAINTAINER= jdm720@gmail.com COMMENT= GTK app for remote management of Transmission via RPC LIB_DEPENDS= json-glib-1.0:${PORTSDIR}/devel/json-glib \ - notify.1:${PORTSDIR}/devel/libnotify \ unique-1.0.2:${PORTSDIR}/x11-toolkits/unique \ - curl.6:${PORTSDIR}/ftp/curl + curl:${PORTSDIR}/ftp/curl -RUN_DEPENDS= notification-daemon:${PORTSDIR}/deskutils/notification-daemon +BUILD_DEPENDS= intltool-update:${PORTSDIR}/textproc/intltool \ + p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser -USE_GNOME= glib20 gtk20 gconf2 -GNU_CONFIGURE= yes +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_GNOME= glib20 gconf2 INSTALLS_ICONS= yes -GCONF_SCHEMAS= transmission-remote-gtk.schemas +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --without-libappindicator + +OPTIONS_SINGLE= GTK +OPTIONS_SINGLE_GTK= GTK2 GTK3 +OPTIONS_DEFINE= NLS GEOIP LIBNOTIFY LIBPROXY +OPTIONS_DEFAULT= GTK3 NLS LIBNOTIFY + +LIBNOTIFY_DESC= Desktop Notifications framework (devel/libnotify) + +.include + +.if ${PORT_OPTIONS:MGTK2} +USE_GNOME+= gtk20 +CONFIGURE_ARGS+=--enable-gtk2 +.else +USE_GNOME+= gtk30 +.endif + +.if ${PORT_OPTIONS:MNLS} +USES+= gettext +CONFIGURE_ENV+= DATADIRNAME=share +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB= NLS="@comment " +.endif + +.if ${PORT_OPTIONS:MGEOIP} +LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP +.else +CONFIGURE_ARGS+=--without-libgeoip +.endif + +.if ${PORT_OPTIONS:MLIBNOTIFY} +LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify +.else +CONFIGURE_ARGS+=--without-libnotify +.endif + +.if ${PORT_OPTIONS:MLIBPROXY} +LIB_DEPENDS+= libproxy:${PORTSDIR}/net/libproxy +.else +CONFIGURE_ARGS+=--without-libproxy +.endif -.include +MAN1= transmission-remote-gtk.1 -.include +.include diff --git a/freebsd/distinfo b/freebsd/distinfo index 4bc2e74..44929ac 100644 --- a/freebsd/distinfo +++ b/freebsd/distinfo @@ -1,2 +1,2 @@ -SHA256 (transmission-remote-gtk-0.2.1.tar.gz) = 3377b6f4d821f1852d935933fc1f04e4c024e21d3d42292985e3358033708221 -SIZE (transmission-remote-gtk-0.2.1.tar.gz) = 210822 +SHA256 (transmission-remote-gtk-1.1.1.tar.gz) = 9f5ac2de623d633bcaacb6362bb6d8fb468c6dff278b867f65809c48ea1570c9 +SIZE (transmission-remote-gtk-1.1.1.tar.gz) = 684718 diff --git a/freebsd/pkg-plist b/freebsd/pkg-plist index d0c2f03..e286c15 100644 --- a/freebsd/pkg-plist +++ b/freebsd/pkg-plist @@ -1,8 +1,26 @@ bin/transmission-remote-gtk -share/icons/hicolor/scalable/apps/transmission-remote-gtk.svg +share/applications/transmission-remote-gtk.desktop share/icons/hicolor/16x16/apps/transmission-remote-gtk.png -share/icons/hicolor/24x24/apps/transmission-remote-gtk.png -share/icons/hicolor/48x48/apps/transmission-remote-gtk.png share/icons/hicolor/22x22/apps/transmission-remote-gtk.png +share/icons/hicolor/24x24/apps/transmission-remote-gtk.png share/icons/hicolor/32x32/apps/transmission-remote-gtk.png -share/applications/transmission-remote-gtk.desktop +share/icons/hicolor/48x48/apps/transmission-remote-gtk.png +share/icons/hicolor/scalable/apps/transmission-remote-gtk.svg +%%NLS%%share/locale/ca/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/cs/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/de/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/es/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/fr/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/hu/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/it/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/ko/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/lt/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/lv/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/pl/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/ru/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/si/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/sv/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/tr/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/uk/LC_MESSAGES/transmission-remote-gtk.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/transmission-remote-gtk.mo -- cgit v1.2.3