2000-07-04 05:55:39 +02:00
|
|
|
# New ports collection makefile for: hsftp
|
|
|
|
# Date created: Mon 03 Jul 2000
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= hsftp
|
2004-02-29 18:26:47 +01:00
|
|
|
PORTVERSION= 1.14
|
2000-07-04 05:55:39 +02:00
|
|
|
CATEGORIES= ftp
|
2004-02-29 18:26:47 +01:00
|
|
|
MASTER_SITES= http://la-samhna.de/hsftp/
|
2000-07-04 05:55:39 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:24:13 +01:00
|
|
|
COMMENT= FTP emulator that uses ssh to transport commands/data
|
2000-07-04 05:55:39 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-08-18 15:12:48 +02:00
|
|
|
CONFIGURE_ARGS= --with-readline
|
2000-07-04 05:55:39 +02:00
|
|
|
MAKEFILE= makefile
|
|
|
|
MAN1= hsftp.1
|
2004-02-05 21:38:07 +01:00
|
|
|
PLIST_FILES= bin/hsftp
|
2000-07-04 05:55:39 +02:00
|
|
|
|
2000-11-13 14:58:48 +01:00
|
|
|
.if defined(WITH_OPENSSH)
|
|
|
|
RUN_DEPENDS= ssh:${PORTSDIR}/security/openssh
|
|
|
|
CONFIGURE_ARGS+= --with-openssh
|
|
|
|
.endif
|
|
|
|
|
2003-12-07 16:55:57 +01:00
|
|
|
pre-everything::
|
2000-11-13 14:58:48 +01:00
|
|
|
.if !defined(WITH_OPENSSH)
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "If you would like build hsftp with OpenSSH support"
|
|
|
|
@${ECHO_MSG} "you must set the variable WITH_OPENSSH"
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.else
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "Building hsftp with OpenSSH support"
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
|
2000-08-18 15:12:48 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin
|
2000-11-13 14:58:48 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1
|
2000-08-18 15:12:48 +02:00
|
|
|
|
2000-07-04 05:55:39 +02:00
|
|
|
.include <bsd.port.mk>
|