aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-10-17 17:43:01 +0800
committermakc <makc@FreeBSD.org>2010-10-17 17:43:01 +0800
commit0eccd89cc53d12aceb3ed4a76f3722ae25054c54 (patch)
tree600fdee0891e8709be9368d08c0766520d640ade /ftp
parentbf536b367a0126155a3a15c03bab1cdfd8dd8cdc (diff)
downloadfreebsd-ports-graphics-0eccd89cc53d12aceb3ed4a76f3722ae25054c54.tar.gz
freebsd-ports-graphics-0eccd89cc53d12aceb3ed4a76f3722ae25054c54.tar.zst
freebsd-ports-graphics-0eccd89cc53d12aceb3ed4a76f3722ae25054c54.zip
Update to 0.3.6
Add option for Gnome Keyring Changelog: http://www.bareftp.org/devel/browser/tags/0.3.6/ChangeLog PR: ports/151505 Submitted by: Rob Farmer (maintainer)
Diffstat (limited to 'ftp')
-rw-r--r--ftp/bareftp/Makefile18
-rw-r--r--ftp/bareftp/distinfo6
-rw-r--r--ftp/bareftp/files/patch-po-LINGUAS8
-rw-r--r--ftp/bareftp/pkg-plist1
4 files changed, 23 insertions, 10 deletions
diff --git a/ftp/bareftp/Makefile b/ftp/bareftp/Makefile
index fe2fae6381c..ee1dd06eaea 100644
--- a/ftp/bareftp/Makefile
+++ b/ftp/bareftp/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= bareftp
-PORTVERSION= 0.3.2
-PORTREVISION= 1
+PORTVERSION= 0.3.6
CATEGORIES= ftp
MASTER_SITES= http://www.bareftp.org/release/ \
http://www.predatorlabs.net/dl/
@@ -17,8 +16,7 @@ COMMENT= Ftp client made in C sharp
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datarootdir="${PREFIX}/share" --libdir="${PREFIX}/lib" \
- --localedir="${PREFIX}/share/locale" --includedir="${LOCALBASE}/include" \
- --without-gnomekeyring
+ --localedir="${PREFIX}/share/locale" --includedir="${LOCALBASE}/include"
INSTALLS_ICONS= yes
USE_GETTEXT= yes
@@ -31,6 +29,18 @@ MAKE_JOBS_SAFE= yes
MAN1= bareftp.1
+OPTIONS= KEYRING "Support for Gnome Keyring" on
+
+.include <bsd.port.options.mk>
+
+.if defined(WITHOUT_KEYRING)
+CONFIGURE_ARGS+= --without-gnomekeyring
+.else
+KEYRING_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-keyring-sharp-1.0.pc
+BUILD_DEPENDS+= ${KEYRING_DETECT}:${PORTSDIR}/security/gnome-keyring-sharp
+RUN_DEPENDS+= ${KEYRING_DETECT}:${PORTSDIR}/security/gnome-keyring-sharp
+.endif
+
# TODO
# Ugly way but configure ignore "--localedir=" fu* ;/
pre-build:
diff --git a/ftp/bareftp/distinfo b/ftp/bareftp/distinfo
index f7e470eb73e..ddc94bd1c48 100644
--- a/ftp/bareftp/distinfo
+++ b/ftp/bareftp/distinfo
@@ -1,3 +1,3 @@
-MD5 (bareftp-0.3.2.tar.gz) = 721aea1d090f1d5393767a2bfa4f11fa
-SHA256 (bareftp-0.3.2.tar.gz) = bf346b5e60b68f1b7a86d4f9f3f8f7f89e32b6d1cff212664f924c33878b4511
-SIZE (bareftp-0.3.2.tar.gz) = 553906
+MD5 (bareftp-0.3.6.tar.gz) = cdfb1275d06642fd82f9ff49ecf0b48f
+SHA256 (bareftp-0.3.6.tar.gz) = b3153e130de4f4cc4dd113fcabb2c5622a647fc2d35170253597d36f98c929bc
+SIZE (bareftp-0.3.6.tar.gz) = 582408
diff --git a/ftp/bareftp/files/patch-po-LINGUAS b/ftp/bareftp/files/patch-po-LINGUAS
index c92be5f916d..37e8e386aaf 100644
--- a/ftp/bareftp/files/patch-po-LINGUAS
+++ b/ftp/bareftp/files/patch-po-LINGUAS
@@ -1,6 +1,6 @@
---- po/LINGUAS.orig 2010-04-25 15:50:34.000000000 -0700
-+++ po/LINGUAS 2010-04-25 15:50:52.000000000 -0700
-@@ -1,9 +1,9 @@
+--- po/LINGUAS.orig 2010-10-16 04:48:50.000000000 -0700
++++ po/LINGUAS 2010-10-16 04:49:14.000000000 -0700
+@@ -1,10 +1,10 @@
-ca
-de
-es
@@ -9,6 +9,7 @@
-nb
-pl
-pt_BR
+-ru
+ca \
+de \
+es \
@@ -17,4 +18,5 @@
+nb \
+pl \
+pt_BR \
++ru \
sv
diff --git a/ftp/bareftp/pkg-plist b/ftp/bareftp/pkg-plist
index 958f26f1ca3..342049c50cf 100644
--- a/ftp/bareftp/pkg-plist
+++ b/ftp/bareftp/pkg-plist
@@ -31,5 +31,6 @@ share/locale/it/LC_MESSAGES/bareftp.mo
share/locale/nb/LC_MESSAGES/bareftp.mo
share/locale/pl/LC_MESSAGES/bareftp.mo
share/locale/pt_BR/LC_MESSAGES/bareftp.mo
+share/locale/ru/LC_MESSAGES/bareftp.mo
share/locale/sv/LC_MESSAGES/bareftp.mo
@dirrm lib/bareftp