- Convert to USE=tk
- STAGE-clean - Convert to OPTIONSng (DOCS)
This commit is contained in:
parent
b924964cfa
commit
f76713321d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334500
1 changed files with 16 additions and 10 deletions
|
@ -13,6 +13,8 @@ COMMENT= Jabber client with whiteboard communication
|
|||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
RUN_DEPENDS= snack>=0:${PORTSDIR}/audio/snack \
|
||||
tcltls>=0:${PORTSDIR}/devel/tcltls \
|
||||
tkpng>=0:${PORTSDIR}/graphics/tkpng \
|
||||
|
@ -21,26 +23,30 @@ RUN_DEPENDS= snack>=0:${PORTSDIR}/audio/snack \
|
|||
|
||||
NO_BUILD= yes
|
||||
|
||||
USE_TK_WRAPPER= yes
|
||||
USES= tk
|
||||
|
||||
LIBTARGETDIR= ${PREFIX}/${PORTNAME}
|
||||
PLIST_SUB= LIBTARGETDIR="${PORTNAME}"
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e '1s|/usr/bin/env wish|${WISH}|' ${WRKSRC}/Coccinella.tcl
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${LIBTARGETDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${LIBTARGETDIR}
|
||||
@${LN} -sf ${LIBTARGETDIR}/Coccinella.tcl ${PREFIX}/bin/coccinella
|
||||
@${MKDIR} ${STAGEDIR}${LIBTARGETDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${STAGEDIR}${LIBTARGETDIR}
|
||||
@${LN} -sf ${LIBTARGETDIR}/Coccinella.tcl ${STAGEDIR}${PREFIX}/bin/coccinella
|
||||
.for dir in TclXML certificates components contrib docs httpd iconsets items \
|
||||
jabber jabberlib lib msgs plugins po resources themes whiteboard xmpp
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${LIBTARGETDIR})
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${LIBTARGETDIR})
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for file in AUTHORS.txt CHANGES.txt README.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} READMEs ${DOCSDIR})
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} READMEs ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue