aboutsummaryrefslogtreecommitdiff
path: root/ftp/hsftp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:29:47 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:29:47 +0000
commit198efcb27680baa8e870d36fdcc6f7d91fecf98e (patch)
treea7f58e53efc51c7949c8f216b487cb43c6c00c03 /ftp/hsftp
parente4df15d64b051fde7822d1b85508afcd9d6bd313 (diff)
downloadports-198efcb27680baa8e870d36fdcc6f7d91fecf98e.tar.gz
ports-198efcb27680baa8e870d36fdcc6f7d91fecf98e.zip
Notes
Diffstat (limited to 'ftp/hsftp')
-rw-r--r--ftp/hsftp/Makefile20
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>