svn commit: r344841 - in head/sysutils/clean: . files

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 18 08:34:07 UTC 2014


Author: ehaupt
Date: Tue Feb 18 08:34:06 2014
New Revision: 344841
URL: http://svnweb.freebsd.org/changeset/ports/344841
QAT: https://qat.redports.org/buildarchive/r344841/

Log:
  Support staging

Added:
  head/sysutils/clean/files/
  head/sysutils/clean/files/patch-Makefile   (contents, props changed)
Modified:
  head/sysutils/clean/Makefile

Modified: head/sysutils/clean/Makefile
==============================================================================
--- head/sysutils/clean/Makefile	Tue Feb 18 08:30:53 2014	(r344840)
+++ head/sysutils/clean/Makefile	Tue Feb 18 08:34:06 2014	(r344841)
@@ -10,8 +10,7 @@ MAINTAINER=	chuck at pkix.net
 COMMENT=	Automatically remove unwanted files
 
 USE_BZIP2=	yes
-MAN1=		clean.1
-PLIST_FILES=	bin/clean
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/clean man/man1/clean.1.gz
+
 .include <bsd.port.mk>

Added: head/sysutils/clean/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/clean/files/patch-Makefile	Tue Feb 18 08:34:06 2014	(r344841)
@@ -0,0 +1,10 @@
+--- ./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)$(MANPREFIX)/man/man1


More information about the svn-ports-all mailing list