git: 6837e7316b15 - main - sysutils/clean: Add UNKNOWN License
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Mar 2024 17:15:58 UTC
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=6837e7316b150826f02d70e456bf47dabe9ce72b commit 6837e7316b150826f02d70e456bf47dabe9ce72b Author: Zsolt Udvari <uzsolt@FreeBSD.org> AuthorDate: 2024-03-03 17:14:00 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> 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 <bsd.port.mk> 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