From owner-svn-ports-all@FreeBSD.ORG Sat Feb 8 14:31:12 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77BF434A; Sat, 8 Feb 2014 14:31:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6365D1124; Sat, 8 Feb 2014 14:31:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s18EVCHP021693; Sat, 8 Feb 2014 14:31:12 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s18EVC8e021692; Sat, 8 Feb 2014 14:31:12 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201402081431.s18EVC8e021692@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sat, 8 Feb 2014 14:31:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343338 - head/ftp/hsftp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 14:31:12 -0000 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 +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