aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wmget
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-27 23:58:52 +0800
committerkrion <krion@FreeBSD.org>2004-01-27 23:58:52 +0800
commit6df3313788fbf19eb2a6ab6ce07eb624d62264e4 (patch)
treef6edd483c95106e0fff791dff9e4e4f3b9954237 /ftp/wmget
parent6e765d4793e796bcedd1fc9239ff4f72271e6891 (diff)
downloadfreebsd-ports-gnome-6df3313788fbf19eb2a6ab6ce07eb624d62264e4.tar.gz
freebsd-ports-gnome-6df3313788fbf19eb2a6ab6ce07eb624d62264e4.tar.zst
freebsd-ports-gnome-6df3313788fbf19eb2a6ab6ce07eb624d62264e4.zip
Add wmget 0.5.0,
wmget is a dock app for the GNU Window Maker window manager which makes it more convenient to perform long downloads in the background. PR: ports/61736 Submitted by: Ulrich Spoerlein <q@uni.de>
Diffstat (limited to 'ftp/wmget')
-rw-r--r--ftp/wmget/Makefile33
-rw-r--r--ftp/wmget/distinfo1
-rw-r--r--ftp/wmget/files/patch-Makefile45
-rw-r--r--ftp/wmget/files/patch-configure.c10
-rw-r--r--ftp/wmget/files/patch-dockapp::Makefile17
-rw-r--r--ftp/wmget/pkg-descr10
-rw-r--r--ftp/wmget/pkg-plist1
7 files changed, 117 insertions, 0 deletions
diff --git a/ftp/wmget/Makefile b/ftp/wmget/Makefile
new file mode 100644
index 000000000000..29a30a55251f
--- /dev/null
+++ b/ftp/wmget/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: wmget
+# Date created: 05.01.2004
+# Whom: Ulrich Spoerlein <q@uni.de>
+#
+# $FreeBSD$
+
+PORTNAME= wmget
+PORTVERSION= 0.5.0
+CATEGORIES= ftp
+MASTER_SITES= http://amtrickey.net/download/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= q@uni.de
+COMMENT= Dock app for Window Maker providing wget functionality
+
+LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GETOPT_LONG= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+MAKE_ENV+= ${CONFIGURE_ENV}
+
+MAN1= wmget.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmget ${PREFIX}/bin
+.if !defined(NO_INSTALL_MANPAGES)
+ ${INSTALL_MAN} ${WRKSRC}/wmget.1 ${PREFIX}/man/man1
+.endif
+
+.include <bsd.port.mk>
diff --git a/ftp/wmget/distinfo b/ftp/wmget/distinfo
new file mode 100644
index 000000000000..8148188af1a6
--- /dev/null
+++ b/ftp/wmget/distinfo
@@ -0,0 +1 @@
+MD5 (wmget-0.5.0-src.tar.gz) = 7d0b169c5bb51a7ad13325583f674be1
diff --git a/ftp/wmget/files/patch-Makefile b/ftp/wmget/files/patch-Makefile
new file mode 100644
index 000000000000..5b32b5290c7c
--- /dev/null
+++ b/ftp/wmget/files/patch-Makefile
@@ -0,0 +1,45 @@
+--- Makefile.orig Sun Feb 9 05:04:20 2003
++++ Makefile Tue Jan 27 16:34:31 2004
+@@ -46,16 +46,18 @@
+
+ # To specify a different prefix, you can override this on the command line
+ # make PREFIX=/opt/dockapps install
+-PREFIX= /usr/local
++X11BASE?= /usr/X11R6
++PREFIX?= ${X11BASE}
+
+ INSTALLDIR= install -d -m 755
+-INSTALLBIN= install -m 555
+-INSTALLMAN= install -m 444
+-CC= gcc
+-CFLAGS= -ansi -Wall -W -I/usr/X11R6/include -D_GNU_SOURCE
++INSTALLBIN= $(INSTALL_PROGRAM)
++INSTALLMAN= $(INSTALL_MAN)
++CC?= gcc
++CFLAGS?= -ansi -Wall -W
++CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include -D_GNU_SOURCE
+ # The following line is what I use during development
+ #CFLAGS:= $(CFLAGS) -Werror -g
+-LDFLAGS= -L/usr/X11R6/lib -lXpm -lXext -lX11 -lm -lcurl
++LDFLAGS+= -L${X11BASE}/lib -L${LOCALBASE}/lib -lXpm -lXext -lX11 -lm -lcurl
+ DOCS= wmget.1
+
+ VERSION:= $(shell grep '\#define WMGET_VERSION ' wmget.h \
+@@ -107,7 +109,7 @@
+ ##### LIBRARY ##########################################################
+
+ dockapplib:
+- make -C $(DALIBDIR)
++ ${MAKE} -C $(DALIBDIR)
+
+
+
+@@ -130,7 +132,7 @@
+ wmget.html
+ sed -e '/^# DO NOT/q' < Makefile > Makefile.clean \
+ && mv -f Makefile.clean Makefile
+- make -C dockapp clean
++ ${MAKE} -C dockapp clean
+
+ docclean:
+ rm -f $(DOCS)
diff --git a/ftp/wmget/files/patch-configure.c b/ftp/wmget/files/patch-configure.c
new file mode 100644
index 000000000000..843c35d64603
--- /dev/null
+++ b/ftp/wmget/files/patch-configure.c
@@ -0,0 +1,10 @@
+--- configure.c.orig Mon Jan 5 18:16:22 2004
++++ configure.c Mon Jan 5 18:16:32 2004
+@@ -30,7 +30,6 @@
+ */
+
+ #include <string.h>
+-#include <malloc.h>
+ #include <ctype.h>
+ #include <getopt.h>
+ #include <stdlib.h>
diff --git a/ftp/wmget/files/patch-dockapp::Makefile b/ftp/wmget/files/patch-dockapp::Makefile
new file mode 100644
index 000000000000..e047a61e533b
--- /dev/null
+++ b/ftp/wmget/files/patch-dockapp::Makefile
@@ -0,0 +1,17 @@
+--- dockapp/Makefile.orig Sun Feb 9 04:08:07 2003
++++ dockapp/Makefile Mon Jan 5 18:11:28 2004
+@@ -19,11 +19,11 @@
+
+ # Makefile for the dockapp library packaged in the ``wmget'' application.
+
+-
+ DAOBJS= da_run.o da_x.o da_mouse.o
+
+-CFLAGS= -ansi -Wall -W -Werror -g
+-LDFLAGS= -L/usr/X11R6/lib -lXpm -lXext -lX11
++CFLAGS?= -ansi -Wall -W -Werror -g
++CFLAGS+= -I${X11BASE}/include
++LDFLAGS= -L${X11BASE}/lib -lXpm -lXext -lX11
+
+ dockapp.a: $(DAOBJS)
+ ar rcsv dockapp.a $(DAOBJS)
diff --git a/ftp/wmget/pkg-descr b/ftp/wmget/pkg-descr
new file mode 100644
index 000000000000..db0922098304
--- /dev/null
+++ b/ftp/wmget/pkg-descr
@@ -0,0 +1,10 @@
+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/
diff --git a/ftp/wmget/pkg-plist b/ftp/wmget/pkg-plist
new file mode 100644
index 000000000000..79a5efe4884c
--- /dev/null
+++ b/ftp/wmget/pkg-plist
@@ -0,0 +1 @@
+bin/wmget