mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
3f6c422e36
- Lots of maintainers timeout - unresponsive for almost a year PR: 195059
28 lines
800 B
Makefile
28 lines
800 B
Makefile
# Created by: clsung
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mboxstats
|
|
PORTVERSION= 3.1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://vanheusden.com/mboxstats/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Creates top-10 lists of the messages in a mailbox
|
|
|
|
PLIST_FILES= bin/mboxstats
|
|
|
|
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}
|
|
@${REINPLACE_CMD} -Ee 's,(stat|open)64,\1,g' ${WRKSRC}/main.cpp
|
|
@${REINPLACE_CMD} -Ee 's,(stat|mmap|lseek|off)64,\1,g' ${WRKSRC}/br.h \
|
|
${WRKSRC}/br.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mboxstats ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|