Date: Thu, 3 Apr 2014 01:36:22 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349964 - head/mail/qtools Message-ID: <201404030136.s331aMP8087940@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Thu Apr 3 01:36:21 2014 New Revision: 349964 URL: http://svnweb.freebsd.org/changeset/ports/349964 QAT: https://qat.redports.org/buildarchive/r349964/ Log: - Support staging This uses similar methods as dns/djbdns from r346769 and r349241 Modified: head/mail/qtools/Makefile Modified: head/mail/qtools/Makefile ============================================================================== --- head/mail/qtools/Makefile Thu Apr 3 01:36:15 2014 (r349963) +++ head/mail/qtools/Makefile Thu Apr 3 01:36:21 2014 (r349964) @@ -13,9 +13,8 @@ COMMENT= Tools to use in .qmail files RUN_DEPENDS= ${EZMLM_DIR}/bin/ezmlm-weed:${PORTSDIR}/mail/ezmlm USES= qmail:vars -NO_STAGE= yes -ALL_TARGET= it +ALL_TARGET= prog INSTALL_TARGET= setup check RESTRICTED= Possibly restricted binary distribution of modified versions @@ -32,4 +31,14 @@ do-configure: @${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail @${ECHO_CMD} "${EZMLM_DIR}/bin/ezmlm" > ${WRKSRC}/conf-ezmlm +# Do a dance to stage and keep out of resulting binaries (see r346769 +# and r349241) +pre-install: + @${MV} -f ${WRKSRC}/conf-home ${WRKSRC}/conf-home.sav + @${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-home + @cd ${WRKSRC} ; ${RM} -f install instcheck install.o instcheck.o hier.o auto_home.o + @cd ${WRKSRC} ; ${MAKE_CMD} install instcheck + @${TOUCH} ${WRKSRC}/replier-config + @${MV} -f ${WRKSRC}/conf-home.sav ${WRKSRC}/conf-home + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404030136.s331aMP8087940>