From owner-svn-ports-all@FreeBSD.ORG Fri Dec 14 02:31:56 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6AD12FD3; Fri, 14 Dec 2012 02:31:56 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4EA318FC08; Fri, 14 Dec 2012 02:31:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBE2VuWX064911; Fri, 14 Dec 2012 02:31:56 GMT (envelope-from araujo@svn.freebsd.org) Received: (from araujo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBE2VuC4064910; Fri, 14 Dec 2012 02:31:56 GMT (envelope-from araujo@svn.freebsd.org) Message-Id: <201212140231.qBE2VuC4064910@svn.freebsd.org> From: Marcelo Araujo Date: Fri, 14 Dec 2012 02:31:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308875 - 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.14 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: Fri, 14 Dec 2012 02:31:56 -0000 Author: araujo Date: Fri Dec 14 02:31:55 2012 New Revision: 308875 URL: http://svnweb.freebsd.org/changeset/ports/308875 Log: - Support USE_READLINE. - Add LICENSE. - Add MAKE_JOBS_SAFE. - Trim header. - Convert to new option framework. PR: ports/171998 Submitted by: KATO Tsuguru Modified: head/ftp/hsftp/Makefile (contents, props changed) Modified: head/ftp/hsftp/Makefile ============================================================================== --- head/ftp/hsftp/Makefile Fri Dec 14 00:41:42 2012 (r308874) +++ head/ftp/hsftp/Makefile Fri Dec 14 02:31:55 2012 (r308875) @@ -1,9 +1,5 @@ -# New ports collection makefile for: hsftp -# Date created: Mon 03 Jul 2000 -# Whom: will -# +# Created by: will # $FreeBSD$ -# PORTNAME= hsftp PORTVERSION= 1.15 @@ -15,22 +11,32 @@ MASTER_SITES= http://la-samhna.de/hsftp/ MAINTAINER= ports@FreeBSD.org COMMENT= FTP emulator that uses ssh to transport commands/data +LICENSE= GPLv2 + +OPTIONS_DEFINE= OPENSSH READLINE +OPTIONS_DEFAULT=READLINE +OPENSSH_DESC= Build with OpenSSH support +READLINE_DESC= Enable readline support + GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-readline MAKEFILE= makefile +MAKE_JOBS_SAFE= yes + MAN1= hsftp.1 PLIST_FILES= bin/hsftp -OPTIONS_DEFINE= OPENSSH -OPENSSH_DESC= Build with OpenSSH support - .include .if ${PORT_OPTIONS:MOPENSSH} -RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh +RUN_DEPENDS+= ssh:${PORTSDIR}/security/openssh-portable CONFIGURE_ARGS+= --with-openssh .endif +.if ${PORT_OPTIONS:MREADLINE} +USE_READLINE= yes +CONFIGURE_ARGS+= --with-readline +.endif + pre-patch: ${REINPLACE_CMD} -e '2343d' ${WRKSRC}/configure