diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-12 18:34:46 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-12 18:34:46 +0800 |
commit | c9a16767f1848302b7ee4bb49ddcbac52d489ad5 (patch) | |
tree | 1aae4ab22bf7a2dda9a06a005fdcfb73e66b5ce5 /ftp/hsftp | |
parent | a5c02e972e35e059aa5e9dc0b268ff605f241fbf (diff) | |
download | freebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.tar.gz freebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.tar.zst freebsd-ports-gnome-c9a16767f1848302b7ee4bb49ddcbac52d489ad5.zip |
Convert to new options framework
Diffstat (limited to 'ftp/hsftp')
-rw-r--r-- | ftp/hsftp/Makefile | 9 |
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> |