Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 09:12:45 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346160 - head/mail/greyfix
Message-ID:  <201402260912.s1Q9CjTP018459@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260912.s1Q9CjTP018459>