mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- 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
This commit is contained in:
parent
669f605735
commit
b59f852aa9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128743
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user