diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 22:29:47 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 22:29:47 +0000 |
commit | 198efcb27680baa8e870d36fdcc6f7d91fecf98e (patch) | |
tree | a7f58e53efc51c7949c8f216b487cb43c6c00c03 /ftp/hsftp | |
parent | e4df15d64b051fde7822d1b85508afcd9d6bd313 (diff) | |
download | ports-198efcb27680baa8e870d36fdcc6f7d91fecf98e.tar.gz ports-198efcb27680baa8e870d36fdcc6f7d91fecf98e.zip |
Notes
Diffstat (limited to 'ftp/hsftp')
-rw-r--r-- | ftp/hsftp/Makefile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/ftp/hsftp/Makefile b/ftp/hsftp/Makefile index ff64c74ad2cb..58d13b597650 100644 --- a/ftp/hsftp/Makefile +++ b/ftp/hsftp/Makefile @@ -19,25 +19,17 @@ 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 +RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh CONFIGURE_ARGS+= --with-openssh .endif -pre-everything:: -.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 - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |