diff options
author | danilo <danilo@FreeBSD.org> | 2014-02-08 22:31:11 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2014-02-08 22:31:11 +0800 |
commit | aa8d09d3a196a986d2c2fdf608622fe56b175a31 (patch) | |
tree | 49d128320a4cd9c8d0d530f43c4df49d6c055ccb /ftp | |
parent | 146536e069ffa9c9914359040c13a510353569d2 (diff) | |
download | freebsd-ports-gnome-aa8d09d3a196a986d2c2fdf608622fe56b175a31.tar.gz freebsd-ports-gnome-aa8d09d3a196a986d2c2fdf608622fe56b175a31.tar.zst freebsd-ports-gnome-aa8d09d3a196a986d2c2fdf608622fe56b175a31.zip |
- Use options helpers
- Add stage support
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/hsftp/Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/ftp/hsftp/Makefile b/ftp/hsftp/Makefile index 41d7cd591708..2835b26ee72a 100644 --- a/ftp/hsftp/Makefile +++ b/ftp/hsftp/Makefile @@ -21,27 +21,19 @@ READLINE_DESC= Enable readline support GNU_CONFIGURE= yes MAKEFILE= makefile -MAN1= hsftp.1 -PLIST_FILES= bin/hsftp +PLIST_FILES= bin/hsftp man/man1/hsftp.1.gz -NO_STAGE= yes -.include <bsd.port.options.mk> +OPENSSH_RUN_DEPENDS= ssh:${PORTSDIR}/security/openssh-portable +OPENSSH_CONFIGURE_WITH= openssh -.if ${PORT_OPTIONS:MOPENSSH} -RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh-portable -CONFIGURE_ARGS+= --with-openssh -.endif - -.if ${PORT_OPTIONS:MREADLINE} -USES+= readline -CONFIGURE_ARGS+= --with-readline -.endif +READLINE_USES= readline +READLINE_CONFIGURE_WITH= readline pre-patch: ${REINPLACE_CMD} -e '2343d' ${WRKSRC}/configure do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/hsftp ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/hsftp.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> |