From owner-svn-ports-all@freebsd.org Tue Jun 5 19:06:08 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5454FF2A2A; Tue, 5 Jun 2018 19:06:07 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 925DF6C595; Tue, 5 Jun 2018 19:06:07 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 72A56206C2; Tue, 5 Jun 2018 19:06:07 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w55J67od048167; Tue, 5 Jun 2018 19:06:07 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w55J66wu048163; Tue, 5 Jun 2018 19:06:06 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201806051906.w55J66wu048163@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 5 Jun 2018 19:06:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471801 - head/shells/bash-completion X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/shells/bash-completion X-SVN-Commit-Revision: 471801 X-SVN-Commit-Repository: ports 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.26 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: Tue, 05 Jun 2018 19:06:08 -0000 Author: sunpoet Date: Tue Jun 5 19:06:06 2018 New Revision: 471801 URL: https://svnweb.freebsd.org/changeset/ports/471801 Log: Add FREEBSD option (enabled by default) - Update pkg-descr - Bump PORTREVISION for package change FreeBSD-specific bash completions are provided by 0mp@. Modified: head/shells/bash-completion/Makefile head/shells/bash-completion/distinfo head/shells/bash-completion/pkg-descr head/shells/bash-completion/pkg-plist Modified: head/shells/bash-completion/Makefile ============================================================================== --- head/shells/bash-completion/Makefile Tue Jun 5 19:01:08 2018 (r471800) +++ head/shells/bash-completion/Makefile Tue Jun 5 19:06:06 2018 (r471801) @@ -3,6 +3,7 @@ PORTNAME= bash-completion PORTVERSION= 2.8 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= shells @@ -10,21 +11,21 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Programmable completion library for Bash LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv6= fails to build: gmake: install-recursive: Error 1 BROKEN_armv7= fails to build: gmake: install-recursive: Error 1 PORTSCOUT= limit:^[0-9\.]*$$ -OPTIONS_DEFINE= CMAKE_MODULES DOCS +OPTIONS_DEFINE= CMAKE_MODULES DOCS FREEBSD OPTIONS_SINGLE= BASH OPTIONS_SINGLE_BASH= BASH_SHARED BASH_STATIC -OPTIONS_DEFAULT=BASH_SHARED CMAKE_MODULES +OPTIONS_DEFAULT=BASH_SHARED CMAKE_MODULES FREEBSD OPTIONS_SUB= yes BASH_SHARED_DESC= Use shells/bash as backend BASH_STATIC_DESC= Use shells/bash-static as backend CMAKE_MODULES_DESC= Install bash-completion modules for cmake +FREEBSD_DESC= Install completion functions for FreeBSD programs NO_ARCH= yes GNU_CONFIGURE= yes @@ -38,6 +39,12 @@ USE_GITHUB= yes BASH_SHARED_RUN_DEPENDS=bash:shells/bash BASH_STATIC_RUN_DEPENDS=bash:shells/bash-static +FREEBSD_GH_TUPLE= 0mp:bash-completion-freebsd:1.0.2:freebsd/freebsd +FREEBSD_VARS= LICENSE="BSD2CLAUSE GPLv2+" \ + LICENSE_COMB=multi \ + LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/freebsd/LICENSE \ + LICENSE_FILE_GPLv2+=${WRKSRC}/COPYING +FREEBSD_VARS_OFF= LICENSE_FILE=${WRKSRC}/COPYING post-patch: @${REINPLACE_CMD} \ @@ -59,5 +66,8 @@ post-configure: post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README.md doc/bash_completion.txt doc/bashrc doc/inputrc ${STAGEDIR}${DOCSDIR}/ + +post-install-FREEBSD-on: + cd ${WRKSRC}/freebsd/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} .include Modified: head/shells/bash-completion/distinfo ============================================================================== --- head/shells/bash-completion/distinfo Tue Jun 5 19:01:08 2018 (r471800) +++ head/shells/bash-completion/distinfo Tue Jun 5 19:06:06 2018 (r471801) @@ -1,3 +1,5 @@ -TIMESTAMP = 1521366391 +TIMESTAMP = 1528130663 SHA256 (scop-bash-completion-2.8_GH0.tar.gz) = c3f1bacac64bc69e3dfb9b1ef79ddbf755aac441b452845531950f1643bed25f SIZE (scop-bash-completion-2.8_GH0.tar.gz) = 326534 +SHA256 (0mp-bash-completion-freebsd-1.0.2_GH0.tar.gz) = e072d62bd4532083f054f48065148dca907d6885347072262ee3d4a5a8531256 +SIZE (0mp-bash-completion-freebsd-1.0.2_GH0.tar.gz) = 7199 Modified: head/shells/bash-completion/pkg-descr ============================================================================== --- head/shells/bash-completion/pkg-descr Tue Jun 5 19:01:08 2018 (r471800) +++ head/shells/bash-completion/pkg-descr Tue Jun 5 19:06:06 2018 (r471801) @@ -1,4 +1,8 @@ -This is a programmable completion convenience library for the bash(1) shell. It +This is a programmable completion convenience library for the Bash shell. It features the ability to tab-complete arguments for many common programs. + +Completion functions for FreeBSD-specific software are developed independently +as an extension to the official bash-completion library. The development takes +place on GitHub: https://github.com/0mp/bash-completion-freebsd WWW: https://github.com/scop/bash-completion Modified: head/shells/bash-completion/pkg-plist ============================================================================== --- head/shells/bash-completion/pkg-plist Tue Jun 5 19:01:08 2018 (r471800) +++ head/shells/bash-completion/pkg-plist Tue Jun 5 19:06:06 2018 (r471801) @@ -1,3 +1,6 @@ +%%FREEBSD%%etc/bash_completion.d/mandoc +%%FREEBSD%%etc/bash_completion.d/pkg +%%FREEBSD%%etc/bash_completion.d/service libdata/pkgconfig/bash-completion.pc %%DATADIR%%/bash_completion %%DATADIR%%/bash_completion.sh