diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-01-02 19:46:05 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-01-02 19:46:05 +0000 |
commit | 099d4dcdddd1e85e980390fa6ff233b9898e74e7 (patch) | |
tree | f66933f220bfa0a7c7f8eb8d2bac324606cff5c9 /ftp/gftp | |
parent | e3870d7a925ae233930bec832f1bba404910cfc9 (diff) | |
download | FreeBSD-ports-099d4dcdddd1e85e980390fa6ff233b9898e74e7.zip FreeBSD-ports-099d4dcdddd1e85e980390fa6ff233b9898e74e7.tar.gz |
upgrade to 2.0.14
PR: 46020
Submitted by: maintainer
Diffstat (limited to 'ftp/gftp')
-rw-r--r-- | ftp/gftp/Makefile | 48 | ||||
-rw-r--r-- | ftp/gftp/distinfo | 2 | ||||
-rw-r--r-- | ftp/gftp/files/patch-ab | 12 | ||||
-rw-r--r-- | ftp/gftp/files/patch-ac | 11 | ||||
-rw-r--r-- | ftp/gftp/files/patch-configure | 14 | ||||
-rw-r--r-- | ftp/gftp/files/patch-lib::gftp.h | 11 | ||||
-rw-r--r-- | ftp/gftp/pkg-descr | 10 | ||||
-rw-r--r-- | ftp/gftp/pkg-plist | 69 |
8 files changed, 115 insertions, 62 deletions
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile index 5a88cae..297c610 100644 --- a/ftp/gftp/Makefile +++ b/ftp/gftp/Makefile @@ -6,33 +6,67 @@ # PORTNAME= gftp -PORTVERSION= 2.0.13 +PORTVERSION= 2.0.14 CATEGORIES= ftp MASTER_SITES= http://gftp.seul.org/ \ ftp://gftp.seul.org/pub/gftp/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} MAINTAINER= lehmann@ans-netz.de -USE_X_PREFIX= yes -USE_GNOMENG= yes -WANT_GNOME= yes -USE_GNOME= gtk12 gnomehack GNU_CONFIGURE= yes + CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -MAN1= gftp.1 +USE_GNOMENG= yes +USE_GNOME+= gnomehack + +.if defined(WITHOUT_X11) +CONFIGURE_ARGS+= --disable-gtkport --disable-gtk20 +PKGNAMESUFFIX= -nox11 +LIB_DEPENDS+= glib12.3:${PORTSDIR}/devel/glib12 +.else +USE_X_PREFIX= yes +WANT_GNOME= yes +.if defined(WITH_GTK2) +RUN_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkgconfig +LIB_DEPENDS+= glib-2.0.0:${PORTSDIR}/devel/glib20 \ + gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 +CONFIGURE_ENV+= _GTHREAD_LIBS="-lgthread-2.0" +.else +CONFIGURE_ARGS+= --disable-gtk20 +USE_GNOME+= gtk12 +CONFIGURE_ENV+= _GTHREAD_LIBS="-lgthread12" +.endif +.endif .include <bsd.port.pre.mk> +MAN1= gftp.1 + +.if defined(WITHOUT_X11) +PLIST_SUB+= NOX11:="@comment " +.else +PLIST_SUB+= NOX11:="" +.endif + .if ${HAVE_GNOME:Mgnomelibs}!="" USE_GNOME+= gnomeprefix gnomelibs PKGNAMESUFFIX= -gnome PLIST_SUB= DATADIR="share/gnome" .else -PLIST_SUB= DATADIR="share" +PLIST_SUB+= DATADIR="share" .endif +pre-everything:: + @${ECHO} "" + @${ECHO} "You may use the following build options:" + @${ECHO} "" + @${ECHO} " WITHOUT_X11=yes Only build the text frontend." + @${ECHO} " WITH_GTK2=yes Use gtk 2.x instead of 1.x" + @${ECHO} "" + post-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ diff --git a/ftp/gftp/distinfo b/ftp/gftp/distinfo index 1d7ddba..5ed771b 100644 --- a/ftp/gftp/distinfo +++ b/ftp/gftp/distinfo @@ -1 +1 @@ -MD5 (gftp-2.0.13.tar.gz) = 5006d3f984b63fe30865fc03e50a6256 +MD5 (gftp-2.0.14.tar.gz) = 61e1271af88de20b50a90242a648ab2b diff --git a/ftp/gftp/files/patch-ab b/ftp/gftp/files/patch-ab index 772b70b..895a326 100644 --- a/ftp/gftp/files/patch-ab +++ b/ftp/gftp/files/patch-ab @@ -1,7 +1,13 @@ ---- docs/Makefile.in.orig Fri Dec 21 01:40:24 2001 -+++ docs/Makefile.in Wed Jan 2 13:50:13 2002 -@@ -104,11 +104,13 @@ +--- docs/Makefile.in.orig Wed Nov 27 19:57:25 2002 ++++ docs/Makefile.in Wed Nov 27 20:01:29 2002 +@@ -109,15 +109,19 @@ + USE_NLS = @USE_NLS@ + VERSION = @VERSION@ + + man_MANS = gftp.1 ++.ifndef WITHOUT_X11 SUBDIRS = sample.gftp ++.endif EXTRA_DIST = USERS-GUIDE gftp.1 gftp.desktop gftp.lsm gftp.png parse-netrc.pl +.ifdef HAVE_GNOME diff --git a/ftp/gftp/files/patch-ac b/ftp/gftp/files/patch-ac deleted file mode 100644 index 239750f..0000000 --- a/ftp/gftp/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- src/text/Makefile.in.orig Sun May 26 21:27:10 2002 -+++ src/text/Makefile.in Sun May 26 21:28:58 2002 -@@ -105,7 +105,7 @@ - EXTRA_PROGRAMS = gftp-text - gftp_text_SOURCES = gftp-text.c - INCLUDES = @GLIB_CFLAGS@ -DSHARE_DIR=\"$(datadir)/gftp\" -DLOCALE_DIR=\"$(localedir)\" -I../../intl --LDADD = ../../lib/libgftp.a @INTLLIBS@ @GLIB_LIBS@ @EXTRA_LIBS@ @READLINE_LIBS@ -+LDADD = -lintl ../../lib/libgftp.a @INTLLIBS@ @GLIB_LIBS@ @EXTRA_LIBS@ @READLINE_LIBS@ - noinst_HEADERS = gftp-text.h - localedir = $(prefix)/share/locale - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/ftp/gftp/files/patch-configure b/ftp/gftp/files/patch-configure new file mode 100644 index 0000000..d86466f --- /dev/null +++ b/ftp/gftp/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig Wed Nov 27 17:25:51 2002 ++++ configure Wed Nov 27 17:30:47 2002 +@@ -4725,9 +4725,9 @@ + + rm -f conf.gtktest + +- GTHREAD_LIBS="-lgthread" ++ GTHREAD_LIBS="$_GTHREAD_LIBS" + else +- GTHREAD_LIBS="-lgthread-2.0" ++ GTHREAD_LIBS="$_GTHREAD_LIBS" + fi + + if test "x$GFTP_GTK" = xgftp-gtk; then diff --git a/ftp/gftp/files/patch-lib::gftp.h b/ftp/gftp/files/patch-lib::gftp.h new file mode 100644 index 0000000..254d8a4 --- /dev/null +++ b/ftp/gftp/files/patch-lib::gftp.h @@ -0,0 +1,11 @@ +--- lib/gftp.h.orig Wed Nov 27 17:19:22 2002 ++++ lib/gftp.h Wed Nov 27 17:19:43 2002 +@@ -35,7 +35,7 @@ + #endif + #include <sys/wait.h> + #include <sys/utsname.h> +-#include <sys/sysmacros.h> ++/* #include <sys/sysmacros.h> */ + #include <netinet/in.h> + #include <arpa/inet.h> + #include <glib.h> diff --git a/ftp/gftp/pkg-descr b/ftp/gftp/pkg-descr index 339713f..fee568c 100644 --- a/ftp/gftp/pkg-descr +++ b/ftp/gftp/pkg-descr @@ -1,7 +1,7 @@ -gFTP is a free multithreaded ftp client for *NIX based machines running -X11R6 or later. It has the following features: +gFTP is a free multithreaded ftp client for *NIX based machines. +It has the following features: Distributed under the terms of the GNU Public License Agreement - Written in C and uses GTK+ 1.2.x+ for the GUI + Written in C and Can use GTK+ 1.2.x+ or GTK 2.x for the GUI (or text mode) Multithreaded to allow for simultaneous downloads File transfer queues to allow for downloading multiple files Supports downloading entire directories and subdirectories @@ -18,8 +18,4 @@ X11R6 or later. It has the following features: Allows for passive and non-passive file transfers Eliminates buffer overruns from malicious ftp sites -gFTP is copyright (c) 1998 by Brian Masney <masneyb@newwave.net>. - WWW: http://gftp.seul.org/ - -- Damjan Marion <dmarion@open.hr> diff --git a/ftp/gftp/pkg-plist b/ftp/gftp/pkg-plist index 07500c8..7fdef1e 100644 --- a/ftp/gftp/pkg-plist +++ b/ftp/gftp/pkg-plist @@ -1,35 +1,36 @@ bin/gftp -bin/gftp-gtk +%%NOX11:%%bin/gftp-gtk bin/gftp-text -%%GNOME:%%share/gnome/apps/Internet/gftp.desktop -%%DATADIR%%/gftp/COPYING -%%DATADIR%%/gftp/bookmarks -%%DATADIR%%/gftp/connect.xpm -%%DATADIR%%/gftp/deb.xpm -%%DATADIR%%/gftp/down.xpm -%%DATADIR%%/gftp/diff.xpm -%%DATADIR%%/gftp/dir.xpm -%%DATADIR%%/gftp/doc.xpm -%%DATADIR%%/gftp/dotdot.xpm -%%DATADIR%%/gftp/exe.xpm -%%DATADIR%%/gftp/gftp.xpm -%%DATADIR%%/gftp/gftp-logo.xpm -%%DATADIR%%/gftp/gftprc -%%DATADIR%%/gftp/img.xpm -%%DATADIR%%/gftp/left.xpm -%%DATADIR%%/gftp/linkdir.xpm -%%DATADIR%%/gftp/linkfile.xpm -%%DATADIR%%/gftp/man.xpm -%%DATADIR%%/gftp/open_dir.xpm -%%DATADIR%%/gftp/right.xpm -%%DATADIR%%/gftp/rpm.xpm -%%DATADIR%%/gftp/sound.xpm -%%DATADIR%%/gftp/stop.xpm -%%DATADIR%%/gftp/tar.xpm -%%DATADIR%%/gftp/txt.xpm -%%DATADIR%%/gftp/up.xpm -%%DATADIR%%/gftp/world.xpm -%%GNOME:%%share/gnome/pixmaps/gftp.png +%%NOX11:%%%%GNOME:%%share/gnome/apps/Internet/gftp.desktop +%%NOX11:%%%%DATADIR%%/gftp/COPYING +%%NOX11:%%%%DATADIR%%/gftp/bookmarks +%%NOX11:%%%%DATADIR%%/gftp/connect.xpm +%%NOX11:%%%%DATADIR%%/gftp/deb.xpm +%%NOX11:%%%%DATADIR%%/gftp/down.xpm +%%NOX11:%%%%DATADIR%%/gftp/diff.xpm +%%NOX11:%%%%DATADIR%%/gftp/dir.xpm +%%NOX11:%%%%DATADIR%%/gftp/doc.xpm +%%NOX11:%%%%DATADIR%%/gftp/dotdot.xpm +%%NOX11:%%%%DATADIR%%/gftp/exe.xpm +%%NOX11:%%%%DATADIR%%/gftp/gftp.xpm +%%NOX11:%%%%DATADIR%%/gftp/gftp-logo.xpm +%%NOX11:%%%%DATADIR%%/gftp/gftp-mini-logo.xpm +%%NOX11:%%%%DATADIR%%/gftp/gftprc +%%NOX11:%%%%DATADIR%%/gftp/img.xpm +%%NOX11:%%%%DATADIR%%/gftp/left.xpm +%%NOX11:%%%%DATADIR%%/gftp/linkdir.xpm +%%NOX11:%%%%DATADIR%%/gftp/linkfile.xpm +%%NOX11:%%%%DATADIR%%/gftp/man.xpm +%%NOX11:%%%%DATADIR%%/gftp/open_dir.xpm +%%NOX11:%%%%DATADIR%%/gftp/right.xpm +%%NOX11:%%%%DATADIR%%/gftp/rpm.xpm +%%NOX11:%%%%DATADIR%%/gftp/sound.xpm +%%NOX11:%%%%DATADIR%%/gftp/stop.xpm +%%NOX11:%%%%DATADIR%%/gftp/tar.xpm +%%NOX11:%%%%DATADIR%%/gftp/txt.xpm +%%NOX11:%%%%DATADIR%%/gftp/up.xpm +%%NOX11:%%%%DATADIR%%/gftp/world.xpm +%%NOX11:%%%%GNOME:%%share/gnome/pixmaps/gftp.png share/locale/bg/LC_MESSAGES/gftp.mo share/locale/cs/LC_MESSAGES/gftp.mo share/locale/da/LC_MESSAGES/gftp.mo @@ -37,6 +38,7 @@ share/locale/de/LC_MESSAGES/gftp.mo share/locale/es/LC_MESSAGES/gftp.mo share/locale/fi/LC_MESSAGES/gftp.mo share/locale/fr/LC_MESSAGES/gftp.mo +share/locale/hu/LC_MESSAGES/gftp.mo share/locale/it/LC_MESSAGES/gftp.mo share/locale/ja/LC_MESSAGES/gftp.mo share/locale/ko/LC_MESSAGES/gftp.mo @@ -44,9 +46,10 @@ share/locale/nl/LC_MESSAGES/gftp.mo share/locale/no/LC_MESSAGES/gftp.mo share/locale/pl/LC_MESSAGES/gftp.mo share/locale/pt_BR/LC_MESSAGES/gftp.mo +share/locale/ro/LC_MESSAGES/gftp.mo share/locale/ru/LC_MESSAGES/gftp.mo share/locale/sv/LC_MESSAGES/gftp.mo share/locale/tr/LC_MESSAGES/gftp.mo -share/locale/zh_CN.GB2312/LC_MESSAGES/gftp.mo -share/locale/zh_TW.Big5/LC_MESSAGES/gftp.mo -@dirrm %%DATADIR%%/gftp +share/locale/zh_CN/LC_MESSAGES/gftp.mo +share/locale/zh_TW/LC_MESSAGES/gftp.mo +%%NOX11:%%@dirrm %%DATADIR%%/gftp |