aboutsummaryrefslogtreecommitdiff
path: root/ftp/hsftp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 10:34:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 10:34:46 +0000
commitf3381fa548d3edd4687bf4cf975577eeb10d68b7 (patch)
treea607b9b0948608d5c47edc8a47b7a82c47b30717 /ftp/hsftp
parent67375d16b1d5928bed929dcddfd6dcf003678869 (diff)
downloadports-f3381fa548d3edd4687bf4cf975577eeb10d68b7.tar.gz
ports-f3381fa548d3edd4687bf4cf975577eeb10d68b7.zip
Notes
Diffstat (limited to 'ftp/hsftp')
-rw-r--r--ftp/hsftp/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/ftp/hsftp/Makefile b/ftp/hsftp/Makefile
index 7134ae78df24..c3a0fb6bb3cb 100644
--- a/ftp/hsftp/Makefile
+++ b/ftp/hsftp/Makefile
@@ -21,11 +21,12 @@ MAKEFILE= makefile
MAN1= hsftp.1
PLIST_FILES= bin/hsftp
-OPTIONS= OPENSSH "Build with OpenSSH support" off
+OPTIONS_DEFINE= OPENSSH
+OPENSSH_DESC= Build with OpenSSH support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_OPENSSH)
+.if ${PORT_OPTIONS:MOPENSSH}
RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh
CONFIGURE_ARGS+= --with-openssh
.endif
@@ -37,4 +38,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>