1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-06-26 16:43:38 +00:00
parent acdd39bc8f
commit 4020334746
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359395
2 changed files with 14 additions and 4 deletions

View File

@ -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>

View 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