aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-19 14:34:25 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-19 14:34:25 +0000
commit3638151dfbf9b8d52d48083505aabad4d0fdac52 (patch)
treee3fc874f16617621f320533b1110b98aa84077ce /misc
parent2cd046de3eecb56f484ba401d7aa070f332552c6 (diff)
downloadports-3638151dfbf9b8d52d48083505aabad4d0fdac52.tar.gz
ports-3638151dfbf9b8d52d48083505aabad4d0fdac52.zip
Notes
Diffstat (limited to 'misc')
-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>