Support staging
This commit is contained in:
parent
7eed5932e0
commit
f0bc18d094
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344841
@ -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>
|
||||
|
10
sysutils/clean/files/patch-Makefile
Normal file
10
sysutils/clean/files/patch-Makefile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user