aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tmpwatch
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-03-13 09:23:15 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-03-13 09:23:15 +0000
commita2c31bb2955970642f2f6519433917ddd81bc9b9 (patch)
tree4e0e91805d6a405b64856272d1f614410479a230 /sysutils/tmpwatch
parent4e40a700b3d3503b5d925c78bd57075fab8cd76b (diff)
downloadports-a2c31bb2955970642f2f6519433917ddd81bc9b9.tar.gz
ports-a2c31bb2955970642f2f6519433917ddd81bc9b9.zip
upgrade to 2.10.1
update MASTER_SITE and WWW add LICENSE take maintainership
Notes
Notes: svn path=/head/; revision=270780
Diffstat (limited to 'sysutils/tmpwatch')
-rw-r--r--sysutils/tmpwatch/Makefile32
-rw-r--r--sysutils/tmpwatch/distinfo5
-rw-r--r--sysutils/tmpwatch/pkg-descr2
3 files changed, 13 insertions, 26 deletions
diff --git a/sysutils/tmpwatch/Makefile b/sysutils/tmpwatch/Makefile
index 2f83c67e6a39..7d3f837d8e6d 100644
--- a/sysutils/tmpwatch/Makefile
+++ b/sysutils/tmpwatch/Makefile
@@ -6,37 +6,23 @@
#
PORTNAME= tmpwatch
-PORTVERSION= 2.9.6
+PORTVERSION= 2.10.1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
-MASTER_SITE_SUBDIR= 5/source/SRPMS
-EXTRACT_SUFX= -1.2.1.src.rpm
+MASTER_SITES= http://fedorahosted.org/releases/t/m/tmpwatch/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bapt@FreeBSD.org
COMMENT= A utility for removing files based on when they were last accessed
-EXTRACT_DEPENDS=rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
+USE_BZIP2= yes
+
+LICENSE= GPLv2
+
+GNU_CONFIGURE= yes
-CFLAGS+= ${CPPFLAGS} -DVERSION=\"${PORTVERSION}\"
MAN8= tmpwatch.8
PLIST_FILES= sbin/tmpwatch
-do-extract:
- ${MKDIR} ${WRKDIR}
- cd ${WRKDIR} && \
- ${LOCALBASE}/bin/rpm2cpio.pl ${DISTDIR}/${DISTFILES} | \
- ${CPIO} -iud
- cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${WRKDIR}/${DISTNAME}.tar.gz ${EXTRACT_AFTER_ARGS}
-
post-patch:
- ${REINPLACE_CMD} -E "s/^#include.+mntent.h.+//g" ${WRKSRC}/tmpwatch.c
-
-do-build:
- cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o tmpwatch tmpwatch.c
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tmpwatch ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/tmpwatch.8 ${MAN8PREFIX}/man/man8
+ @${REINPLACE_CMD} -E "s/^#include.+mntent.h.+//g" ${WRKSRC}/tmpwatch.c
.include <bsd.port.mk>
diff --git a/sysutils/tmpwatch/distinfo b/sysutils/tmpwatch/distinfo
index f51c96106bd7..f293ac8ddd8d 100644
--- a/sysutils/tmpwatch/distinfo
+++ b/sysutils/tmpwatch/distinfo
@@ -1,3 +1,2 @@
-MD5 (tmpwatch-2.9.6-1.2.1.src.rpm) = fc42ad036293b972ecf6f79119881f43
-SHA256 (tmpwatch-2.9.6-1.2.1.src.rpm) = f770370193f470bdb6c44e0b60a8c298347f597d61deb8f59bf5fb9b6b3ceb0f
-SIZE (tmpwatch-2.9.6-1.2.1.src.rpm) = 22734
+SHA256 (tmpwatch-2.10.1.tar.bz2) = d0fc8e76f32a7e596ef0e3db5a429f007a94e356a63ea342a130022e6295b446
+SIZE (tmpwatch-2.10.1.tar.bz2) = 140103
diff --git a/sysutils/tmpwatch/pkg-descr b/sysutils/tmpwatch/pkg-descr
index ea7e76b78d0c..372512b4abd0 100644
--- a/sysutils/tmpwatch/pkg-descr
+++ b/sysutils/tmpwatch/pkg-descr
@@ -4,3 +4,5 @@ specified period of time. Tmpwatch is normally used to clean up
directories which are used for temporarily holding files (for example,
/tmp). Tmpwatch ignores symlinks, won't switch filesystems and only
removes empty directories and regular files.
+
+WWW: https://fedorahosted.org/tmpwatch/wiki