From nobody Wed Oct 12 16:38:40 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MnddD4bF6z4fjqG; Wed, 12 Oct 2022 16:38:40 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MnddD4BQMz3QRs; Wed, 12 Oct 2022 16:38:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665592720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LikW5Y/QArfx/NjUgcagcHnQP30KBG+wwIrUwj5gsew=; b=i5QJZ4KNljOMUQ5+TNLJpzXhASGWt5lm2M05MRgt3esox57VpoiKewITL3PWji3RPd3fOP lc+xvsqPNyqu2ZUHHxHchNwJ34gyGGgeEmVk+MIoJxGIFoNZj6IBERoZUcKs0bd43LvUHF yr+qcqx6ZV19qoZqNJOMz3crv17jkidBLSQeiMCyrFsSlsYo2Lu9tEdWgAPzZC5EDwsfLK IP9PvT//nInsPWltEN6TQ+riQ1GXSXFbXU0VYj/U5A2IIo5l+RGJg17Qk5LyQdsNWY/R35 csfjqIzQ2vxWhhWyPlYX23oKuQhtMK0YxD7O0d109n4SR4SAAu+qTk801JoYhg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MnddD3Hq3z1MXF; Wed, 12 Oct 2022 16:38:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29CGceso094395; Wed, 12 Oct 2022 16:38:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29CGce6R094394; Wed, 12 Oct 2022 16:38:40 GMT (envelope-from git) Date: Wed, 12 Oct 2022 16:38:40 GMT Message-Id: <202210121638.29CGce6R094394@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 75618bfd83dd - main - x11/wl-clipboard: respect LOCALBASE for MIME types List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 75618bfd83dd8ce7922ea45b46e22f352689d5db Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665592720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LikW5Y/QArfx/NjUgcagcHnQP30KBG+wwIrUwj5gsew=; b=d9ofpnOwG6u2ZRLYYaEaHgL+oulESIlPGk/53VhopjBLR4izQKcVBLg5c4Knllhhg7T59g PKM541iiEEA0fEfVDVQdy+e0ndJdCQc5910cSpaxD7Mzj2+f84xaDMXopgC6A/8t/7hmrF Hf2VQGu+ZByXB3pRldSK1GWinauPFrG/Xgpwyc86eX4xbpXvJw6rlVeTos80cYaTRow8YY /MVtlIlqJsJQOQeqDPwMbiB3O9iBaotYeXm71UXBlNwaYtfSO1eKj3fCfr6TCsO0COal/V Y7b0zz1dXifMjJGELla+wau0aHbRETEY0I2SEljuRnKW/UZ2OL+TaYme/FVZLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665592720; a=rsa-sha256; cv=none; b=En82Wbpgy3zKj8UKBNicJH1qvY+5M09kz17YD/ZcLbri0s3up4SwMagfFsP5maf7xtqSbE ztjIDOzakrDlRoZo7Hhu129lhEHoNcFWVlXsnTSePPTwQDul1CMA3DYEPKGcz+w3tE04bQ GtcAo+09Vm//meebce9Z2cA8iQW273+65yk6NsoI4mCFUUlT62lelBiCfwxiNLojyDFBY3 2MySVyYIcNfPWQx6mR33SbSsz04mcEbdABg5ZThBH0lAA+ip1QtSyZhSQhODcdMGPrXwEh 5Ts2uDKC5OfApFgjkQ6tiKkchtPwnrVQPRZvoQQfYeZ6GaQZofZ7JFh5EEyv/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=75618bfd83dd8ce7922ea45b46e22f352689d5db commit 75618bfd83dd8ce7922ea45b46e22f352689d5db Author: Jan Beich AuthorDate: 2022-10-12 16:08:24 +0000 Commit: Jan Beich CommitDate: 2022-10-12 16:36:24 +0000 x11/wl-clipboard: respect LOCALBASE for MIME types --- x11/wl-clipboard/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/x11/wl-clipboard/Makefile b/x11/wl-clipboard/Makefile index 3898244ec5ec..becd6cfa12aa 100644 --- a/x11/wl-clipboard/Makefile +++ b/x11/wl-clipboard/Makefile @@ -1,6 +1,7 @@ PORTNAME= wl-clipboard DISTVERSIONPREFIX= v DISTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org @@ -31,5 +32,11 @@ PLIST_FILES= bin/wl-copy \ post-patch: @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/completions/fish/meson.build +# Search mime-support (etc/mime.types) and shared-mime-info (share/mime/types) + @${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' \ + -e '/local/!s,/etc,${LOCALBASE}&,' \ + ${WRKSRC}/completions/bash/wl-copy \ + ${WRKSRC}/completions/zsh/_wl-copy \ + ${WRKSRC}/src/util/files.c .include