aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-25 00:15:24 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-25 00:15:24 +0000
commitf8a33d6264c938e5bdf1c8388d87df2f7280f6b5 (patch)
treeba99b2075564431b867259dc372caa728b9883f7 /ftp
parentfe3f510c7988c885def1375adb66e8f5c65dbdc5 (diff)
downloadports-f8a33d6264c938e5bdf1c8388d87df2f7280f6b5.tar.gz
ports-f8a33d6264c938e5bdf1c8388d87df2f7280f6b5.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/axel/Makefile19
-rw-r--r--ftp/axel/distinfo2
-rw-r--r--ftp/axel/files/patch-Makefile.settings11
-rw-r--r--ftp/axel/pkg-descr8
4 files changed, 12 insertions, 28 deletions
diff --git a/ftp/axel/Makefile b/ftp/axel/Makefile
index 3bc420878cab..6d2418a7fe12 100644
--- a/ftp/axel/Makefile
+++ b/ftp/axel/Makefile
@@ -7,25 +7,22 @@
#
PORTNAME= axel
-PORTVERSION= 0.99b
+PORTVERSION= 1.0
CATEGORIES= ftp
MASTER_SITES= http://www.lintux.cx/downloads/
-MAINTAINER= lintux@lintux.cx
+MAINTAINER= lintux@debian.org
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt \
- intl:${PORTSDIR}/devel/gettext
+LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext
USE_GMAKE= yes
-CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-MAKE_ENV= LFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lintl"
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --i18n=1
MAN1= axel.1
-post-patch:
- @${PERL} -pi -e "s,-pthread,${PTHREAD_LIBS},g ; \
- s,^(CFLAGS = -O3),#\1,g ; \
- s,gcc,${CC},g ; \
- s,install -D,${INSTALL_DATA},g" ${WRKSRC}/Makefile
+post-configure:
+ @${PERL} -pi -e 's,-O3,${CFLAGS},; s/gcc/${CC}/; \
+ s/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/Makefile.settings
.include <bsd.port.mk>
diff --git a/ftp/axel/distinfo b/ftp/axel/distinfo
index 78237d17f6d3..7612a37e8d14 100644
--- a/ftp/axel/distinfo
+++ b/ftp/axel/distinfo
@@ -1 +1 @@
-MD5 (axel-0.99b.tar.gz) = c24f930ee200479cabe9dbae2f89e74a
+MD5 (axel-1.0.tar.gz) = 1a8c477939762cac241fc2362b13b07e
diff --git a/ftp/axel/files/patch-Makefile.settings b/ftp/axel/files/patch-Makefile.settings
deleted file mode 100644
index c0de6be56227..000000000000
--- a/ftp/axel/files/patch-Makefile.settings
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.settings.orig Sat Nov 10 13:53:06 2001
-+++ Makefile.settings Sat Nov 10 13:53:30 2001
-@@ -10,7 +10,7 @@
- PREFIX ?= /usr/local
- BINDIR ?= $(PREFIX)/bin
- ETCDIR ?= $(PREFIX)/etc
--MANDIR ?= $(PREFIX)/share/man
-+MANDIR ?= $(PREFIX)/man
- LOCALE ?= $(PREFIX)/share/locale
-
- # NOTE: Disabling an option means commenting out the specific line. Changing
diff --git a/ftp/axel/pkg-descr b/ftp/axel/pkg-descr
index 165653f9a537..ef430a304552 100644
--- a/ftp/axel/pkg-descr
+++ b/ftp/axel/pkg-descr
@@ -1,7 +1,5 @@
-Axel is, as the title says already, a download accelerator. I know, Axel's
-not the first program which does things like this, but it does a nice job,
-just like any other program. The difference between Axel and most other
-programs is that it does segmented downloading, but all the data is written
-to the final destination file immediately.
+Axel tries to accelerate downloads by opening more than one connection to a
+server (possibly to different servers). Because of its size it might also
+be useful as a wget replacement on bootdisks and other small systems.
WWW: http://www.lintux.cx/axel.html