Date: Sat, 8 Feb 2014 14:31:12 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343338 - head/ftp/hsftp Message-ID: <201402081431.s18EVC8e021692@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Sat Feb 8 14:31:11 2014 New Revision: 343338 URL: http://svnweb.freebsd.org/changeset/ports/343338 QAT: https://qat.redports.org/buildarchive/r343338/ Log: - Use options helpers - Add stage support Modified: head/ftp/hsftp/Makefile Modified: head/ftp/hsftp/Makefile ============================================================================== --- head/ftp/hsftp/Makefile Sat Feb 8 14:28:05 2014 (r343337) +++ head/ftp/hsftp/Makefile Sat Feb 8 14:31:11 2014 (r343338) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402081431.s18EVC8e021692>