svn commit: r346160 - head/mail/greyfix
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Feb 26 09:12:45 UTC 2014
Author: ehaupt
Date: Wed Feb 26 09:12:45 2014
New Revision: 346160
URL: http://svnweb.freebsd.org/changeset/ports/346160
QAT: https://qat.redports.org/buildarchive/r346160/
Log:
Support staging
Modified:
head/mail/greyfix/Makefile
Modified: head/mail/greyfix/Makefile
==============================================================================
--- head/mail/greyfix/Makefile Wed Feb 26 09:11:37 2014 (r346159)
+++ head/mail/greyfix/Makefile Wed Feb 26 09:12:45 2014 (r346160)
@@ -17,16 +17,13 @@ CONFIGURE_ARGS= --with-berkeleydb-libdir
--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>
More information about the svn-ports-all
mailing list