aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-19 22:34:25 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-19 22:34:25 +0800
commit1f6f7ed8b0c426a2c629bb863b9b0645808af7ba (patch)
treee3fc874f16617621f320533b1110b98aa84077ce
parent3847d3f8c5b912f668db6af97e844e0bdca1157d (diff)
downloadfreebsd-ports-gnome-1f6f7ed8b0c426a2c629bb863b9b0645808af7ba.tar.gz
freebsd-ports-gnome-1f6f7ed8b0c426a2c629bb863b9b0645808af7ba.tar.zst
freebsd-ports-gnome-1f6f7ed8b0c426a2c629bb863b9b0645808af7ba.zip
Stagify.
Approved by: portmgr@
-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>