From 6e8c6236cc8642f2eb09ee62c78055ae193cb0f6 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 20 Mar 2014 15:07:30 +0000 Subject: [PATCH] Support staging --- misc/phraze/Makefile | 11 ++++------- misc/phraze/pkg-plist | 1 + 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/misc/phraze/Makefile b/misc/phraze/Makefile index 07884f4d9036..d319ed6c8cca 100644 --- a/misc/phraze/Makefile +++ b/misc/phraze/Makefile @@ -12,17 +12,14 @@ COMMENT= Converts telephone number to combinations of valid words USE_RUBY= yes NO_BUILD= yes -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|^#!/usr/bin/ruby|#!${RUBY}|; \ s|/usr/share/phraze|${DATADIR}|' ${WRKSRC}/phraze ${WRKSRC}/phraze.1 do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/wordlist.phr ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/phraze ${PREFIX}/bin/phraze - ${INSTALL_MAN} ${WRKSRC}/phraze.1 ${PREFIX}/man/man1/ - -MAN1= phraze.1 + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/wordlist.phr ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/phraze ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/phraze.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/misc/phraze/pkg-plist b/misc/phraze/pkg-plist index 776d3a6086d8..b52c16912507 100644 --- a/misc/phraze/pkg-plist +++ b/misc/phraze/pkg-plist @@ -1,3 +1,4 @@ bin/phraze +man/man1/phraze.1.gz %%DATADIR%%/wordlist.phr @dirrm %%DATADIR%%