diff options
author | bapt <bapt@FreeBSD.org> | 2011-03-13 17:23:15 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2011-03-13 17:23:15 +0800 |
commit | 8938098c47b07b909951fbd50d1b64012a1b73b0 (patch) | |
tree | 713b12a374778befc28a1c3ca9bf2884ff64b08f /sysutils/tmpwatch | |
parent | 4e7a1771aa68408807db386517a2680a071e37cd (diff) | |
download | freebsd-ports-gnome-8938098c47b07b909951fbd50d1b64012a1b73b0.tar.gz freebsd-ports-gnome-8938098c47b07b909951fbd50d1b64012a1b73b0.tar.zst freebsd-ports-gnome-8938098c47b07b909951fbd50d1b64012a1b73b0.zip |
upgrade to 2.10.1
update MASTER_SITE and WWW
add LICENSE
take maintainership
Diffstat (limited to 'sysutils/tmpwatch')
-rw-r--r-- | sysutils/tmpwatch/Makefile | 32 | ||||
-rw-r--r-- | sysutils/tmpwatch/distinfo | 5 | ||||
-rw-r--r-- | sysutils/tmpwatch/pkg-descr | 2 |
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 |