From b477471e00841f748252396d9f0892ef89b22027 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Wed, 26 Feb 2014 09:12:45 +0000 Subject: [PATCH] Support staging --- mail/greyfix/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/mail/greyfix/Makefile b/mail/greyfix/Makefile index 6cf65cdf4708..3ea3d41064ef 100644 --- a/mail/greyfix/Makefile +++ b/mail/greyfix/Makefile @@ -17,16 +17,13 @@ CONFIGURE_ARGS= --with-berkeleydb-libdir=${BDB_LIB_DIR} \ --with-berkeleydb-includedir=${BDB_INCLUDE_DIR} \ --localstatedir=/var -NO_STAGE= yes post-patch: @${REINPLACE_CMD} 's|-ldb|-l${BDB_LIB_NAME}|g' ${WRKSRC}/configure - @${REINPLACE_CMD} 's|$$(localstatedir)/lib|$$(localstatedir)/db|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} 's|$$(localstatedir)/lib|$$(localstatedir)/db|' \ + ${WRKSRC}/Makefile.in do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/greyfix ${PREFIX}/sbin - @${INSTALL} -o nobody -m 700 -d /var/db/greyfix - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/greyfix ${STAGEDIR}${PREFIX}/sbin + ${INSTALL} -o nobody -m 700 -d ${STAGEDIR}/var/db/greyfix .include