svn commit: r359395 - in head/sysutils/fileprune: . files

Vanilla I. Shu vanilla at FreeBSD.org
Thu Jun 26 16:43:39 UTC 2014


Author: vanilla
Date: Thu Jun 26 16:43:38 2014
New Revision: 359395
URL: http://svnweb.freebsd.org/changeset/ports/359395
QAT: https://qat.redports.org/buildarchive/r359395/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Added:
  head/sysutils/fileprune/files/
  head/sysutils/fileprune/files/patch-Makefile   (contents, props changed)
Modified:
  head/sysutils/fileprune/Makefile

Modified: head/sysutils/fileprune/Makefile
==============================================================================
--- head/sysutils/fileprune/Makefile	Thu Jun 26 16:40:33 2014	(r359394)
+++ head/sysutils/fileprune/Makefile	Thu Jun 26 16:43:38 2014	(r359395)
@@ -10,9 +10,6 @@ MASTER_SITES=	http://www.spinellis.gr/sw
 MAINTAINER=	dds at 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>

Added: head/sysutils/fileprune/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fileprune/files/patch-Makefile	Thu Jun 26 16:43:38 2014	(r359395)
@@ -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


More information about the svn-ports-head mailing list