From e9c8cd4558f64e568dadf62bffcc72f92f84b553 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 21 Feb 2014 08:58:29 +0000 Subject: [PATCH] Support staging --- mail/mboxstats/Makefile | 10 ++++------ 1 file 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 - 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 +.include