aboutsummaryrefslogtreecommitdiffstats
path: root/news/ubh
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-27 17:35:29 +0800
committerbapt <bapt@FreeBSD.org>2013-12-27 17:35:29 +0800
commit243653ed8b9191f33d79be6a70d707ee0757e82e (patch)
treea018bc270e90670231f416814c7e9f0e49031af6 /news/ubh
parent248c03828b2ead922b9cb68058cef4122a92870b (diff)
downloadfreebsd-ports-graphics-243653ed8b9191f33d79be6a70d707ee0757e82e.tar.gz
freebsd-ports-graphics-243653ed8b9191f33d79be6a70d707ee0757e82e.tar.zst
freebsd-ports-graphics-243653ed8b9191f33d79be6a70d707ee0757e82e.zip
Support stage
Diffstat (limited to 'news/ubh')
-rw-r--r--news/ubh/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/news/ubh/Makefile b/news/ubh/Makefile
index fe59c728fc0..486fe99df01 100644
--- a/news/ubh/Makefile
+++ b/news/ubh/Makefile
@@ -20,18 +20,15 @@ RUN_DEPENDS= \
NO_BUILD= YES
USES= perl5
-NO_STAGE= yes
pre-patch:
@${MV} ${WRKSRC}/ubh ${WRKSRC}/ubh.old
@${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
${WRKSRC}/ubh.old > ${WRKSRC}/ubh
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/ubh ${PREFIX}/bin
- ${CP} -R ${WRKSRC}/examples ${PREFIX}/share/ubh
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ubh
- ${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${PREFIX}/share/doc/ubh
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/ubh ${STAGEDIR}${PREFIX}/bin
+ ${CP} -R ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/ubh
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ubh
+ ${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${STAGEDIR}${PREFIX}/share/doc/ubh
.include <bsd.port.mk>