aboutsummaryrefslogtreecommitdiffstats
path: root/misc/chord2html/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/chord2html/Makefile')
-rw-r--r--misc/chord2html/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/chord2html/Makefile b/misc/chord2html/Makefile
index b03939bfc9fb..fee6785ee08e 100644
--- a/misc/chord2html/Makefile
+++ b/misc/chord2html/Makefile
@@ -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>