2000-07-03 23:55:39 -04:00
|
|
|
# New ports collection makefile for: hsftp
|
|
|
|
# Date created: Mon 03 Jul 2000
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= hsftp
|
2000-11-21 11:30:13 -05:00
|
|
|
PORTVERSION= 1.11
|
2000-07-03 23:55:39 -04:00
|
|
|
CATEGORIES= ftp
|
2000-11-13 08:58:48 -05:00
|
|
|
MASTER_SITES= http://la-samhna.de/hsftp/ \
|
|
|
|
${MASTER_SITE_SUNSITE}
|
2000-07-03 23:55:39 -04:00
|
|
|
MASTER_SITE_SUBDIR= system/network/file-transfer
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-08-18 09:12:48 -04:00
|
|
|
CONFIGURE_ARGS= --with-readline
|
2000-07-03 23:55:39 -04:00
|
|
|
MAKEFILE= makefile
|
|
|
|
MAN1= hsftp.1
|
|
|
|
|
2000-11-13 08:58:48 -05:00
|
|
|
.if defined(WITH_OPENSSH)
|
|
|
|
RUN_DEPENDS= ssh:${PORTSDIR}/security/openssh
|
|
|
|
CONFIGURE_ARGS+= --with-openssh
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.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 09:12:48 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin
|
2000-11-13 08:58:48 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1
|
2000-08-18 09:12:48 -04:00
|
|
|
|
2000-07-03 23:55:39 -04:00
|
|
|
.include <bsd.port.mk>
|