Stagefy
This commit is contained in:
parent
27fc5ca938
commit
dd2f8f2d00
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357738
2 changed files with 8 additions and 17 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= tkhonyaku
|
||||
PORTVERSION= 1.8
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= japanese
|
||||
MASTER_SITES= http://www.yk.rim.or.jp/~kawagisi/
|
||||
|
||||
|
@ -18,20 +18,15 @@ NO_BUILD= yes
|
|||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -i '' -e 's|/usr/local/tkhonyaku|${PREFIX}/tkhonyaku|g' \
|
||||
${WRKSRC}/tkhonyaku ${WRKSRC}/tkhonyaku-readme
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/share/tkhonyaku
|
||||
${INSTALL_DATA} ${WRKSRC}/tkhonyaku.gif ${PREFIX}/share/tkhonyaku/
|
||||
${INSTALL_DATA} ${WRKSRC}/tkhonyaku.xpm ${PREFIX}/share/tkhonyaku/
|
||||
${INSTALL_DATA} ${WRKSRC}/colors.gif ${PREFIX}/share/tkhonyaku/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/tkhonyaku ${PREFIX}/bin/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tkhonyaku-readme ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/tkhonyaku.gif ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/tkhonyaku.xpm ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/colors.gif ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/tkhonyaku ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_DATA} ${WRKSRC}/tkhonyaku-readme ${STAGEDIR}${PORTDOCS}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
%%PORTDOCS%%%%DOCSDIR%%/tkhonyaku-readme
|
||||
share/tkhonyaku/tkhonyaku.gif
|
||||
share/tkhonyaku/tkhonyaku.xpm
|
||||
share/tkhonyaku/colors.gif
|
||||
bin/tkhonyaku
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm share/tkhonyaku
|
||||
%%PORTDOCS%%%%DOCSDIR%%
|
||||
%%DATADIR%%
|
||||
|
|
Loading…
Reference in a new issue