mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 20:36:30 -04:00
- Update to 1.8.3
PR: ports/160082 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
e2d23f571d
commit
35f49b60d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280994
4 changed files with 23 additions and 29 deletions
|
@ -6,41 +6,45 @@
|
|||
#
|
||||
|
||||
PORTNAME= mdtest
|
||||
PORTVERSION= 1.7.1
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 1.8.3
|
||||
CATEGORIES= benchmarks
|
||||
MASTER_SITES= http://www.llnl.gov/icc/lc/siop/downloads/
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20latest/${PORTNAME}-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A filesystem metadata benchmark utility
|
||||
|
||||
DEPRECATED= No more public distfiles
|
||||
EXPIRATION_DATE= 2011-09-01
|
||||
|
||||
PLIST_FILES= bin/mdtest
|
||||
LICENSE= GPLv2
|
||||
|
||||
OPTIONS= OPENMPI "Use openmpi instead of mpich2" off
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
PORTEXAMPLES= *
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
CFLAGS+= -DDarwin
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_OPENMPI)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:${PORTSDIR}/net/openmpi
|
||||
RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
|
||||
RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
|
||||
MPICC= ${LOCALBASE}/mpi/openmpi/bin/mpicc
|
||||
.else
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/libmpich.so:${PORTSDIR}/net/mpich2
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
|
||||
MPICC= ${LOCALBASE}/bin/mpicc
|
||||
.endif
|
||||
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= mdtest
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%MPICC%%|${MPICC}|' ${WRKSRC}/${MAKEFILE}
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${MPICC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
|
||||
|
||||
do-install:
|
||||
${STRIP_CMD} ${WRKSRC}/mdtest
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mdtest ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@(cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (mdtest-1.7.1.tar.gz) = 1ebe974d1c275c2abb9ab06a09506ab908718f2e6a73780956d0a89db40c3024
|
||||
SIZE (mdtest-1.7.1.tar.gz) = 11344
|
||||
SHA256 (mdtest-1.8.3.tgz) = 1367d9518b1320242e31f76d2865fde6ba145c94c73143dfb4108d7f469ab4bd
|
||||
SIZE (mdtest-1.8.3.tgz) = 28721
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
--- Makefile.orig Sun Apr 29 16:35:18 2007
|
||||
+++ Makefile Sun Apr 29 16:42:07 2007
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
CC.AIX = mpcc_r -bmaxdata:0x80000000
|
||||
CC.Linux = mpicc -Wall
|
||||
+CC.FreeBSD = %%MPICC%% -Wall
|
||||
|
||||
# Requires GNU Make
|
||||
OS=$(shell uname)
|
|
@ -1,4 +1,4 @@
|
|||
The mdtest software is used for testing the metadata
|
||||
performance of a file system.
|
||||
|
||||
WWW: http://www.llnl.gov/icc/lc/siop/
|
||||
WWW: http://sourceforge.net/projects/mdtest/
|
||||
|
|
Loading…
Add table
Reference in a new issue