aboutsummaryrefslogtreecommitdiffstats
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
parent248c03828b2ead922b9cb68058cef4122a92870b (diff)
downloadfreebsd-ports-gnome-243653ed8b9191f33d79be6a70d707ee0757e82e.tar.gz
freebsd-ports-gnome-243653ed8b9191f33d79be6a70d707ee0757e82e.tar.zst
freebsd-ports-gnome-243653ed8b9191f33d79be6a70d707ee0757e82e.zip
Support stage
-rw-r--r--news/ubh/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/news/ubh/Makefile b/news/ubh/Makefile
index fe59c728fc0c..486fe99df010 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>