aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-27 00:43:38 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-27 00:43:38 +0800
commit1046226445096e28349f09bcea80fd92eb298141 (patch)
tree36299559015b95dce65fae23924f24038659ac17 /sysutils
parent1c904f5ab1cb8d4afdd8d986b64fcd2bf00f4aba (diff)
downloadfreebsd-ports-gnome-1046226445096e28349f09bcea80fd92eb298141.tar.gz
freebsd-ports-gnome-1046226445096e28349f09bcea80fd92eb298141.tar.zst
freebsd-ports-gnome-1046226445096e28349f09bcea80fd92eb298141.zip
Stagify.
Approved by: portmgr@ (blanket approval)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fileprune/Makefile5
-rw-r--r--sysutils/fileprune/files/patch-Makefile13
2 files changed, 14 insertions, 4 deletions
diff --git a/sysutils/fileprune/Makefile b/sysutils/fileprune/Makefile
index c1d5ed6430c2..4f47be43db42 100644
--- a/sysutils/fileprune/Makefile
+++ b/sysutils/fileprune/Makefile
@@ -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>
diff --git a/sysutils/fileprune/files/patch-Makefile b/sysutils/fileprune/files/patch-Makefile
new file mode 100644
index 000000000000..d4409214b87e
--- /dev/null
+++ b/sysutils/fileprune/files/patch-Makefile
@@ -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