aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/hsftp/Makefile
blob: c3a0fb6bb3cb42a788925209850f874ba8c5079d (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
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    hsftp
# Date created:             Mon 03 Jul 2000
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   hsftp
PORTVERSION=    1.15
PORTREVISION=   1
CATEGORIES= ftp
MASTER_SITES=   http://la-samhna.de/hsftp/ \
        http://www.alaskaparadise.com/freebsd/

MAINTAINER= ports@FreeBSD.org
COMMENT=    FTP emulator that uses ssh to transport commands/data

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-readline
MAKEFILE=   makefile
MAN1=       hsftp.1
PLIST_FILES=    bin/hsftp

OPTIONS_DEFINE= OPENSSH
OPENSSH_DESC=   Build with OpenSSH support

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MOPENSSH}
RUN_DEPENDS+=   ssh:${PORTSDIR}/security/openssh
CONFIGURE_ARGS+=    --with-openssh
.endif

pre-patch:
    ${REINPLACE_CMD} -e '2343d' ${WRKSRC}/configure

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>