summaryrefslogtreecommitdiff
path: root/net/wget
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-02-17 08:07:09 +0000
committerhubertf <hubertf>1998-02-17 08:07:09 +0000
commit9319b167ef0ca056f4b91741126a75cff9136284 (patch)
treef07641e73511b721ce6323a68677b4d556d96d84 /net/wget
parentcae732850ece9f62f8a8f446311bda14b97bc4a8 (diff)
downloadpkgsrc-9319b167ef0ca056f4b91741126a75cff9136284.tar.gz
Retrieve files from the 'net via HTTP and FTP.
Imported from FreeBSD on request by Perry. :)
Diffstat (limited to 'net/wget')
-rw-r--r--net/wget/Makefile24
-rw-r--r--net/wget/files/md51
-rw-r--r--net/wget/patches/patch-aa14
-rw-r--r--net/wget/patches/patch-ab11
-rw-r--r--net/wget/pkg/COMMENT1
-rw-r--r--net/wget/pkg/DESCR9
-rw-r--r--net/wget/pkg/PLIST10
7 files changed, 70 insertions, 0 deletions
diff --git a/net/wget/Makefile b/net/wget/Makefile
new file mode 100644
index 00000000000..55b9ca02fd1
--- /dev/null
+++ b/net/wget/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: wget
+# Version required: 1.4.5
+# Date created: 31 December 1996
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id: Makefile,v 1.1.1.1 1998/02/17 08:07:09 hubertf Exp $
+#
+
+DISTNAME= wget-1.4.5
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GNU}
+
+MAINTAINER= tg@FreeBSD.ORG
+
+GNU_CONFIGURE= yes
+MAN1= wget.1
+
+post-install:
+ if [ ! -f ${PREFIX}/info/dir ]; then \
+ sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+ -install-info ${PREFIX}/info/wget.info ${PREFIX}/info/dir
+
+.include <bsd.port.mk>
diff --git a/net/wget/files/md5 b/net/wget/files/md5
new file mode 100644
index 00000000000..74f5a03420a
--- /dev/null
+++ b/net/wget/files/md5
@@ -0,0 +1 @@
+MD5 (wget-1.4.5.tar.gz) = fcfd51d94bf11ede1a66efa98b5e2f29
diff --git a/net/wget/patches/patch-aa b/net/wget/patches/patch-aa
new file mode 100644
index 00000000000..8fd94f0c1d7
--- /dev/null
+++ b/net/wget/patches/patch-aa
@@ -0,0 +1,14 @@
+--- doc/wget.texi.orig Wed Apr 23 14:13:19 1997
++++ doc/wget.texi Thu May 22 09:26:55 1997
+@@ -6,6 +6,11 @@
+ @setfilename wget.info
+ @settitle Wget Manual
+
++@dircategory Networking tools
++@direntry
++* Wget: (wget.info). A utility for network download.
++@end direntry
++
+ @c Remove this if you don't use A4 paper.
+ @iftex
+ @afourpaper
diff --git a/net/wget/patches/patch-ab b/net/wget/patches/patch-ab
new file mode 100644
index 00000000000..002a972f0e1
--- /dev/null
+++ b/net/wget/patches/patch-ab
@@ -0,0 +1,11 @@
+--- config.h.in.orig Tue Apr 22 13:23:45 1997
++++ config.h.in Sun Aug 31 11:52:08 1997
+@@ -188,7 +188,7 @@
+ char *strtok();
+ char *strdup();
+ #ifdef HAVE_STRPTIME
+-char *strptime();
++const char *strptime();
+ #endif /* HAVE_STRPTIME */
+ void *memcpy();
+ #endif /* STDC_HEADERS */
diff --git a/net/wget/pkg/COMMENT b/net/wget/pkg/COMMENT
new file mode 100644
index 00000000000..92e7c82d881
--- /dev/null
+++ b/net/wget/pkg/COMMENT
@@ -0,0 +1 @@
+Retrieve files from the 'net via HTTP and FTP.
diff --git a/net/wget/pkg/DESCR b/net/wget/pkg/DESCR
new file mode 100644
index 00000000000..8e03bab9d05
--- /dev/null
+++ b/net/wget/pkg/DESCR
@@ -0,0 +1,9 @@
+Wget [formerly known as Geturl] is a freely available network utility
+to retrieve files from the World Wide Web using HTTP and FTP, the two
+most widely used Internet protocols. It works non-interactively, thus
+enabling work in the background, after having logged off.
+
+The recursive retrieval of HTML pages, as well as FTP sites is
+supported -- you can use Wget to make mirrors of archives and home
+pages, or traverse the web like a WWW robot (Wget understands
+/robots.txt).
diff --git a/net/wget/pkg/PLIST b/net/wget/pkg/PLIST
new file mode 100644
index 00000000000..bea1dc8c9b6
--- /dev/null
+++ b/net/wget/pkg/PLIST
@@ -0,0 +1,10 @@
+bin/wget
+etc/wgetrc
+info/wget.info
+info/wget.info-1
+info/wget.info-2
+info/wget.info-3
+@unexec install-info --delete %D/info/wget.info %D/info/dir
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/wget.info %D/info/dir
+man/man1/wget.1.gz