summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-26 10:36:44 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-26 10:36:44 +0800
commit00b3b484e247f091b1edd2fca2120497ef91c7ae (patch)
treea09c93c8fa21fcc9dec1d4ac3bfb8eb5bac7f43e /ftp
parent77075bdaf7a5640fc3c39a2d4803961d1e3e4b7a (diff)
downloadmarcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.tar
marcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.tar.gz
marcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.tar.bz2
marcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.tar.lz
marcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.tar.xz
marcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.tar.zst
marcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.zip
-USE_X_PREFIX -> USE_XLIB.
-X11BASE -> LOCALBASE, epiphany lives in LOCALBASE. -Bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6820 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'ftp')
-rw-r--r--ftp/gwget/Makefile55
-rw-r--r--ftp/gwget/distinfo3
-rw-r--r--ftp/gwget/files/patch-src__gwget_data.c10
-rw-r--r--ftp/gwget/pkg-descr5
-rw-r--r--ftp/gwget/pkg-plist66
5 files changed, 139 insertions, 0 deletions
diff --git a/ftp/gwget/Makefile b/ftp/gwget/Makefile
new file mode 100644
index 000000000..b6d71a318
--- /dev/null
+++ b/ftp/gwget/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: gwget
+# Date created: 1 November 2004
+# Whom: Radek Kozlowski <radek@raadradd.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gwget
+PORTVERSION= 0.98.1
+PORTREVISION= 1
+CATEGORIES= ftp www gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= radek@raadradd.com
+COMMENT= A download manager for GNOME, based on wget
+
+RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui libbonobo gconf2
+GNU_CONFIGURE= yes
+USE_XLIB= yes
+USE_GETTEXT= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBBONOBO_IDL="-I${LOCALBASE}/idl/bonobo-2.0" \
+ LDFLAGS="-Wl,-export-dynamic -L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= gwget.schemas
+EPHY_VER?= 2.14
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/epiphany) && !defined(WITHOUT_EPIPHANY)
+WITH_EPIPHANY= yes
+.endif
+
+.if defined(WITH_EPIPHANY)
+BUILD_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
+CONFIGURE_ARGS+= --enable-epiphany-extension \
+ --with-epiphany-version=${EPHY_VER}
+PLIST_SUB+= EPIPHANY="" \
+ VERSION="${EPHY_VER}"
+.else
+CONFIGURE_ARGS+= --disable-epiphany-extension
+PLIST_SUB+= EPIPHANY="@comment "
+.endif # defined(WITH_EPIPHANY)
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|epiphany/extensions|epiphany-${EPHY_VER}/extensions|' \
+ ${WRKSRC}/epiphany-extension/Makefile.in
+
+.include <bsd.port.post.mk>
diff --git a/ftp/gwget/distinfo b/ftp/gwget/distinfo
new file mode 100644
index 000000000..8fa243199
--- /dev/null
+++ b/ftp/gwget/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gwget-0.98.1.tar.bz2) = d09c1b589e2240cb7391d58eb2c8cc83
+SHA256 (gnome2/gwget-0.98.1.tar.bz2) = 7f15caa8a618a0e56803f1d234db8b77a6b2a9d72c4c1d4f371487480443488b
+SIZE (gnome2/gwget-0.98.1.tar.bz2) = 427105
diff --git a/ftp/gwget/files/patch-src__gwget_data.c b/ftp/gwget/files/patch-src__gwget_data.c
new file mode 100644
index 000000000..bd72cc75b
--- /dev/null
+++ b/ftp/gwget/files/patch-src__gwget_data.c
@@ -0,0 +1,10 @@
+--- ./src/gwget_data.c.orig Tue Dec 6 19:54:41 2005
++++ ./src/gwget_data.c Tue May 2 17:55:45 2006
+@@ -35,6 +35,7 @@
+ #include "main_window_cb.h"
+ #include "utils.h"
+ #include "systray.h"
++#include <netinet/in.h>
+
+
+
diff --git a/ftp/gwget/pkg-descr b/ftp/gwget/pkg-descr
new file mode 100644
index 000000000..222bc7145
--- /dev/null
+++ b/ftp/gwget/pkg-descr
@@ -0,0 +1,5 @@
+Gwget is a download manager for GNOME which uses wget as its backend.
+The most important features include pause/continue support, resuming
+and recursive downloading.
+
+WWW: http://gnome.org/projects/gwget/
diff --git a/ftp/gwget/pkg-plist b/ftp/gwget/pkg-plist
new file mode 100644
index 000000000..9acae1f95
--- /dev/null
+++ b/ftp/gwget/pkg-plist
@@ -0,0 +1,66 @@
+bin/gwget
+include/gwget/custom-cell-renderer-progressbar.h
+include/gwget/eggtrayicon.h
+include/gwget/gwget_data.h
+include/gwget/main_window.h
+include/gwget/main_window_cb.h
+include/gwget/new_window.h
+include/gwget/systray.h
+include/gwget/utils.h
+include/gwget/wget-log.h
+libdata/bonobo/servers/GNOME_Gwget.server
+%%EPIPHANY%%lib/epiphany/%%VERSION%%/extensions/libgwgetextension.a
+%%EPIPHANY%%lib/epiphany/%%VERSION%%/extensions/libgwgetextension.la
+%%EPIPHANY%%lib/epiphany/%%VERSION%%/extensions/libgwgetextension.so
+%%EPIPHANY%%lib/epiphany/%%VERSION%%/extensions/gwget.xml
+share/gnome/applications/gwget.desktop
+share/gnome/gwget/about.glade
+share/gnome/gwget/downloading.png
+share/gnome/gwget/gwget-large.png
+share/gnome/gwget/gwget-off.png
+share/gnome/gwget/gwget.glade
+share/gnome/gwget/gwget.png
+share/gnome/gwget/gwget.xpm
+share/gnome/gwget/newdownload.glade
+share/gnome/gwget/newdownload.png
+share/gnome/gwget/preferences.glade
+share/gnome/idl/GNOME_Gwget.idl
+share/gnome/pixmaps/gwget.png
+share/locale/ar/LC_MESSAGES/gwget.mo
+share/locale/bg/LC_MESSAGES/gwget.mo
+share/locale/ca/LC_MESSAGES/gwget.mo
+share/locale/cs/LC_MESSAGES/gwget.mo
+share/locale/da/LC_MESSAGES/gwget.mo
+share/locale/de/LC_MESSAGES/gwget.mo
+share/locale/el/LC_MESSAGES/gwget.mo
+share/locale/en_CA/LC_MESSAGES/gwget.mo
+share/locale/es/LC_MESSAGES/gwget.mo
+share/locale/eu/LC_MESSAGES/gwget.mo
+share/locale/fi/LC_MESSAGES/gwget.mo
+share/locale/fr/LC_MESSAGES/gwget.mo
+share/locale/hu/LC_MESSAGES/gwget.mo
+share/locale/it/LC_MESSAGES/gwget.mo
+share/locale/ja/LC_MESSAGES/gwget.mo
+share/locale/lt/LC_MESSAGES/gwget.mo
+share/locale/mk/LC_MESSAGES/gwget.mo
+share/locale/ne/LC_MESSAGES/gwget.mo
+share/locale/nl/LC_MESSAGES/gwget.mo
+share/locale/pa/LC_MESSAGES/gwget.mo
+share/locale/pl/LC_MESSAGES/gwget.mo
+share/locale/pt/LC_MESSAGES/gwget.mo
+share/locale/pt_BR/LC_MESSAGES/gwget.mo
+share/locale/ro/LC_MESSAGES/gwget.mo
+share/locale/ru/LC_MESSAGES/gwget.mo
+share/locale/rw/LC_MESSAGES/gwget.mo
+share/locale/sk/LC_MESSAGES/gwget.mo
+share/locale/sq/LC_MESSAGES/gwget.mo
+share/locale/sv/LC_MESSAGES/gwget.mo
+share/locale/tr/LC_MESSAGES/gwget.mo
+share/locale/uk/LC_MESSAGES/gwget.mo
+share/locale/zh_CN/LC_MESSAGES/gwget.mo
+share/locale/zh_TW/LC_MESSAGES/gwget.mo
+@dirrm include/gwget
+%%EPIPHANY%%@dirrmtry lib/epiphany/%%VERSION%%/extensions
+%%EPIPHANY%%@dirrmtry lib/epiphany/%%VERSION%%
+%%EPIPHANY%%@dirrmtry lib/epiphany
+@dirrm share/gnome/gwget