From owner-svn-ports-head@freebsd.org Tue Oct 23 00:18:54 2018 Return-Path: Delivered-To: svn-ports-head@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 4852AFEA3A9; Tue, 23 Oct 2018 00:18:54 +0000 (UTC) (envelope-from mm@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 E34F17B0DB; Tue, 23 Oct 2018 00:18:53 +0000 (UTC) (envelope-from mm@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 D89F127AA3; Tue, 23 Oct 2018 00:18:53 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9N0IrlC017316; Tue, 23 Oct 2018 00:18:53 GMT (envelope-from mm@FreeBSD.org) Received: (from mm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9N0Ir87017314; Tue, 23 Oct 2018 00:18:53 GMT (envelope-from mm@FreeBSD.org) Message-Id: <201810230018.w9N0Ir87017314@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mm set sender to mm@FreeBSD.org using -f From: Martin Matuska Date: Tue, 23 Oct 2018 00:18:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482801 - head/sysutils/zfsnap2 X-SVN-Group: ports-head X-SVN-Commit-Author: mm X-SVN-Commit-Paths: head/sysutils/zfsnap2 X-SVN-Commit-Revision: 482801 X-SVN-Commit-Repository: ports 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.29 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: Tue, 23 Oct 2018 00:18:54 -0000 Author: mm Date: Tue Oct 23 00:18:53 2018 New Revision: 482801 URL: https://svnweb.freebsd.org/changeset/ports/482801 Log: sysutils/zfsnap2: install periodic and completions to DATADIR PR: 221689 Reported by: Anton Saietskii Modified: head/sysutils/zfsnap2/Makefile head/sysutils/zfsnap2/pkg-plist Modified: head/sysutils/zfsnap2/Makefile ============================================================================== --- head/sysutils/zfsnap2/Makefile Mon Oct 22 23:54:46 2018 (r482800) +++ head/sysutils/zfsnap2/Makefile Tue Oct 23 00:18:53 2018 (r482801) @@ -4,6 +4,7 @@ PORTNAME= zfsnap DISTVERSIONPREFIX= v DISTVERSION= 2.0.0-beta3 +PORTREVISION= 1 CATEGORIES= sysutils PKGNAMESUFFIX= 2 @@ -16,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE NO_BUILD= yes USE_GITHUB= yes -OPTIONS_DEFINE= BASH ZSH DOCS EXAMPLES +OPTIONS_DEFINE= BASH ZSH DOCS OPTIONS_DEFAULT= BASH ZSH OPTIONS_SUB= yes @@ -27,11 +28,10 @@ post-patch: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/sbin/zfsnap.sh ${STAGEDIR}${PREFIX}/sbin/zfsnap - cd ${WRKSRC}/share && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share + cd ${WRKSRC}/share && ${COPYTREE_SHARE} zfsnap ${STAGEDIR}${PREFIX}/share/ + cd ${WRKSRC} && ${COPYTREE_SHARE} completion ${STAGEDIR}${PREFIX}/share/zfsnap + cd ${WRKSRC} && ${COPYTREE_SHARE} periodic ${STAGEDIR}${PREFIX}/share/zfsnap ${INSTALL_MAN} ${WRKSRC}/man/man8/zfsnap.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/zfsnap.8 - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} completion ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} periodic ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}/${file} @@ -39,12 +39,12 @@ do-install: post-install-BASH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d - ${INSTALL_DATA} ${WRKSRC}/completion/zfsnap-completion.bash \ + ${LN} -s ../../share/zfsnap/completion/zfsnap-completion.bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/zfsnap.sh post-install-ZSH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions - ${INSTALL_DATA} ${WRKSRC}/completion/zfsnap-completion.bash \ + ${LN} -s ../../share/zfsnap/completion/zfsnap-completion.zsh \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_zfsnap .include Modified: head/sysutils/zfsnap2/pkg-plist ============================================================================== --- head/sysutils/zfsnap2/pkg-plist Mon Oct 22 23:54:46 2018 (r482800) +++ head/sysutils/zfsnap2/pkg-plist Tue Oct 23 00:18:53 2018 (r482801) @@ -3,11 +3,11 @@ sbin/zfsnap share/zfsnap/commands/destroy.sh share/zfsnap/commands/recurseback.sh share/zfsnap/commands/snapshot.sh +share/zfsnap/completion/zfsnap-completion.bash +share/zfsnap/completion/zfsnap-completion.tcsh +share/zfsnap/completion/zfsnap-completion.zsh share/zfsnap/core.sh +share/zfsnap/periodic/xPERIODICx_zfsnap_delete.sh +share/zfsnap/periodic/xPERIODICx_zfsnap.sh %%BASH%%etc/bash_completion.d/zfsnap.sh %%ZSH%%share/zsh/site-functions/_zfsnap -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/periodic/xPERIODICx_zfsnap_delete.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/periodic/xPERIODICx_zfsnap.sh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/completion/zfsnap-completion.bash -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/completion/zfsnap-completion.tcsh -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/completion/zfsnap-completion.zsh