From owner-svn-ports-head@FreeBSD.ORG Sat Jan 19 22:23:07 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ACB0D62E; Sat, 19 Jan 2013 22:23:07 +0000 (UTC) (envelope-from rakuco@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 8691F224; Sat, 19 Jan 2013 22:23:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0JMN7r9012388; Sat, 19 Jan 2013 22:23:07 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0JMN75I012387; Sat, 19 Jan 2013 22:23:07 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201301192223.r0JMN75I012387@svn.freebsd.org> From: Raphael Kubo da Costa Date: Sat, 19 Jan 2013 22:23:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310666 - head/ftp/yafc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2013 22:23:07 -0000 Author: rakuco Date: Sat Jan 19 22:23:06 2013 New Revision: 310666 URL: http://svnweb.freebsd.org/changeset/ports/310666 Log: Only install the bash completion file if the newly-added BASH option is set. No PORTREVISION bump, since BASH is on by default to avoid POLA problems and thus the plist does not change. Modified: head/ftp/yafc/Makefile Modified: head/ftp/yafc/Makefile ============================================================================== --- head/ftp/yafc/Makefile Sat Jan 19 22:14:35 2013 (r310665) +++ head/ftp/yafc/Makefile Sat Jan 19 22:23:06 2013 (r310666) @@ -11,8 +11,8 @@ COMMENT= Yet another ftp client. Similar LICENSE= GPLv2 # (or later) -OPTIONS_DEFINE= NLS SSH EXAMPLES -OPTIONS_DEFAULT=NLS SSH +OPTIONS_DEFINE= BASH EXAMPLES NLS SSH +OPTIONS_DEFAULT=BASH NLS SSH USE_XZ= yes USE_OPENSSL= yes @@ -29,9 +29,7 @@ LDFLAGS+= -L${LOCALBASE}/lib MAN1= yafc.1 INFO= yafc PORTEXAMPLES= inputrc yafcrc -PLIST_FILES= bin/yafc \ - etc/bash_completion.d/yafc -PLIST_DIRSTRY= etc/bash_completion.d +PLIST_FILES= bin/yafc .include @@ -57,6 +55,14 @@ LIB_DEPENDS+= ssh:${PORTSDIR}/security/l CONFIGURE_ARGS+= --without-ssh .endif +.if ${PORT_OPTIONS:MBASH} +CONFIGURE_ARGS+= --with-bash-completion=yes +PLIST_FILES+= etc/bash_completion.d/yafc +PLIST_DIRSTRY= etc/bash_completion.d +.else +CONFIGURE_ARGS+= --with-bash-completion=no +.endif + post-install: .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR}