mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
Approved by: portmgr@
This commit is contained in:
parent
2cd046de3e
commit
3638151dfb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358421
@ -16,21 +16,18 @@ USES= shebangfix perl5
|
||||
NO_BUILD= yes
|
||||
SHEBANG_FILES= chord2html
|
||||
|
||||
MAN1= chord2html.1
|
||||
|
||||
PLIST_FILES= bin/chord2html share/chord2html/chord2html.css
|
||||
PLIST_FILES= bin/chord2html share/chord2html/chord2html.css man/man1/chord2html.1.gz
|
||||
PLIST_DIRS= share/chord2html
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -i '' -e "s,%%PREFIX%%,${PREFIX},g ; \
|
||||
s,chord2html.css,${PREFIX}/share/chord2html/chord2html.css," \
|
||||
${WRKSRC}/chord2html
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/chord2html ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/chord2html.css ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/chord2html ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/chord2html.css ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user