From nobody Wed Oct 02 08:42:45 2024 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 4XJSxK47B9z5YC3C; Wed, 02 Oct 2024 08:42:45 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJSxK3VJ4z4nLl; Wed, 2 Oct 2024 08:42:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727858565; 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=l8xaPi/suEr67WAgXVI3cYfcdGUnzGuWj4zG0sA58TQ=; b=kfRMIyFejKndluFJp66cJrj2930X9h2kQvN8BRv1DVfs5/8FC6eR0Cts08C0q//1pSAF+Y LP1JSaEYhO+P6Lrd0Vbe30F72pj5G9s1xBL1fgjJrGJwqRPKJ/nXuzF0BF5jEk63z9QFyK GpcCnwMxOKwT2kkkO8nsoETInP3Cn7KVYGg2Db7KIi3yhoZKS2p6BlNzRcu13giFMk7j0p MaCcyRJXw+tZqF0GkJOBBzAPZRoTtRnQ3izM4RIpi0v/34vKuIwieJFS0nQfjGX+QzKCN7 UHF4ObpRQ5p/W8xhGMCTdIPIyw8dI2GbrvJ4bJgfG0kJ6l0NVy6V+YB3LKUdzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727858565; 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=l8xaPi/suEr67WAgXVI3cYfcdGUnzGuWj4zG0sA58TQ=; b=Ugw8fzus9BGckQQeCn8zfLG6ogNE3lSXLwJAJrAWI54FF4z6DE8ZhKs3PtnjygRrEF/Ht5 BLOYDX/LRd0b9egJg6+cgGN7yH8L6kaVYoyr18rjLJqII/d4CNdKbiabSmBL+GJqBCZk0y zRi0UqNh3Lf0r48HK9OZYqc7A31nvdWuDKqOjyALSZLV7b1RzFYXPXo+jyygYM0YSYUQxZ Ge/4NSXqyxYNEL5Q3sDeMLKr4sh0A640TpTKg8+/pvZcddLna2eEos9SOE6dq7lT1E7rRf yqmKl8ibZmuJouy40UnjOttKgXQNc9SDU2x6olcnn/aLFSpNaxc5P/LDrnEa6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727858565; a=rsa-sha256; cv=none; b=HW7LBjgKXCJtzc00SDR5pT4JQIF6KGAOXehKKi6jvuGlkuYK4cLrr4/xuwg2nDpzELBVls JU0WRcxwm83bdbUimIfprYvT25cb+T9egoFcIYVm6GfBaAc/8Il3U99usHQnzndxA4yp4F zkusDpXjluWYGi8C4rIEwDiTt198V3ZGabcbW1f+txFy+MPKZwuotifvT8JiMh6gc3CgYv udgXrLeY2gGUhf4kyrl/BYV/zMkuDlBGLO/paX+ZhdKpI9+QQZa44oR85PA/D4veNVXt/T uQsahsc8pGUuywxsk5h4vwGPLfGnlG3gN0acaaRJ4rZQHkf0/8frPJl6tjOo0g== 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 4XJSxK2zmjz1DsH; Wed, 2 Oct 2024 08:42:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4928gjRg020178; Wed, 2 Oct 2024 08:42:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4928gjV4020175; Wed, 2 Oct 2024 08:42:45 GMT (envelope-from git) Date: Wed, 2 Oct 2024 08:42:45 GMT Message-Id: <202410020842.4928gjV4020175@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 23fa17f9e65a - main - graphics/ttyplot: Embrace pkgconfig, reduce local patches, strip binaries 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 23fa17f9e65ad59f3246c01316e5fa6f3e2bb048 Auto-Submitted: auto-generated The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=23fa17f9e65ad59f3246c01316e5fa6f3e2bb048 commit 23fa17f9e65ad59f3246c01316e5fa6f3e2bb048 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2024-10-02 08:39:29 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-10-02 08:42:07 +0000 graphics/ttyplot: Embrace pkgconfig, reduce local patches, strip binaries PR: 281659 Co-authored-by: mew14930xvi --- graphics/ttyplot/Makefile | 5 ++++- graphics/ttyplot/files/patch-Makefile | 12 ------------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/graphics/ttyplot/Makefile b/graphics/ttyplot/Makefile index d3303760d85b..81d81e61764e 100644 --- a/graphics/ttyplot/Makefile +++ b/graphics/ttyplot/Makefile @@ -9,7 +9,7 @@ WWW= https://github.com/tenox7/ttyplot LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= ncurses +USES= ncurses pkgconfig USE_GITHUB= yes GH_ACCOUNT= tenox7 @@ -17,4 +17,7 @@ MAKE_ARGS= CFLAGS="${CFLAGS}" MANPREFIX="${PREFIX}/share/man" PLIST_FILES= bin/${PORTNAME} share/man/man1/ttyplot.1.gz +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ttyplot + .include diff --git a/graphics/ttyplot/files/patch-Makefile b/graphics/ttyplot/files/patch-Makefile deleted file mode 100644 index 442e508ff879..000000000000 --- a/graphics/ttyplot/files/patch-Makefile +++ /dev/null @@ -1,12 +0,0 @@ ---- Makefile.orig 2024-09-20 14:10:26 UTC -+++ Makefile -@@ -2,8 +2,7 @@ CFLAGS += -Wall -Wextra - PREFIX ?= /usr/local - MANPREFIX ?= $(PREFIX)/man - CFLAGS += -Wall -Wextra --CFLAGS += `pkg-config --cflags ncursesw` --LDLIBS += `pkg-config --libs ncursesw` -lm -+LDLIBS += -lcurses -lm - - all: ttyplot stresstest -