diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-18 16:34:06 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-18 16:34:06 +0800 |
commit | 127b05bbf3bd0131594afeb871a4e64b1f6bd41d (patch) | |
tree | a46c3c16d4ad2495c54ad8817a6adbf115dc4ba6 /sysutils | |
parent | 2a51ca55fa85d51b497325dc7c921cf875bbe9e9 (diff) | |
download | freebsd-ports-gnome-127b05bbf3bd0131594afeb871a4e64b1f6bd41d.tar.gz freebsd-ports-gnome-127b05bbf3bd0131594afeb871a4e64b1f6bd41d.tar.zst freebsd-ports-gnome-127b05bbf3bd0131594afeb871a4e64b1f6bd41d.zip |
Support staging
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/clean/Makefile | 5 | ||||
-rw-r--r-- | sysutils/clean/files/patch-Makefile | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/sysutils/clean/Makefile b/sysutils/clean/Makefile index 464f449def3c..8452da493498 100644 --- a/sysutils/clean/Makefile +++ b/sysutils/clean/Makefile @@ -10,8 +10,7 @@ MAINTAINER= chuck@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> diff --git a/sysutils/clean/files/patch-Makefile b/sysutils/clean/files/patch-Makefile new file mode 100644 index 000000000000..98f14e2e1768 --- /dev/null +++ b/sysutils/clean/files/patch-Makefile @@ -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 |