aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-20 23:07:30 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-20 23:07:30 +0800
commitdec4cf414f46970af4c339ca807046bc06046a08 (patch)
tree48d427bd6800cec888547b5420cbc39a04532e2f /misc
parenta8fb059727f0d1113e1e29d34cafd0053d3aa3c4 (diff)
downloadfreebsd-ports-graphics-dec4cf414f46970af4c339ca807046bc06046a08.tar.gz
freebsd-ports-graphics-dec4cf414f46970af4c339ca807046bc06046a08.tar.zst
freebsd-ports-graphics-dec4cf414f46970af4c339ca807046bc06046a08.zip
Support staging
Diffstat (limited to 'misc')
-rw-r--r--misc/phraze/Makefile11
-rw-r--r--misc/phraze/pkg-plist1
2 files changed, 5 insertions, 7 deletions
diff --git a/misc/phraze/Makefile b/misc/phraze/Makefile
index 07884f4d903..d319ed6c8cc 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 <bsd.port.mk>
diff --git a/misc/phraze/pkg-plist b/misc/phraze/pkg-plist
index 776d3a6086d..b52c1691250 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%%