aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 17:12:45 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 17:12:45 +0800
commit4a6cc497f49437fbef02a28e94e0a39e12117979 (patch)
treeb44d10e59eefb079293f733c8e9112f2d9fe3d6f /mail
parent1c403a9d6457314f8c1678ab4e7160a4c4f2bf52 (diff)
downloadfreebsd-ports-gnome-4a6cc497f49437fbef02a28e94e0a39e12117979.tar.gz
freebsd-ports-gnome-4a6cc497f49437fbef02a28e94e0a39e12117979.tar.zst
freebsd-ports-gnome-4a6cc497f49437fbef02a28e94e0a39e12117979.zip
Support staging
Diffstat (limited to 'mail')
-rw-r--r--mail/greyfix/Makefile11
1 files 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 <bsd.port.mk>