aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2019-01-12 17:27:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2019-01-12 17:27:43 +0000
commit58b44e68387649f0646507a049cc3108a7d51cd1 (patch)
tree935824d0a590d1f50551e78278e7e1810530ec2c
parenta892fb3b8ff888c6035ae4e836064f4981ec10c4 (diff)
- Update to 1.12
https://github.com/dspinellis/fileprune/blob/master/ChangeLog.txt PR: 230221 Submitted by: ndowens@yahoo.com Approved by: maintainer Sponsored by: iXsystems Inc.
Notes
Notes: svn path=/head/; revision=490068
-rw-r--r--sysutils/fileprune/Makefile16
-rw-r--r--sysutils/fileprune/distinfo5
-rw-r--r--sysutils/fileprune/files/patch-Makefile13
3 files changed, 15 insertions, 19 deletions
diff --git a/sysutils/fileprune/Makefile b/sysutils/fileprune/Makefile
index 97c9704ae1bd..7ae3901684dc 100644
--- a/sysutils/fileprune/Makefile
+++ b/sysutils/fileprune/Makefile
@@ -2,16 +2,24 @@
# $FreeBSD$
PORTNAME= fileprune
-PORTVERSION= 1.9
+PORTVERSION= 1.12
CATEGORIES= sysutils
-MASTER_SITES= https://www.spinellis.gr/sw/unix/fileprune/ \
- https://www2.dmst.aueb.gr/dds/sw/unix/fileprune/
MAINTAINER= dds@FreeBSD.org
COMMENT= Prune a file set according to a given age distribution
-LICENSE= MIT
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+
+GH_ACCOUNT= dspinellis
+GH_TAGNAME= 2dd22fc
PLIST_FILES= bin/fileprune man/man1/fileprune.1.gz
+MAKE_ARGS= CFLAGS="${CFLAGS}" PREFIX="${STAGEDIR}${PREFIX}"
+
+post-extract:
+ ${REINPLACE_CMD} -e 's,/share,,' ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/sysutils/fileprune/distinfo b/sysutils/fileprune/distinfo
index 5bfc38b20f5b..b0bb68791ef7 100644
--- a/sysutils/fileprune/distinfo
+++ b/sysutils/fileprune/distinfo
@@ -1,2 +1,3 @@
-SHA256 (fileprune-1.9.tar.gz) = 7f2238baf47c02b235dd5354d83b1ed9970fa8b8256e5ef3fa7b3e9b33e55ce9
-SIZE (fileprune-1.9.tar.gz) = 24335
+TIMESTAMP = 1537586160
+SHA256 (dspinellis-fileprune-1.12-2dd22fc_GH0.tar.gz) = d738ebe52f84fa29d85d795b281bb1b93d490c2df697d8c109f2ac9ea8e7251f
+SIZE (dspinellis-fileprune-1.12-2dd22fc_GH0.tar.gz) = 30743
diff --git a/sysutils/fileprune/files/patch-Makefile b/sysutils/fileprune/files/patch-Makefile
deleted file mode 100644
index 790fb7d142d7..000000000000
--- a/sysutils/fileprune/files/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- 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
-+ $(BSD_INSTALL_PROGRAM) $(NAME) $(DESTDIR)$(PREFIX)/bin
-+ gzip -c $(NAME).1 > $(DESTDIR)$(PREFIX)/man/man1/$(NAME).1.gz
-
- clean:
- rm -f $(NAME) $(NAME).o