From nobody Sun Jan 21 12:51:24 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 4THtWx1Bg6z57PqJ; Sun, 21 Jan 2024 12:51:25 +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 4THtWx0GR0z4S8W; Sun, 21 Jan 2024 12:51:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705841485; 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=zbT7f5QCCWp5XJ2wSfQQaiZKA9bL4FXFFxSaKSQmoaY=; b=oKUi+D1oKhnHXZ0sF5y+xLIoAGDNHv4ntTEktOghFx/pTXa3mkN/g/pRnrWQabxaLyNmbN Rn9C8Qo6E+7p1NRMIA7U3mpyoJTZzwC18raSX/JdrH5Vt572zNBxmhrgdjzBXJ61VedC6p Vk7xfslI4xIHQsCJN3SefbEANAsPqHVf0RTaNo2ofWNeDHzRbtfsimOKrayn49VhkUg5lQ 4+I4F9J7FhwwE0eL3Uk6LYuBTvo/OaFrv43u7zBmmq7ge+cEEuZkyi8E3I/z+2O20jSMrK q4IFm6drNpxZVB04Kuvmb4bUm/VG/PfTP34/6JQKKsB07lOhnkbwM47HqdvZwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705841485; 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=zbT7f5QCCWp5XJ2wSfQQaiZKA9bL4FXFFxSaKSQmoaY=; b=yyDf4oAgufD9ZDyJZMd7NE09QyGnrk60+9urAYW4PZ6j+xlNJYYB03dVE3meVm7tc/ca0L Kw9TzoyxnuFBQO2beExsj5fcNWwdTKPvpOBx55G9CB8qxmpudl1iUrf9SQ9xk9NSCRY80J gAoFuCzEIQiN6Xm3NmjRjK3BrfARiqThdlLy10ShSBhidemg4YUIwuIxNJfu431YEtTQw1 Na1k5ahfoFD64DQ9zjZ5CZjdup5wf7oKYMrzL/C+n6V3L5bUY+PMi5njhUR8fqQGFHCrq0 ThYddkaWOT4aVnSt5DMDUX2MgNz6b+E+YL4xo5mJXRg6ya2VCqwXx+qnVZTSkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705841485; a=rsa-sha256; cv=none; b=vWn/p6LtZ7tq9dawrs3SApgzRmcB7FncA/mPzFQKfQHQvIwwzSQBFEVl92iMbFqSJReaqp wiajeotVnUlJnL8efVsj54FrvYR9iBUSTfzuTfBEdkuC2EpiW2ymGv4GKCxXcU/DU/GM9S bi+81OdCLjWVY6mlVotH+1rLg2MQSxKhm5XOSxlmeXp+oQBQBj/La+ahpTqBqQ3UdRRsc6 a62BXDr4LPkzzeKYOgGBImeNvfGlrPvX4m/dgapQOXJew+Pmsx7bouJg4C/43MQEYLpdoM wjW8zqaxE2ifsbekXQvI+HWaiVHNmEWKey3cVlzoLWrqqwpyPOVxU8sHqEWoOQ== 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 4THtWw6QnnzJJC; Sun, 21 Jan 2024 12:51:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40LCpOo9006773; Sun, 21 Jan 2024 12:51:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40LCpO1t006770; Sun, 21 Jan 2024 12:51:24 GMT (envelope-from git) Date: Sun, 21 Jan 2024 12:51:24 GMT Message-Id: <202401211251.40LCpO1t006770@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 239baef48724 - main - devel/fnc: Sanitize MANPREFIX 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 239baef4872472b873fd0ef1a44842c5ec6a7ab4 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=239baef4872472b873fd0ef1a44842c5ec6a7ab4 commit 239baef4872472b873fd0ef1a44842c5ec6a7ab4 Author: Muhammad Moinur Rahman AuthorDate: 2024-01-21 02:22:17 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-01-21 12:51:14 +0000 devel/fnc: Sanitize MANPREFIX Approved by: portmgr (blanket) --- devel/fnc/Makefile | 3 ++- devel/fnc/files/patch-fnc.bld.mk | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/devel/fnc/Makefile b/devel/fnc/Makefile index acff863f8c83..0142aad64958 100644 --- a/devel/fnc/Makefile +++ b/devel/fnc/Makefile @@ -1,5 +1,6 @@ PORTNAME= fnc DISTVERSION= 0.16 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://fnc.bsdbox.org/tarball/${DISTVERSION}/ \ https://distfiles.pirateparty.in/ashish/ @@ -15,7 +16,7 @@ USES= ncurses MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/fnc \ - man/man1/fnc.1.gz + share/man/man1/fnc.1.gz # For patch application post-extract: diff --git a/devel/fnc/files/patch-fnc.bld.mk b/devel/fnc/files/patch-fnc.bld.mk index d93e2c974d67..ca89c68baaa8 100644 --- a/devel/fnc/files/patch-fnc.bld.mk +++ b/devel/fnc/files/patch-fnc.bld.mk @@ -1,13 +1,13 @@ --- fnc.bld.mk.orig 2023-11-27 08:16:26 UTC +++ fnc.bld.mk @@ -4,8 +4,8 @@ CC ?= cc - + # CONFIGURATION CC ?= cc -PREFIX ?= /usr/local -MANDIR ?= /share/man +PREFIX ?= %%PREFIX%% -+MANDIR ?= /man ++MANDIR ?= /share/man VERSION ?= %%VERSION%% HASH != cut -f 1 manifest.uuid DATE != sed '2q;d' manifest | cut -d ' ' -f 2 | tr T ' ' @@ -22,7 +22,7 @@ -DDATE="${DATE}" @@ -89,10 +89,10 @@ install: @echo "generated compile_commands.json" - + install: - mkdir -p -m 0755 ${PREFIX}/bin - mkdir -p -m 0755 ${PREFIX}${MANDIR}/man1 @@ -32,6 +32,6 @@ + mkdir -p -m 0755 ${DESTDIR}${PREFIX}${MANDIR}/man1 + install -s -m 0755 src/fnc ${DESTDIR}${PREFIX}/bin/fnc + install -m 0644 src/fnc.1 ${DESTDIR}${PREFIX}${MANDIR}/man1/fnc.1 - + uninstall: rm -f ${PREFIX}/bin/fnc ${PREFIX}${MANDIR}/man1/fnc.1