aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/axelq
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-23 18:05:58 +0800
committerijliao <ijliao@FreeBSD.org>2002-10-23 18:05:58 +0800
commitb2dd2357d6f990a0219076883049639f23a97adf (patch)
tree26abd6158f5244650de0650299e2cfc6cce3e125 /ftp/axelq
parente8c0f8125ebf0eb771538b7aca726550313b48c1 (diff)
downloadfreebsd-ports-gnome-b2dd2357d6f990a0219076883049639f23a97adf.tar.gz
freebsd-ports-gnome-b2dd2357d6f990a0219076883049639f23a97adf.tar.zst
freebsd-ports-gnome-b2dd2357d6f990a0219076883049639f23a97adf.zip
add axelq 0.70
A queue manager for the download accelerator axel
Diffstat (limited to 'ftp/axelq')
-rw-r--r--ftp/axelq/Makefile34
-rw-r--r--ftp/axelq/distinfo1
-rw-r--r--ftp/axelq/files/axelq.rc20
-rw-r--r--ftp/axelq/pkg-comment1
-rw-r--r--ftp/axelq/pkg-descr4
-rw-r--r--ftp/axelq/pkg-plist2
6 files changed, 62 insertions, 0 deletions
diff --git a/ftp/axelq/Makefile b/ftp/axelq/Makefile
new file mode 100644
index 000000000000..88244e970ed8
--- /dev/null
+++ b/ftp/axelq/Makefile
@@ -0,0 +1,34 @@
+# ex:ts=8
+# Ports collection makefile for: axelq
+# Date created: Oct 23, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= axelq
+PORTVERSION= 0.70
+CATEGORIES= ftp
+MASTER_SITES= http://elektron.its.tudelft.nl/~hemmin98/axelq_releases/
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= axel:${PORTSDIR}/ftp/axel \
+ bash:${PORTSDIR}/shells/bash2
+
+USE_REINPLACE= yes
+NO_BUILD= yes
+
+MAN1= axelq.1
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|/bin/sh|${LOCALBASE}/bin/bash|g" ${WRKSRC}/axelq
+ @${CAT} ${FILESDIR}/axelq.rc | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" >> \
+ ${WRKSRC}/axelq.rc
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/axelq ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/axelq.rc ${PREFIX}/etc
+ ${INSTALL_MAN} ${WRKSRC}/axelq.1 ${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/ftp/axelq/distinfo b/ftp/axelq/distinfo
new file mode 100644
index 000000000000..ab1e131b85b7
--- /dev/null
+++ b/ftp/axelq/distinfo
@@ -0,0 +1 @@
+MD5 (axelq-0.70.tar.gz) = 6f17528659c4e7bc168d64f9730c1a93
diff --git a/ftp/axelq/files/axelq.rc b/ftp/axelq/files/axelq.rc
new file mode 100644
index 000000000000..bdc301290345
--- /dev/null
+++ b/ftp/axelq/files/axelq.rc
@@ -0,0 +1,20 @@
+# $etcdir/axelq.rc: system-wide configuration for axelq
+
+# Use command to specify the location (and command-line parameters) of axel,
+# e.g. command=/usr/local/bin/axel
+command=%%PREFIX%%/bin/axel
+
+# failaction specifies what to do when an error occurs. You can specify
+# ask, remove, maintain or move. ask makes axelq ask each time what to do.
+# remove will auto-remove the download and start the next. maintain will
+# retry and move will move the download to the end of the queue. This
+# setting is case-sensitive.
+#
+# NOTE: best is to keep this to its default. maintain will cause axelq to
+# retry until it dies. This is not good, since it will cause unnecessary
+# bandwidth consumption for both you and the server. This is rude.
+# move will act like maintain, if there is only one file in the queue.
+failaction=ask
+
+# qfile lets you specify where to store your queue.
+qfile=~/.axelq
diff --git a/ftp/axelq/pkg-comment b/ftp/axelq/pkg-comment
new file mode 100644
index 000000000000..c3f4332a66a3
--- /dev/null
+++ b/ftp/axelq/pkg-comment
@@ -0,0 +1 @@
+A queue manager for the download accelerator axel
diff --git a/ftp/axelq/pkg-descr b/ftp/axelq/pkg-descr
new file mode 100644
index 000000000000..ed8d10bc995f
--- /dev/null
+++ b/ftp/axelq/pkg-descr
@@ -0,0 +1,4 @@
+axelq is a queue manager for the download accelerator axel. axelq basically
+reads some URLs, caches them and runs axel to download them.
+
+WWW: http://elektron.its.tudelft.nl/~hemmin98/axelq.html
diff --git a/ftp/axelq/pkg-plist b/ftp/axelq/pkg-plist
new file mode 100644
index 000000000000..f990a89380f1
--- /dev/null
+++ b/ftp/axelq/pkg-plist
@@ -0,0 +1,2 @@
+bin/axelq
+etc/axelq.rc