# New ports collection makefile for:	yafc
# Date created:		10 June 1999
# Whom:			Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD: ports/ftp/yafc/Makefile,v 1.32 2005/11/09 16:28:12 vs Exp $
#

PORTNAME=	yafc
PORTVERSION=	1.1
CATEGORIES=	ftp
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Yet another ftp client. Similar to ftp(1)

USE_BZIP2=	yes
USE_GETOPT_LONG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=	--with-socks4=no --with-socks5=no --with-krb4=no \
		--with-krb5=no --with-gssapi=no

PLIST_FILES=	bin/yafc %%EXAMPLESDIR%%/inputrc.sample %%EXAMPLESDIR%%/yafcrc.sample
PLIST_DIRS=	%%EXAMPLESDIR%%
MAN1=		yafc.1
INFO=		yafc

post-install:
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/*.sample ${EXAMPLESDIR}

.include <bsd.port.mk>
