From owner-svn-ports-all@freebsd.org Tue Jan 5 13:42:13 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 11F854E57A3; Tue, 5 Jan 2021 13:42:13 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9DFJ72Xcz4TPQ; Tue, 5 Jan 2021 13:42:12 +0000 (UTC) (envelope-from fernape@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 E49C450BD; Tue, 5 Jan 2021 13:42:12 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 105DgCq4066863; Tue, 5 Jan 2021 13:42:12 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 105DgCKp066861; Tue, 5 Jan 2021 13:42:12 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <202101051342.105DgCKp066861@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Tue, 5 Jan 2021 13:42:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r560395 - in head/x11/xclip: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: in head/x11/xclip: . files X-SVN-Commit-Revision: 560395 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.34 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 Jan 2021 13:42:13 -0000 Author: fernape Date: Tue Jan 5 13:42:12 2021 New Revision: 560395 URL: https://svnweb.freebsd.org/changeset/ports/560395 Log: x11/xclip: set MAINTAINER and do cleanup Prepare por for upcoming update. Submitter already maintains several ports. PR: 251072 Submitted by: ed.arrakis@gmail.com Added: head/x11/xclip/files/ head/x11/xclip/files/patch-xclip-copyfile (contents, props changed) head/x11/xclip/files/patch-xclip-pastefile (contents, props changed) Modified: head/x11/xclip/Makefile Modified: head/x11/xclip/Makefile ============================================================================== --- head/x11/xclip/Makefile Tue Jan 5 13:23:33 2021 (r560394) +++ head/x11/xclip/Makefile Tue Jan 5 13:42:12 2021 (r560395) @@ -5,15 +5,17 @@ PORTNAME= xclip PORTVERSION= 0.13 CATEGORIES= x11 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ed.arrakis@gmail.com COMMENT= Interface to X selections ("the clipboard") from the command line LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING +USES= autoreconf gmake iconv xorg + USE_GITHUB= yes GH_ACCOUNT= astrand -USES= autoreconf gmake iconv xorg USE_XORG= x11 xmu GNU_CONFIGURE= yes @@ -25,8 +27,12 @@ PLIST_FILES= bin/xclip bin/xclip-copyfile bin/xclip-cu bin/xclip-pastefile \ man/man1/xclip.1.gz man/man1/xclip-copyfile.1.gz -post-patch: - ${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,' ${WRKSRC}/xclip-copyfile +PORTDOCS= README +OPTIONS_DEFINE= DOCS + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xclip Added: head/x11/xclip/files/patch-xclip-copyfile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xclip/files/patch-xclip-copyfile Tue Jan 5 13:42:12 2021 (r560395) @@ -0,0 +1,11 @@ +--- xclip-copyfile.orig 2016-09-13 07:09:12 UTC ++++ xclip-copyfile +@@ -5,7 +5,7 @@ if [ "x$1" = "x" ]; then + echo "-p Copy path information; preserve tree structure" + exit 1 + fi +-archive=`mktemp` || exit 1 ++archive=`mktemp -t xclip` || exit 1 + trap 'rm -f "${archive}"' 1 2 3 15 + if [ "x$1" = "x-p" ]; then + tar cf "${archive}" "$@" Added: head/x11/xclip/files/patch-xclip-pastefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xclip/files/patch-xclip-pastefile Tue Jan 5 13:42:12 2021 (r560395) @@ -0,0 +1,8 @@ +--- xclip-pastefile.orig 2020-11-05 09:03:17 UTC ++++ xclip-pastefile +@@ -4,4 +4,4 @@ if [ "x$1" != "x" ]; then + echo "Usage: $0" >&2 + exit 1 + fi +-xclip -selection secondary -o | gunzip -c | tar xv ++xclip -selection secondary -o | gunzip -c | tar xv -f -