Bug 61736 - [NEW PORT] ftp/wmget: Dock app for Window Maker providing wget functionality
Summary: [NEW PORT] ftp/wmget: Dock app for Window Maker providing wget functionality
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 16:40 UTC by Ulrich Spoerlein
Modified: 2004-01-27 16:00 UTC (History)
0 users

See Also:


Attachments
wmget-0.5.0.shar (4.35 KB, text/plain)
2004-01-22 16:40 UTC, Ulrich Spoerlein
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Spoerlein 2004-01-22 16:40:17 UTC
wmget is a dock app for the GNU Window Maker window manager which makes it more
convenient to perform long downloads in the background.

This is useful if you tend to have dozens of windows open at a time and tend to
do a lot of routine downloading. Just copy the link from your browser, middle-
click on the wmget dockapp, and the download will start. No download windows or
terminals required, and you can monitor the progress and stop the transfer if
desired without opening or raising any windows or even changing desktops.

WWW: http://amtrickey.net/wmget/

Generated with FreeBSD Port Tools 0.50
Comment 1 Ulrich Spoerlein 2004-01-27 15:52:00 UTC
On Thu, 22.01.2004 at 23:27:23 +0100, Kirill Ponomarew wrote:
> Here we go:
>=20
> =3D=3D=3D>  Building for wmget-0.5.0
> make -C dockapp
> make: don't know how to make da_run.o. Stop
> *** Error code 2

