# ex:ts=8
# New ports collection makefile for:	axel
# Date created:			Jul 23, 2001
# Whom:				ijliao
#
# $FreeBSD: ports/ftp/axel/Makefile,v 1.11 2002/04/22 07:05:38 ijliao Exp $
#

PORTNAME=	axel
PORTVERSION=	1.0a
PORTREVISION=	1
CATEGORIES=	ftp
MASTER_SITES=	http://www.lintux.cx/downloads/

MAINTAINER=	lintux@debian.org

LIB_DEPENDS=	intl.2:${PORTSDIR}/devel/gettext

USE_GMAKE=	yes
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${PREFIX}/man --i18n=1

MAN1=		axel.1

post-configure:
	@${PERL} -pi -e 's,-O3,${CFLAGS},; s/gcc/${CC}/; \
		s/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/Makefile.settings

.include <bsd.port.mk>
