- 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.
This commit is contained in:
Martin Wilke 2019-01-12 17:27:43 +00:00
parent a892fb3b8f
commit 58b44e6838
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490068
3 changed files with 15 additions and 19 deletions

View File

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

View File

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

View File

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