aboutsummaryrefslogtreecommitdiff
path: root/mail/mboxstats
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-21 08:58:29 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-21 08:58:29 +0000
commite9c8cd4558f64e568dadf62bffcc72f92f84b553 (patch)
treec0d403c6e65810a1c04e842cc1ae51ca35e2aa90 /mail/mboxstats
parent7e32a31a5780f10744dcf0339cc7e2f66d81aca8 (diff)
downloadports-e9c8cd4558f64e568dadf62bffcc72f92f84b553.tar.gz
ports-e9c8cd4558f64e568dadf62bffcc72f92f84b553.zip
Notes
Diffstat (limited to 'mail/mboxstats')
-rw-r--r--mail/mboxstats/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/mboxstats/Makefile b/mail/mboxstats/Makefile
index 73ca5e3051d4..322f8ccc9d3f 100644
--- a/mail/mboxstats/Makefile
+++ b/mail/mboxstats/Makefile
@@ -12,18 +12,16 @@ COMMENT= Creates top-10 lists of the messages in a mailbox
PLIST_FILES= bin/mboxstats
-NO_STAGE= 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}
@${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
+ @${REINPLACE_CMD} -Ee 's,(stat|mmap|lseek|off)64,\1,g' ${WRKSRC}/br.h \
+ ${WRKSRC}/br.cpp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mboxstats ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mboxstats ${STAGEDIR}${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>