From 1b56bc2df782eb46b6c79d5b9b700d6a572c5682 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Tue, 11 Feb 2014 09:28:57 +0000 Subject: [PATCH] - Stage support --- mail/bsfilter/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/mail/bsfilter/Makefile b/mail/bsfilter/Makefile index bc2f83770fcb..5d0fbf7f37a3 100644 --- a/mail/bsfilter/Makefile +++ b/mail/bsfilter/Makefile @@ -30,18 +30,13 @@ RUN_DEPENDS+= ja-${RUBY_PKGNAMEPREFIX}mecab>=0:${PORTSDIR}/japanese/ruby-mecab .endif do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/bsfilter/${PORTNAME} ${PREFIX}/bin/${PORTNAME} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_SCRIPT} ${WRKSRC}/bsfilter/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for FILE in bsfilter.conf.sample dot-qmail.sample - @${INSTALL_DATA} ${FILESDIR}/${FILE} ${EXAMPLESDIR} + @${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${EXAMPLESDIR} .endfor .for DIR in mda mua - @${CP} -r ${WRKSRC}/${DIR} ${EXAMPLESDIR}/${DIR} + @${CP} -r ${WRKSRC}/${DIR} ${STAGEDIR}${EXAMPLESDIR}/${DIR} .endfor -.endif - -post-install: - @${CAT} ${PKGMESSAGE} .include