mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Stage support
This commit is contained in:
parent
d097c93502
commit
1b56bc2df7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343723
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user