From nobody Sun Mar 03 17:15:58 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 4TnpPq0CHxz5Bw8d; Sun, 3 Mar 2024 17:15:59 +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 4TnpPp6h7Xz4YRj; Sun, 3 Mar 2024 17:15:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709486158; 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=jrtFpwxMvnVsffQvCKlbWqozEvHXDdJBjS8NuBrXKD0=; b=ZKVx2fZV6nyUR2MCDmAKReBs/4vUzQpF9tkfYTpmyLFKn6XqIjo8jOHwvyy8PHd8O/R+BX TPLV4evdaCjZwia2N399yBlPKwVoKM9d9PRIbHL6wv4Co0IEtogl8n849NToT7BqAg6roL Sm+ogkQOcskT4pAnt2kraEQyq4baPrSUELqiKQSCC/xBrkIehJ/ahV4XViCfDWNZs2D6td 2iRKAl85/ThmxhYbYBvAFp/1fVFUWaiyO4hwo7rkVQ8AYnyvav/jKfb0IvTHZO0z7K2nbT 3Ms0H9F9LTSKYUxnB+2xsiEq8TdefckuHB1EH2TDs5tYdBcqUPvcxtDo5bxEhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709486158; a=rsa-sha256; cv=none; b=TLj0FpDZoVrtR2K3J0ntJXmrU3kHLKce+fZC3zq7QROVLOzJBI8SSTGCESdzrip4bDNpij EcLn7AIGcPfht/TdtDlDV0OQY0rhDVajHgyngTnzJsddwxaqU4uFnhP8bwIDlv8gnfcSxw 9M1yByf+wwaun8W4BqM+VyicNXOw4C8zVQzaixPnZjeNrxJ2HonT+5QHuH7LP4rphfGP1q D8zGEdgU4D7sZUeD6i5kA0xIy+4o7mztDyz15wfXtW2wiX/SZehGYJbaO9+AOvmUaOQHBE lba7/FzQhKi5EJ2JbGSofD2qVk0TX/prWYh0tDxHWWz+80wq4yKGsQI3fugOEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709486158; 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=jrtFpwxMvnVsffQvCKlbWqozEvHXDdJBjS8NuBrXKD0=; b=M9F5Ky5VMhO+r4W6F2yHZDp5gvhmJULCud0P8qd4Tj1KOwSIi2Hw9y4j87KTLQNMhCiMVV pZ7oLkUbnzFa8axN1VxYX/Mg5TzEr4Yus0nOvHomTJ/wGAV7Bfq3zhNUtpP5XM50AAVe4v UDNHS1LNtT46LiaT2EkSEICdgvHIB5hNaklmtkEG+1y3RVd9AsYIhmm0Zofvigex+D52LT NyEkLGy0AXZMBCBqjamDlLzFai9GpsyLVjiF7MIfON5Mb3dyVhJK7peNjtQWrw3A0bXI06 pCzSusBdu3Uwv5H1S73DUV/w2qXL2+t95y98IBpFqfga3z2HrP956EJq4HMKug== 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 4TnpPp6BQWzn2x; Sun, 3 Mar 2024 17:15:58 +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 423HFwJh016937; Sun, 3 Mar 2024 17:15:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 423HFw93016934; Sun, 3 Mar 2024 17:15:58 GMT (envelope-from git) Date: Sun, 3 Mar 2024 17:15:58 GMT Message-Id: <202403031715.423HFw93016934@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: 6837e7316b15 - main - sysutils/clean: Add UNKNOWN License 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: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6837e7316b150826f02d70e456bf47dabe9ce72b Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=6837e7316b150826f02d70e456bf47dabe9ce72b commit 6837e7316b150826f02d70e456bf47dabe9ce72b Author: Zsolt Udvari AuthorDate: 2024-03-03 17:14:00 +0000 Commit: Zsolt Udvari CommitDate: 2024-03-03 17:15:34 +0000 sysutils/clean: Add UNKNOWN License The license text can found in main.c. Prefer DISTVERSION. Refresh patches utilizing REINPLACE_CMD. Adopt port. Approved by: bofh (mentor) Differential Revision: https://reviews.freebsd.org/D44179 --- sysutils/clean/Makefile | 20 +++++++++++++++----- sysutils/clean/files/patch-Makefile | 10 ---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sysutils/clean/Makefile b/sysutils/clean/Makefile index ea7a20d455a1..5a335ef886e1 100644 --- a/sysutils/clean/Makefile +++ b/sysutils/clean/Makefile @@ -1,15 +1,25 @@ PORTNAME= clean -PORTVERSION= 3.4 -PORTREVISION= 1 +DISTVERSION= 3.4 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= uzsolt@FreeBSD.org COMMENT= Automatically remove unwanted files WWW= https://sourceforge.net/projects/clean/ -USES= tar:bzip2 +LICENSE= UNKNOWN +LICENSE_NAME= unknown +LICENSE_TEXT= Permission is granted to copy, modify, and use this as long as this message remains intact. +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept -PLIST_FILES= bin/clean share/man/man1/clean.1.gz +USES= tar:bzip2 + +PLIST_FILES= bin/clean \ + share/man/man1/clean.1.gz + +post-patch: + @${REINPLACE_CMD} 's|$$(PREFIX)|$$(DESTDIR)$$(PREFIX)| ; \ + s|man/man1|share/man/man1|' ${WRKSRC}/Makefile .include diff --git a/sysutils/clean/files/patch-Makefile b/sysutils/clean/files/patch-Makefile deleted file mode 100644 index d7d48049f098..000000000000 --- a/sysutils/clean/files/patch-Makefile +++ /dev/null @@ -1,10 +0,0 @@ ---- ./Makefile.orig 2014-02-18 09:32:39.562743602 +0100 -+++ ./Makefile 2014-02-18 09:32:58.145742130 +0100 -@@ -42,5 +42,5 @@ - PREFIX ?= /usr/local - - install: niftyclean -- $(INSTALL) -s clean $(PREFIX)/bin -- $(INSTALL) clean.1 $(PREFIX)/man/man1 -+ $(INSTALL) -s clean $(DESTDIR)$(PREFIX)/bin -+ $(INSTALL) clean.1 $(DESTDIR)$(PREFIX)/share/man/man1