I guess I should have tested this on -STABLE too :(

Try this one:

# 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:
#
#	wmget
#	wmget/Makefile
#	wmget/distinfo
#	wmget/pkg-descr
#	wmget/files
#	wmget/files/patch-Makefile
#	wmget/files/patch-dockapp::Makefile
#	wmget/files/patch-configure.c
#	wmget/pkg-plist
#
echo c - wmget
mkdir -p wmget > /dev/null 2>&1
echo x - wmget/Makefile
sed 's/^X//' >wmget/Makefile << 'END-of-wmget/Makefile'
X# New ports collection makefile for:	wmget
X# Date created:				05.01.2004
X# Whom:					Ulrich Spoerlein <q@uni.de>
X#
X# $FreeBSD$
X
XPORTNAME=3D	wmget
XPORTVERSION=3D	0.5.0
XCATEGORIES=3D	ftp
XMASTER_SITES=3D	http://amtrickey.net/download/
XDISTNAME=3D	${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER=3D	q@uni.de
XCOMMENT=3D	Dock app for Window Maker providing wget functionality
X
XLIB_DEPENDS=3D	curl.2:${PORTSDIR}/ftp/curl
X
XUSE_X_PREFIX=3D	yes
XUSE_GMAKE=3D	yes
XUSE_GETOPT_LONG=3D	yes
XWRKSRC=3D		${WRKDIR}/${PORTNAME}
X
XMAKE_ENV+=3D	${CONFIGURE_ENV}
X
XMAN1=3D		wmget.1
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/wmget ${PREFIX}/bin
X.if !defined(NO_INSTALL_MANPAGES)
X	${INSTALL_MAN} ${WRKSRC}/wmget.1 ${PREFIX}/man/man1
X.endif
X
X.include <bsd.port.mk>
END-of-wmget/Makefile
echo x - wmget/distinfo
sed 's/^X//' >wmget/distinfo << 'END-of-wmget/distinfo'
XMD5 (wmget-0.5.0-src.tar.gz) =3D 7d0b169c5bb51a7ad13325583f674be1
END-of-wmget/distinfo
echo x - wmget/pkg-descr
sed 's/^X//' >wmget/pkg-descr << 'END-of-wmget/pkg-descr'
Xwmget is a dock app for the GNU Window Maker window manager which makes =
it more
Xconvenient to perform long downloads in the background.
X
XThis is useful if you tend to have dozens of windows open at a time and =
tend to
Xdo a lot of routine downloading. Just copy the link from your browser, m=
iddle-
Xclick on the wmget dockapp, and the download will start. No download win=
dows or
Xterminals required, and you can monitor the progress and stop the transf=
er if
Xdesired without opening or raising any windows or even changing desktops=
.
X
XWWW: http://amtrickey.net/wmget/
END-of-wmget/pkg-descr
echo c - wmget/files
mkdir -p wmget/files > /dev/null 2>&1
echo x - wmget/files/patch-Makefile
sed 's/^X//' >wmget/files/patch-Makefile << 'END-of-wmget/files/patch-Mak=
efile'
X--- Makefile.orig	Sun Feb  9 05:04:20 2003
X+++ Makefile	Tue Jan 27 16:34:31 2004
X@@ -46,16 +46,18 @@
X=20
X # To specify a different prefix, you can override this on the command l=
ine
X #	make PREFIX=3D/opt/dockapps install
X-PREFIX=3D		/usr/local
X+X11BASE?=3D	/usr/X11R6
X+PREFIX?=3D	${X11BASE}
X=20
X INSTALLDIR=3D	install -d -m 755
X-INSTALLBIN=3D	install -m 555
X-INSTALLMAN=3D	install -m 444
X-CC=3D		gcc
X-CFLAGS=3D		-ansi -Wall -W -I/usr/X11R6/include -D_GNU_SOURCE
X+INSTALLBIN=3D	$(INSTALL_PROGRAM)
X+INSTALLMAN=3D	$(INSTALL_MAN)
X+CC?=3D		gcc
X+CFLAGS?=3D	-ansi -Wall -W
X+CFLAGS+=3D	-I${X11BASE}/include -I${LOCALBASE}/include -D_GNU_SOURCE
X # The following line is what I use during development
X #CFLAGS:=3D	$(CFLAGS) -Werror -g
X-LDFLAGS=3D	-L/usr/X11R6/lib -lXpm -lXext -lX11 -lm -lcurl
X+LDFLAGS+=3D	-L${X11BASE}/lib -L${LOCALBASE}/lib -lXpm -lXext -lX11 -lm =
-lcurl
X DOCS=3D		wmget.1
X=20
X VERSION:=3D	$(shell grep '\#define WMGET_VERSION ' wmget.h \
X@@ -107,7 +109,7 @@
X ##### LIBRARY #########################################################=
#
X=20
X dockapplib:
X-		make -C $(DALIBDIR)
X+		${MAKE} -C $(DALIBDIR)
X=20
X=20
X=20
X@@ -130,7 +132,7 @@
X 			wmget.html
X 		sed -e '/^# DO NOT/q' < Makefile > Makefile.clean \
X 		&& mv -f Makefile.clean Makefile
X-		make -C dockapp clean
X+		${MAKE} -C dockapp clean
X=20
X docclean:
X 		rm -f $(DOCS)
END-of-wmget/files/patch-Makefile
echo x - wmget/files/patch-dockapp::Makefile
sed 's/^X//' >wmget/files/patch-dockapp::Makefile << 'END-of-wmget/files/=
patch-dockapp::Makefile'
X--- dockapp/Makefile.orig	Sun Feb  9 04:08:07 2003
X+++ dockapp/Makefile	Mon Jan  5 18:11:28 2004
X@@ -19,11 +19,11 @@
X=20
X # Makefile for the dockapp library packaged in the ``wmget'' applicatio=
n.
X=20
X-
X DAOBJS=3D		da_run.o da_x.o da_mouse.o
X=20
X-CFLAGS=3D		-ansi -Wall -W -Werror -g
X-LDFLAGS=3D	-L/usr/X11R6/lib -lXpm -lXext -lX11
X+CFLAGS?=3D		-ansi -Wall -W -Werror -g
X+CFLAGS+=3D	-I${X11BASE}/include
X+LDFLAGS=3D	-L${X11BASE}/lib -lXpm -lXext -lX11
X=20
X dockapp.a:	$(DAOBJS)
X 		ar rcsv dockapp.a $(DAOBJS)
END-of-wmget/files/patch-dockapp::Makefile
echo x - wmget/files/patch-configure.c
sed 's/^X//' >wmget/files/patch-configure.c << 'END-of-wmget/files/patch-=
configure.c'
X--- configure.c.orig	Mon Jan  5 18:16:22 2004
X+++ configure.c	Mon Jan  5 18:16:32 2004
X@@ -30,7 +30,6 @@
X */
X=20
X #include <string.h>
X-#include <malloc.h>
X #include <ctype.h>
X #include <getopt.h>
X #include <stdlib.h>
END-of-wmget/files/patch-configure.c
echo x - wmget/pkg-plist
sed 's/^X//' >wmget/pkg-plist << 'END-of-wmget/pkg-plist'
Xbin/wmget
END-of-wmget/pkg-plist
exit

Ulrich Sp=F6rlein
--=20
PGP Key ID: F0DB9F44				Get it while it's hot!
PGP Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated".	-- Ken Thompson
Comment 2 Kirill Ponomarev freebsd_committer freebsd_triage 2004-01-27 15:59:12 UTC
State Changed
From-To: open->closed

New port added, thanks!