aboutsummaryrefslogtreecommitdiff
path: root/news/ubh
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 09:35:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 09:35:29 +0000
commit6524537c5c6925ad0dd4bf3b82724d06b51a7cd7 (patch)
treea018bc270e90670231f416814c7e9f0e49031af6 /news/ubh
parent08e4dbaeae6e7620123d6e30b05fb0c7562bc099 (diff)
downloadports-6524537c5c6925ad0dd4bf3b82724d06b51a7cd7.tar.gz
ports-6524537c5c6925ad0dd4bf3b82724d06b51a7cd7.zip
Support stage
Notes
Notes: svn path=/head/; revision=337667
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 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>