aboutsummaryrefslogtreecommitdiff
path: root/mail/greyfix
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-26 09:12:45 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-26 09:12:45 +0000
commitb477471e00841f748252396d9f0892ef89b22027 (patch)
treeb44d10e59eefb079293f733c8e9112f2d9fe3d6f /mail/greyfix
parent5921819ffbd85d432eaeff83605e8d6497c351f4 (diff)
downloadports-b477471e00841f748252396d9f0892ef89b22027.tar.gz
ports-b477471e00841f748252396d9f0892ef89b22027.zip
Support staging
Notes
Notes: svn path=/head/; revision=346160
Diffstat (limited to 'mail/greyfix')
-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>