Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2014 15:42:01 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340189 - head/benchmarks/dbs
Message-ID:  <201401181542.s0IFg1bk017590@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jan 18 15:42:01 2014
New Revision: 340189
URL: http://svnweb.freebsd.org/changeset/ports/340189
QAT: https://qat.redports.org/buildarchive/r340189/

Log:
  Stage support

Modified:
  head/benchmarks/dbs/Makefile

Modified: head/benchmarks/dbs/Makefile
==============================================================================
--- head/benchmarks/dbs/Makefile	Sat Jan 18 15:30:31 2014	(r340188)
+++ head/benchmarks/dbs/Makefile	Sat Jan 18 15:42:01 2014	(r340189)
@@ -26,9 +26,6 @@ PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|/usr/local/bin/perl|${PERL}|' ${WRKSRC}/script/dbs_view
@@ -38,22 +35,18 @@ pre-build:
 
 do-install:
 .for bin in dbsc dbsd
-	cd ${INSTALL_WRKSRC}; ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${bin} ${STAGEDIR}${PREFIX}/bin
 .endfor
 .for bin in dbs_view
-	cd ${WRKSRC}/script; ${INSTALL_SCRIPT} ${bin} ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/script/${bin} ${STAGEDIR}${PREFIX}/bin
 .endfor
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in Copyright dbs.man dbs.man.jis dbs_paper.ps
-	cd ${WRKSRC}/doc; ${INSTALL_DATA} ${doc} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for ex in TCP2.cmd TCPvsMPEG.cmd
-	cd ${WRKSRC}/sample; ${INSTALL_DATA} ${ex} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/sample/${ex} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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