Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 09:35:29 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337667 - head/news/ubh
Message-ID:  <201312270935.rBR9ZTCa056120@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 09:35:29 2013
New Revision: 337667
URL: http://svnweb.freebsd.org/changeset/ports/337667

Log:
  Support stage

Modified:
  head/news/ubh/Makefile

Modified: head/news/ubh/Makefile
==============================================================================
--- head/news/ubh/Makefile	Fri Dec 27 09:33:23 2013	(r337666)
+++ head/news/ubh/Makefile	Fri Dec 27 09:35:29 2013	(r337667)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312270935.rBR9ZTCa056120>