mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Stagify.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
acdd39bc8f
commit
4020334746
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359395
@ -10,9 +10,6 @@ MASTER_SITES= http://www.spinellis.gr/sw/unix/fileprune/ \
|
||||
MAINTAINER= dds@FreeBSD.org
|
||||
COMMENT= Prune a file set according to a given age distribution
|
||||
|
||||
MAN1= fileprune.1
|
||||
MANCOMPRESSED= yes
|
||||
PLIST_FILES= bin/fileprune
|
||||
PLIST_FILES= bin/fileprune man/man1/fileprune.1.gz
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.mk>
|
||||
|
13
sysutils/fileprune/files/patch-Makefile
Normal file
13
sysutils/fileprune/files/patch-Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
--- Makefile.orig 2014-06-27 00:40:28.370101738 +0800
|
||||
+++ Makefile 2014-06-27 00:40:53.285115312 +0800
|
||||
@@ -8,8 +8,8 @@ $(NAME): $(NAME).c
|
||||
$(CC) $(CFLAGS) -o $@ $? -lm
|
||||
|
||||
install: $(NAME)
|
||||
- $(INSTALL) -s $(NAME) $(PREFIX)/bin
|
||||
- gzip -c $(NAME).1 >$(PREFIX)/man/man1/$(NAME).1.gz
|
||||
+ $(INSTALL) -s $(NAME) $(DESTDIR)$(PREFIX)/bin
|
||||
+ gzip -c $(NAME).1 > $(DESTDIR)$(PREFIX)/man/man1/$(NAME).1.gz
|
||||
|
||||
clean:
|
||||
rm -f $(NAME) $(NAME).o
|
Loading…
Reference in New Issue
Block a user