freebsd-ports/ftp/hsftp/Makefile
Pav Lucistnik 198efcb276 - Convert to OPTIONS
PR:		ports/70723
Submitted by:	Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
2004-08-20 22:29:47 +00:00

36 lines
746 B
Makefile

# New ports collection makefile for: hsftp
# Date created: Mon 03 Jul 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= hsftp
PORTVERSION= 1.14
CATEGORIES= ftp
MASTER_SITES= http://la-samhna.de/hsftp/
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= OPENSSH "Build with OpenSSH support" off
.include <bsd.port.pre.mk>
.if defined(WITH_OPENSSH)
RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh
CONFIGURE_ARGS+= --with-openssh
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1
.include <bsd.port.post.mk>