diff options
author | clsung <clsung@FreeBSD.org> | 2005-02-14 11:25:04 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2005-02-14 11:25:04 +0800 |
commit | c9a531ef1c67236c3a2bad9e6ac0d9a3f6d129a8 (patch) | |
tree | d198995d5e7af7b3b9dcd7dd5cd8ae5b16e06c93 /mail | |
parent | 97fd5790d0ee239fe8ba3b6f96940e46676ed198 (diff) | |
download | freebsd-ports-gnome-c9a531ef1c67236c3a2bad9e6ac0d9a3f6d129a8.tar.gz freebsd-ports-gnome-c9a531ef1c67236c3a2bad9e6ac0d9a3f6d129a8.tar.zst freebsd-ports-gnome-c9a531ef1c67236c3a2bad9e6ac0d9a3f6d129a8.zip |
- update to 2.2
- ports/77333 is for 1.5, but 2.2 is released......
- ChangeLog:
Version 2.2: lots of fixes to the XML output, made it 20% faster, added new statistics
Version 1.5: mboxstats now handles weird mailbox-formats more gracefully
Version 1.4: made 64-bit safe: now also works correctly with files > 2GB
PR: ports/77333
Submitted by: leeym
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mboxstats/Makefile | 11 | ||||
-rw-r--r-- | mail/mboxstats/distinfo | 4 |
2 files changed, 11 insertions, 4 deletions
diff --git a/mail/mboxstats/Makefile b/mail/mboxstats/Makefile index 1c42ca2362bf..91188cbe621a 100644 --- a/mail/mboxstats/Makefile +++ b/mail/mboxstats/Makefile @@ -7,7 +7,7 @@ # PORTNAME= mboxstats -PORTVERSION= 1.3 +PORTVERSION= 2.2 CATEGORIES= mail MASTER_SITES= http://vanheusden.com/mboxstats/ EXTRACT_SUFX= .tgz @@ -18,11 +18,18 @@ COMMENT= Creates top-10 lists of the messages in a mailbox PLIST_FILES= bin/mboxstats USE_REINPLACE= yes +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -e 's|ssize_t|size_t|g' ${WRKSRC}/io.h @${REINPLACE_CMD} -e 's|PATH_MAX|FILENAME_MAX|g' ${WRKSRC}/main.cpp + @${REINPLACE_CMD} -e 's|^CC=|CC?=|g' ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e 's|^CPPFLAGS|CXXFLAGS|g' ${WRKSRC}/${MAKEFILE} +.if ${ARCH} == "i386" || ${ARCH} == "alpha" + @${REINPLACE_CMD} -Ee 's,(stat|open)64,\1,g' ${WRKSRC}/main.cpp +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mboxstats ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/mail/mboxstats/distinfo b/mail/mboxstats/distinfo index 7c6fb95c64f6..6d82cb73fd2d 100644 --- a/mail/mboxstats/distinfo +++ b/mail/mboxstats/distinfo @@ -1,2 +1,2 @@ -MD5 (mboxstats-1.3.tgz) = 14e4b1cba0b778dff00db8eb10b9291c -SIZE (mboxstats-1.3.tgz) = 11803 +MD5 (mboxstats-2.2.tgz) = 2a63390f17747c6930f9f4d931a7225c +SIZE (mboxstats-2.2.tgz) = 15012 |