Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 02:00:17 +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: r338744 - head/benchmarks/hpl
Message-ID:  <201401050200.s0520HrF018806@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 02:00:17 2014
New Revision: 338744
URL: http://svnweb.freebsd.org/changeset/ports/338744

Log:
  Support stage

Modified:
  head/benchmarks/hpl/Makefile
  head/benchmarks/hpl/pkg-plist

Modified: head/benchmarks/hpl/Makefile
==============================================================================
--- head/benchmarks/hpl/Makefile	Sun Jan  5 01:53:38 2014	(r338743)
+++ head/benchmarks/hpl/Makefile	Sun Jan  5 02:00:17 2014	(r338744)
@@ -20,43 +20,8 @@ HPL_ARCH?=	FreeBSD_PIV_CBLAS
 MAKE_ARGS=	arch=${HPL_ARCH}
 ALL_TARGET=	build
 
-MAN3=		HPL_abort.3 HPL_all_reduce.3 HPL_barrier.3 HPL_bcast.3 \
-		HPL_binit.3 HPL_broadcast.3 HPL_bwait.3 HPL_copyL.3 \
-		HPL_daxpy.3 HPL_dcopy.3 HPL_dgemm.3 HPL_dgemv.3 HPL_dger.3 \
-		HPL_dlacpy.3 HPL_dlamch.3 HPL_dlange.3 HPL_dlaprnt.3 \
-		HPL_dlaswp00N.3 HPL_dlaswp01N.3 HPL_dlaswp01T.3 HPL_dlaswp02N.3 \
-		HPL_dlaswp03N.3 HPL_dlaswp03T.3 HPL_dlaswp04N.3 HPL_dlaswp04T.3 \
-		HPL_dlaswp05N.3 HPL_dlaswp05T.3 HPL_dlaswp06N.3 HPL_dlaswp06T.3 \
-		HPL_dlaswp10N.3 HPL_dlatcpy.3 HPL_dlocmax.3 HPL_dlocswpN.3 \
-		HPL_dlocswpT.3 HPL_dmatgen.3 HPL_dscal.3 HPL_dswap.3 HPL_dtrsm.3 \
-		HPL_dtrsv.3 HPL_equil.3 HPL_fprintf.3 HPL_grid_exit.3 \
-		HPL_grid_info.3 HPL_grid_init.3 HPL_idamax.3 HPL_indxg2l.3 \
-		HPL_indxg2lp.3 HPL_indxg2p.3 HPL_indxl2g.3 HPL_infog2l.3 \
-		HPL_jumpit.3 HPL_ladd.3 HPL_lmul.3 HPL_logsort.3 HPL_max.3 \
-		HPL_min.3 HPL_numroc.3 HPL_numrocI.3 HPL_pabort.3 HPL_packL.3 \
-		HPL_pddriver.3 HPL_pdfact.3 HPL_pdgesv.3 HPL_pdgesv0.3 \
-		HPL_pdgesvK1.3 HPL_pdgesvK2.3 HPL_pdinfo.3 HPL_pdlamch.3 \
-		HPL_pdlange.3 HPL_pdlaprnt.3 HPL_pdlaswp00N.3 HPL_pdlaswp00T.3 \
-		HPL_pdlaswp01N.3 HPL_pdlaswp01T.3 HPL_pdmatgen.3 HPL_pdmxswp.3 \
-		HPL_pdpancrN.3 HPL_pdpancrT.3 HPL_pdpanel_disp.3 \
-		HPL_pdpanel_free.3 HPL_pdpanel_init.3 HPL_pdpanel_new.3 \
-		HPL_pdpanllN.3 HPL_pdpanllT.3 HPL_pdpanrlN.3 HPL_pdpanrlT.3 \
-		HPL_pdrpancrN.3 HPL_pdrpancrT.3 HPL_pdrpanllN.3 HPL_pdrpanllT.3 \
-		HPL_pdrpanrlN.3 HPL_pdrpanrlT.3 HPL_pdtest.3 HPL_pdtrsv.3 \
-		HPL_pdupdateNN.3 HPL_pdupdateNT.3 HPL_pdupdateTN.3 \
-		HPL_pdupdateTT.3 HPL_perm.3 HPL_pipid.3 HPL_plindx0.3 \
-		HPL_plindx1.3 HPL_plindx10.3 HPL_pnum.3 HPL_ptimer.3 \
-		HPL_ptimer_cputime.3 HPL_ptimer_walltime.3 HPL_pwarn.3 \
-		HPL_rand.3 HPL_recv.3 HPL_reduce.3 HPL_rollN.3 HPL_rollT.3 \
-		HPL_sdrv.3 HPL_send.3 HPL_setran.3 HPL_spreadN.3 HPL_spreadT.3 \
-		HPL_sum.3 HPL_timer.3 HPL_timer_cputime.3 HPL_timer_walltime.3 \
-		HPL_warn.3 HPL_xjumpm.3
-
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|^TOPdir[ ]*=.*$$|TOPdir = ${WRKSRC}| ; \
 		s|^MPdir[ ]*=.*$$|MPdir = ${LOCALBASE}| ; \
