# $OpenBSD: Makefile,v 1.35 2006/09/19 14:27:32 naddy Exp $

COMMENT=	"ftp replacement with advanced user interface"

DISTNAME=	ncftp-3.2.0
CATEGORIES=	net
HOMEPAGE=	http://www.ncftp.com/ncftp/

MAINTAINER=	Christian Weisgerber <naddy@openbsd.org>

# GPL
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_DISTFILES_FTP=	Yes
WANTLIB=		c ncurses

MASTER_SITES=	ftp://ftp.ncftp.com/ncftp/ \
		ftp://ftp.belnet.be/mirror/ftp.ncftp.com/ncftp/
MASTER_SITES0=	ftp://ftp.kame.net/pub/kame/misc/ \
		ftp://ftp.belnet.be/mirror/ftp.kame.net/pub/kame/misc/
DISTFILES=	${DISTNAME}-src.tar.gz

PATCHFILES=	ncftp-320-v6-20060806.diff.gz:0
PATCH_DIST_STRIP=-p1

CONFIGURE_STYLE=gnu
CONFIGURE_ENV=	TAR=/bin/tar
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/sh

NO_REGRESS=	Yes

.include <bsd.port.mk>
