1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-11 09:28:57 +00:00
parent d097c93502
commit 1b56bc2df7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343723

View File

@ -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 <bsd.port.mk>