@@ -76,17 +41,13 @@ post-patch:
 	@${REINPLACE_CMD} -e '/^build/s|$$| startup|' ${WRKSRC}/Makefile
 
 do-install:
-	${MKDIR} ${PREFIX}/etc/${PORTNAME}
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/${HPL_ARCH}/xhpl ${PREFIX}/bin/
-	${INSTALL_DATA} ${WRKSRC}/bin/${HPL_ARCH}/HPL.dat ${PREFIX}/etc/${PORTNAME}/
-.for man in ${MAN3}
-	${INSTALL_MAN} ${WRKSRC}/man/man3/${man} ${MANPREFIX}/man/man3/
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${ETCDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${HPL_ARCH}/xhpl ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/bin/${HPL_ARCH}/HPL.dat ${STAGEDIR}${ETCDIR}
+	${INSTALL_MAN} ${WRKSRC}/man/man3/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in BUGS COPYRIGHT HISTORY README TODO TUNING
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/benchmarks/hpl/pkg-plist
==============================================================================
--- head/benchmarks/hpl/pkg-plist	Sun Jan  5 01:53:38 2014	(r338743)
+++ head/benchmarks/hpl/pkg-plist	Sun Jan  5 02:00:17 2014	(r338744)
@@ -7,4 +7,128 @@ etc/hpl/HPL.dat
 %%PORTDOCS%%%%DOCSDIR%%/TODO
 %%PORTDOCS%%%%DOCSDIR%%/TUNING
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
+man/man3/HPL_abort.3.gz
+man/man3/HPL_all_reduce.3.gz
+man/man3/HPL_barrier.3.gz
+man/man3/HPL_bcast.3.gz
+man/man3/HPL_binit.3.gz
+man/man3/HPL_broadcast.3.gz
+man/man3/HPL_bwait.3.gz
+man/man3/HPL_copyL.3.gz
+man/man3/HPL_daxpy.3.gz
+man/man3/HPL_dcopy.3.gz
+man/man3/HPL_dgemm.3.gz
+man/man3/HPL_dgemv.3.gz
+man/man3/HPL_dger.3.gz
+man/man3/HPL_dlacpy.3.gz
+man/man3/HPL_dlamch.3.gz
+man/man3/HPL_dlange.3.gz
+man/man3/HPL_dlaprnt.3.gz
+man/man3/HPL_dlaswp00N.3.gz
+man/man3/HPL_dlaswp01N.3.gz
+man/man3/HPL_dlaswp01T.3.gz
+man/man3/HPL_dlaswp02N.3.gz
+man/man3/HPL_dlaswp03N.3.gz
+man/man3/HPL_dlaswp03T.3.gz
+man/man3/HPL_dlaswp04N.3.gz
+man/man3/HPL_dlaswp04T.3.gz
+man/man3/HPL_dlaswp05N.3.gz
+man/man3/HPL_dlaswp05T.3.gz
+man/man3/HPL_dlaswp06N.3.gz
+man/man3/HPL_dlaswp06T.3.gz
+man/man3/HPL_dlaswp10N.3.gz
+man/man3/HPL_dlatcpy.3.gz
+man/man3/HPL_dlocmax.3.gz
+man/man3/HPL_dlocswpN.3.gz
+man/man3/HPL_dlocswpT.3.gz
+man/man3/HPL_dmatgen.3.gz
+man/man3/HPL_dscal.3.gz
+man/man3/HPL_dswap.3.gz
+man/man3/HPL_dtrsm.3.gz
+man/man3/HPL_dtrsv.3.gz
+man/man3/HPL_equil.3.gz
+man/man3/HPL_fprintf.3.gz
+man/man3/HPL_grid_exit.3.gz
+man/man3/HPL_grid_info.3.gz
+man/man3/HPL_grid_init.3.gz
+man/man3/HPL_idamax.3.gz
+man/man3/HPL_indxg2l.3.gz
+man/man3/HPL_indxg2lp.3.gz
+man/man3/HPL_indxg2p.3.gz
+man/man3/HPL_indxl2g.3.gz
+man/man3/HPL_infog2l.3.gz
+man/man3/HPL_jumpit.3.gz
+man/man3/HPL_ladd.3.gz
+man/man3/HPL_lmul.3.gz
+man/man3/HPL_logsort.3.gz
+man/man3/HPL_max.3.gz
+man/man3/HPL_min.3.gz
+man/man3/HPL_numroc.3.gz
+man/man3/HPL_numrocI.3.gz
+man/man3/HPL_pabort.3.gz
+man/man3/HPL_packL.3.gz
+man/man3/HPL_pddriver.3.gz
+man/man3/HPL_pdfact.3.gz
+man/man3/HPL_pdgesv.3.gz
+man/man3/HPL_pdgesv0.3.gz
+man/man3/HPL_pdgesvK1.3.gz
+man/man3/HPL_pdgesvK2.3.gz
+man/man3/HPL_pdinfo.3.gz
+man/man3/HPL_pdlamch.3.gz
+man/man3/HPL_pdlange.3.gz
+man/man3/HPL_pdlaprnt.3.gz
+man/man3/HPL_pdlaswp00N.3.gz
+man/man3/HPL_pdlaswp00T.3.gz
+man/man3/HPL_pdlaswp01N.3.gz
+man/man3/HPL_pdlaswp01T.3.gz
+man/man3/HPL_pdmatgen.3.gz
+man/man3/HPL_pdmxswp.3.gz
+man/man3/HPL_pdpancrN.3.gz
+man/man3/HPL_pdpancrT.3.gz
+man/man3/HPL_pdpanel_disp.3.gz
+man/man3/HPL_pdpanel_free.3.gz
+man/man3/HPL_pdpanel_init.3.gz
+man/man3/HPL_pdpanel_new.3.gz
+man/man3/HPL_pdpanllN.3.gz
+man/man3/HPL_pdpanllT.3.gz
+man/man3/HPL_pdpanrlN.3.gz
+man/man3/HPL_pdpanrlT.3.gz
+man/man3/HPL_pdrpancrN.3.gz
+man/man3/HPL_pdrpancrT.3.gz
+man/man3/HPL_pdrpanllN.3.gz
+man/man3/HPL_pdrpanllT.3.gz
+man/man3/HPL_pdrpanrlN.3.gz
+man/man3/HPL_pdrpanrlT.3.gz
+man/man3/HPL_pdtest.3.gz
+man/man3/HPL_pdtrsv.3.gz
+man/man3/HPL_pdupdateNN.3.gz
+man/man3/HPL_pdupdateNT.3.gz
+man/man3/HPL_pdupdateTN.3.gz
+man/man3/HPL_pdupdateTT.3.gz
+man/man3/HPL_perm.3.gz
+man/man3/HPL_pipid.3.gz
+man/man3/HPL_plindx0.3.gz
+man/man3/HPL_plindx1.3.gz
+man/man3/HPL_plindx10.3.gz
+man/man3/HPL_pnum.3.gz
+man/man3/HPL_ptimer.3.gz
+man/man3/HPL_ptimer_cputime.3.gz
+man/man3/HPL_ptimer_walltime.3.gz
+man/man3/HPL_pwarn.3.gz
+man/man3/HPL_rand.3.gz
+man/man3/HPL_recv.3.gz
+man/man3/HPL_reduce.3.gz
+man/man3/HPL_rollN.3.gz
+man/man3/HPL_rollT.3.gz
+man/man3/HPL_sdrv.3.gz
+man/man3/HPL_send.3.gz
+man/man3/HPL_setran.3.gz
+man/man3/HPL_spreadN.3.gz
+man/man3/HPL_spreadT.3.gz
+man/man3/HPL_sum.3.gz
+man/man3/HPL_timer.3.gz
+man/man3/HPL_timer_cputime.3.gz
+man/man3/HPL_timer_walltime.3.gz
+man/man3/HPL_warn.3.gz
+man/man3/HPL_xjumpm.3.gz
 @dirrm etc/hpl



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