summaryrefslogtreecommitdiff
path: root/net/aget
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-18 02:00:34 +0000
committerminskim <minskim>2004-02-18 02:00:34 +0000
commit1c7b3fe8ba1c7ce07fb0fe56dc4c213647f8fd56 (patch)
tree72f077d515e1d88c349003782eae229be5b55793 /net/aget
parent07bfde64d4bf4bc5748bac64118d2a0bbe001807 (diff)
downloadpkgsrc-1c7b3fe8ba1c7ce07fb0fe56dc4c213647f8fd56.tar.gz
Import aget from pkgsrc-wip. Packaged by Earl Gay, improved by
Roland Illig to support Solaris, and modified by me. Aget is a multithreaded HTTP download accelerator. It aims to imitate Flashget for Win32. Aget is an acronym for two Turkish words "Acele Getir," meaning "Get it fast."
Diffstat (limited to 'net/aget')
-rw-r--r--net/aget/DESCR3
-rw-r--r--net/aget/Makefile42
-rw-r--r--net/aget/PLIST2
-rw-r--r--net/aget/distinfo4
4 files changed, 51 insertions, 0 deletions
diff --git a/net/aget/DESCR b/net/aget/DESCR
new file mode 100644
index 00000000000..34f06386790
--- /dev/null
+++ b/net/aget/DESCR
@@ -0,0 +1,3 @@
+Aget is a multithreaded HTTP download accelerator. It aims to imitate
+Flashget for Win32. Aget is an acronym for two Turkish words "Acele
+Getir," meaning "Get it fast."
diff --git a/net/aget/Makefile b/net/aget/Makefile
new file mode 100644
index 00000000000..90c2628e619
--- /dev/null
+++ b/net/aget/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/18 02:00:34 minskim Exp $
+#
+
+DISTNAME= aget-0.4
+CATEGORIES= net
+MASTER_SITES= http://www.enderunix.org/aget/
+
+MAINTAINER= eeg@e3labs.ath.cx
+HOMEPAGE= http://www.enderunix.org/aget/
+COMMENT= Multithreaded HTTP download accelerator
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
+NO_CONFIGURE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+SUBST_CLASSES+= options
+SUBST_MESSAGE.options= "Fixing build options."
+SUBST_STAGE.options= post-patch
+SUBST_FILES.options= Makefile Makefile.Solaris
+SUBST_SED.options= -e 's,CFLAGS =,\#CFLAGS =,' \
+ -e 's,LDFLAGS =,\#LDFLAGS =,' \
+ -e 's,CC =,\#CC =,' \
+
+PTHREAD_OPTS+= require
+CFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LDFLAGS}
+
+.if ${OPSYS} == "SunOS"
+CFLAGS+= -DSOLARIS
+LDFLAGS+= -lsocket -lnsl -lresolv
+.endif
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/aget ${PREFIX}/bin/aget
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/aget/PLIST b/net/aget/PLIST
new file mode 100644
index 00000000000..31f243882e0
--- /dev/null
+++ b/net/aget/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/18 02:00:34 minskim Exp $
+bin/aget
diff --git a/net/aget/distinfo b/net/aget/distinfo
new file mode 100644
index 00000000000..31a8f950d7b
--- /dev/null
+++ b/net/aget/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/18 02:00:34 minskim Exp $
+
+SHA1 (aget-0.4.tar.gz) = acd428c919c105401f4b1c19a082c71f470fe9af
+Size (aget-0.4.tar.gz) = 11152 bytes