ports/73431: New port: ftp/gwget, a download manager for GNOME, based on wget

Radek Kozlowski radek at raadradd.com
Tue Nov 2 20:29:06 UTC 2004


On Tue, Nov 02, 2004 at 07:20:36PM +0000, FreeBSD-gnats-submit at FreeBSD.org wrote:
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       New port: ftp/gwget, a download manager for GNOME, based on wget
> >Arrival-Date:   Tue Nov 02 19:20:36 GMT 2004

Here's a (hopefully) correct version of the port:

--- gwget.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gwget
#	gwget/Makefile
#	gwget/distinfo
#	gwget/pkg-descr
#	gwget/pkg-plist
#
echo c - gwget
mkdir -p gwget > /dev/null 2>&1
echo x - gwget/Makefile
sed 's/^X//' >gwget/Makefile << 'END-of-gwget/Makefile'
X# New ports collection makefile for:    gwget
X# Date created:                		1 November 2004
X# Whom:                    		Radek Kozlowski <radek at raadradd.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gwget
XPORTVERSION=	0.90
XCATEGORIES=	ftp www gnome
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	gwget
X
XMAINTAINER=	radek at raadradd.com
XCOMMENT=	A download manager for GNOME, based on wget
X
XUSE_GMAKE=	yes
XUSE_GNOME=	glib20 gnomehack gnomeprefix intlhack libglade2 libgnomeui
XUSE_LIBTOOL_VER=15
XUSE_REINPLACE=	yes
XUSE_X_PREFIX=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
XEPHY_VER=	1.2
X
X.include <bsd.port.pre.mk>
X
X.if exists(${X11BASE}/bin/epiphany) && !defined(WITHOUT_EPIPHANY)
XWITH_EPIPHANY=	yes
X.endif
X
X.if defined(WITH_EPIPHANY)
XBUILD_DEPENDS+=		epiphany:${PORTSDIR}/www/epiphany
XCONFIGURE_ARGS+=	--enable-epiphany-extension \
X			--with-epiphany-version=${EPHY_VER}
XPLIST_SUB+=		EPIPHANY:="" \
X			VERSION="${EPHY_VER}"
X.else
XCONFIGURE_ARGS+=	--disable-epiphany-extension
XPLIST_SUB+=		EPIPHANY:="@comment "
X.endif # defined(WITH_EPIPHANY)
X
Xpost-patch:
X		@${REINPLACE_CMD} -e 's|epiphany/extensions|epiphany-${EPHY_VER}/extensions|' \
X			${WRKSRC}/epiphany-extension/Makefile.in
X
X.include <bsd.port.post.mk>
END-of-gwget/Makefile
echo x - gwget/distinfo
sed 's/^X//' >gwget/distinfo << 'END-of-gwget/distinfo'
XMD5 (gwget-0.90.tar.gz) = 44882057713aa64df9b94bbc6b678f29
XSIZE (gwget-0.90.tar.gz) = 473147
END-of-gwget/distinfo
echo x - gwget/pkg-descr
sed 's/^X//' >gwget/pkg-descr << 'END-of-gwget/pkg-descr'
XGwget is a download manager for GNOME which uses wget as its backend.
XThe most important features include pause/continue support, resuming
Xand recursive downloading.
X
XWWW: http://gwget.sourceforge.net/
END-of-gwget/pkg-descr
echo x - gwget/pkg-plist
sed 's/^X//' >gwget/pkg-plist << 'END-of-gwget/pkg-plist'
Xbin/gwget
Xinclude/gwget/custom-cell-renderer-progressbar.h
Xinclude/gwget/eggtrayicon.h
Xinclude/gwget/gwget_data.h
Xinclude/gwget/main_window.h
Xinclude/gwget/main_window_cb.h
Xinclude/gwget/new_window.h
Xinclude/gwget/systray.h
Xinclude/gwget/utils.h
Xinclude/gwget/wget-log.h
Xlibdata/bonobo/servers/GNOME_Gwget.server
X%%EPIPHANY:%%lib/epiphany-%%VERSION%%/extensions/libgwgetextension.a
X%%EPIPHANY:%%lib/epiphany-%%VERSION%%/extensions/libgwgetextension.so
X%%EPIPHANY:%%lib/epiphany-%%VERSION%%/extensions/libgwgetextension.so.0
Xshare/gnome/applications/gwget.desktop
Xshare/gnome/gwget/about.glade
Xshare/gnome/gwget/gwget-large.png
Xshare/gnome/gwget/gwget-off.png
Xshare/gnome/gwget/gwget.glade
Xshare/gnome/gwget/gwget.png
Xshare/gnome/gwget/gwget.xpm
Xshare/gnome/gwget/newdownload.glade
Xshare/gnome/gwget/preferences.glade
Xshare/gnome/idl/GNOME_Gwget.idl
Xshare/gnome/pixmaps/gwget.png
Xshare/locale/bg/LC_MESSAGES/gwget.mo
Xshare/locale/cs/LC_MESSAGES/gwget.mo
Xshare/locale/en_CA/LC_MESSAGES/gwget.mo
Xshare/locale/es/LC_MESSAGES/gwget.mo
Xshare/locale/eu/LC_MESSAGES/gwget.mo
Xshare/locale/fi/LC_MESSAGES/gwget.mo
Xshare/locale/fr/LC_MESSAGES/gwget.mo
Xshare/locale/hu/LC_MESSAGES/gwget.mo
Xshare/locale/ja/LC_MESSAGES/gwget.mo
Xshare/locale/mk/LC_MESSAGES/gwget.mo
Xshare/locale/nl/LC_MESSAGES/gwget.mo
Xshare/locale/pa/LC_MESSAGES/gwget.mo
Xshare/locale/pl/LC_MESSAGES/gwget.mo
Xshare/locale/pt/LC_MESSAGES/gwget.mo
Xshare/locale/pt_BR/LC_MESSAGES/gwget.mo
Xshare/locale/ro/LC_MESSAGES/gwget.mo
Xshare/locale/ru/LC_MESSAGES/gwget.mo
Xshare/locale/tr/LC_MESSAGES/gwget.mo
Xshare/locale/zh_TW/LC_MESSAGES/gwget.mo
X at dirrm include/gwget
X%%EPIPHANY:%%@unexec rmdir %D/lib/epiphany-%%VERSION%%/extensions 2>/dev/null || true
X%%EPIPHANY:%%@unexec rmdir %D/lib/epiphany-%%VERSION%% 2>/dev/null || true
X at dirrm share/gnome/gwget
END-of-gwget/pkg-plist
exit

--- gwget.shar ends here ---

-Radek



More information about the freebsd-ports-bugs mailing list