svn commit: r349964 - head/mail/qtools
Bryan Drewery
bdrewery at FreeBSD.org
Thu Apr 3 01:36:22 UTC 2014
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>
More information about the svn-ports-head
mailing list