Date: Sat, 19 Jan 2013 22:23:07 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310666 - head/ftp/yafc Message-ID: <201301192223.r0JMN75I012387@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301192223.r0JMN75I012387>