Page MenuHomeFreeBSD

D44179.id135335.diff
No OneTemporary

D44179.id135335.diff

diff --git a/sysutils/clean/Makefile b/sysutils/clean/Makefile
--- 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
--- 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

File Metadata

Mime Type
text/plain
Expires
Fri, May 15, 10:31 AM (9 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33080709
Default Alt Text
D44179.id135335.diff (1 KB)

Event Timeline