openbsd-ports/net/axel/Makefile
ajacoutot 42590dfc4f Import axel-1.0b
Axel does the same thing any other accelerator does: it opens more than
one HTTP/FTP connection per download and each connection transfers its
own, separate, part of the file.
[...]

from Girish Venkatachalam <girish1729 at gmail dot com> with some tweaks
2008-04-01 12:52:00 +00:00

41 lines
887 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/04/01 12:52:00 ajacoutot Exp $
COMMENT= tiny download accelerator
DISTNAME= axel-1.0b
CATEGORIES= net
HOMEPAGE= http://wilmer.gaast.net/main.php/axel.html
MAINTAINER= Girish Venkatachalam <girish1729@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://wilmer.gaast.net/downloads/
WANTLIB= c pthread
MODULES= devel/gettext
USE_GMAKE= Yes
NO_REGRESS= Yes
CONFIGURE_STYLE=simple
CONFIGURE_ARGS= --prefix=${PREFIX} \
--etcdir=${SYSCONFDIR} \
--mandir=${PREFIX}/man \
--i18n=1
MAKE_FLAGS= CC=${CC} \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LFLAGS="-L${LOCALBASE}/lib -pthread -lintl -liconv"
FAKE_FLAGS= ETCDIR=${PREFIX}/share/examples/axel
pre-configure:
@perl -pi -e 's,/etc,${SYSCONFDIR},g' ${WRKSRC}/axel.1
.include <bsd.port.mk>