Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 18:01:13 -0700 (PDT)
From:      cpiazza@home.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11124: 
Message-ID:  <19990414010113.4E266169B@norn.ca.eu.org>

next in thread | raw e-mail | index | archive | help

>Number:         11124
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 18:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris Piazza
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
n/a 
>Environment:

4.0-CURRENT post-egcs

>Description:

Get and Resume Elite EDition.
A fetch(1) like program that includes resume support.
cflags/prefix: 'course
portlint: nothing

>How-To-Repeat:
>Fix:
	
# 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:
#
#	greed
#	greed/Makefile
#	greed/files
#	greed/files/md5
#	greed/pkg
#	greed/pkg/COMMENT
#	greed/pkg/DESCR
#	greed/pkg/PLIST
#	greed/patches
#	greed/patches/patch-aa
#	greed/patches/patch-ab
#	greed/patches/patch-ac
#
echo c - greed
mkdir -p greed > /dev/null 2>&1
echo x - greed/Makefile
sed 's/^X//' >greed/Makefile << 'END-of-greed/Makefile'
X# New ports collection makefile for: 	greed
X# Version required:	0.652
X# Date created:		13 April 1999
X# Whom:			Chris Piazza <cpiazza@home.net>
X#
X# $Id$
X#
X
XDISTNAME=     	greed
XPKGNAME=	greed-0.652
XCATEGORIES=	net
XMASTER_SITES=	http://www.public.asu.edu/~arturner/
X
XMAINTAINER=	cpiazza@home.net
X
XMAN1=	greed.1
X
XALL_TARGET=	freebsd
X
Xpre-install:
X	@${GUNZIP_CMD} ${WRKSRC}/greed.1.gz
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/greed ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/greed.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-greed/Makefile
echo c - greed/files
mkdir -p greed/files > /dev/null 2>&1
echo x - greed/files/md5
sed 's/^X//' >greed/files/md5 << 'END-of-greed/files/md5'
XMD5 (greed.tar.gz) = a1d45e3654cbc08c725305f54752b08f
END-of-greed/files/md5
echo c - greed/pkg
mkdir -p greed/pkg > /dev/null 2>&1
echo x - greed/pkg/COMMENT
sed 's/^X//' >greed/pkg/COMMENT << 'END-of-greed/pkg/COMMENT'
XA utility for downloading files with resume capabilities.
END-of-greed/pkg/COMMENT
echo x - greed/pkg/DESCR
sed 's/^X//' >greed/pkg/DESCR << 'END-of-greed/pkg/DESCR'
XGet and Resume Elite EDition.  A utility to download files from http and
Xftp from the console with the ability to resume downloads.
X
XWebsite:
Xhttp://www.public.asu.edu/~arturner/index.html
XAuthor:
XAnoakie Turner <Anoakie.Turner@asu.edu>
X
X-Chris Piazza
Xcpiazza@home.net
END-of-greed/pkg/DESCR
echo x - greed/pkg/PLIST
sed 's/^X//' >greed/pkg/PLIST << 'END-of-greed/pkg/PLIST'
Xbin/greed
END-of-greed/pkg/PLIST
echo c - greed/patches
mkdir -p greed/patches > /dev/null 2>&1
echo x - greed/patches/patch-aa
sed 's/^X//' >greed/patches/patch-aa << 'END-of-greed/patches/patch-aa'
X--- Makefile.orig	Sat Apr 10 03:11:33 1999
X+++ Makefile	Tue Apr 13 17:38:53 1999
X@@ -4,10 +4,10 @@
X 
X # Where to install binary and manpage on "make install":
X 
X-PREFIX=/usr/local
X BINDIR=$(PREFIX)/bin
X MANDIR=$(PREFIX)/man
X SECTION=1
X+FLAGS=${CFLAGS}
X 
X ###################################################
X ######                                       ######
X@@ -52,11 +52,11 @@
X #CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2'
X 
X freebsd:
X-	$(MAKE) CC=cc LDFLAGS= \
X+	$(MAKE) LDFLAGS= \
X 		OBJECTS= \
X-		CFLAGS='-Wall -ansi -pedantic -O4 -m486 -fomit-frame-pointer \
X-			-funroll-all-loops -ffast-math -DROT_I386 \
X-			-DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP' \
X+		CFLAGS='-fomit-frame-pointer \
X+			-funroll-all-loops -ffast-math \
X+			-DREAL_IS_FLOAT -DUSE_MMAP ${FLAGS}' \
X 		greed
X 
X solaris:
END-of-greed/patches/patch-aa
echo x - greed/patches/patch-ab
sed 's/^X//' >greed/patches/patch-ab << 'END-of-greed/patches/patch-ab'
X--- main.c.orig	Tue Apr 13 17:21:51 1999
X+++ main.c	Tue Apr 13 17:23:10 1999
X@@ -63,6 +63,9 @@
X 	TIMEOUT_SEC = 300;
X 	MINSPEED = 0;
X 	REFERRER = 1;
X+#ifdef __FreeBSD__
X+	fpsetmask(0);
X+#endif
X 
X 	for (i = 1; i < argc; i ++)
X 		Switches(i, argv);
END-of-greed/patches/patch-ab
echo x - greed/patches/patch-ac
sed 's/^X//' >greed/patches/patch-ac << 'END-of-greed/patches/patch-ac'
X--- main.h.orig	Tue Apr 13 17:21:40 1999
X+++ main.h	Tue Apr 13 17:22:07 1999
X@@ -47,7 +47,9 @@
X #include <string.h>
X #include <stdlib.h>
X #include <sys/time.h>
X-
X+#ifdef __FreeBSD__
X+#include <floatingpoint.h>
X+#endif
X 
X #define HTTP 1
X #define FTP 2
END-of-greed/patches/patch-ac
exit

-Chris

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990414010113.4E266169B>