summaryrefslogtreecommitdiff
path: root/ftp/ncftp2/Makefile
blob: cf4ef12c2e960768848bef0a44df416487ade16c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    ncftp2
# Date created:         4 Nov 1994
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=	ncftp
PORTVERSION=	2.4.3
CATEGORIES=	ftp
MASTER_SITES=	ftp://ftp.ncftp.com/ncftp/

MAINTAINER=	ports@FreeBSD.org

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	ac_cv_func_getmaxyx=yes ac_cv_lib_readline=yes
MAN1=		ncftp2.1

.if defined(WITH_SOCKS)
BUILD_DEPENDS=	${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
CONFIGURE_ARGS+=   --enable-socks5
.endif

do-install:
	$(INSTALL_PROGRAM) $(WRKSRC)/ncftp $(PREFIX)/bin/ncftp2
	$(INSTALL_MAN) $(WRKSRC)/ncftp.1 $(PREFIX)/man/man1/ncftp2.1

.include <bsd.port.mk>