From owner-svn-ports-all@FreeBSD.ORG Thu Jan 16 16:43:24 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D14ABB20; Thu, 16 Jan 2014 16:43:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A44131EEE; Thu, 16 Jan 2014 16:43:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0GGhOPm090549; Thu, 16 Jan 2014 16:43:24 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0GGhOH7090548; Thu, 16 Jan 2014 16:43:24 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201401161643.s0GGhOH7090548@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 16 Jan 2014 16:43:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339931 - head/benchmarks/mdtest X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 16:43:24 -0000 Author: danfe Date: Thu Jan 16 16:43:24 2014 New Revision: 339931 URL: http://svnweb.freebsd.org/changeset/ports/339931 QAT: https://qat.redports.org/buildarchive/r339931/ Log: - Remove trailing space added in r339920, please don't do that :( - Move OPTIONS block down within Makefile where it is usually placed, sort PLIST-related knobs - Convert clumsy "cd foo && ..." to our standard, $cwd-agnostic, shorter, and more readable constructs (and avoid needless line-wrapping) Modified: head/benchmarks/mdtest/Makefile Modified: head/benchmarks/mdtest/Makefile ============================================================================== --- head/benchmarks/mdtest/Makefile Thu Jan 16 16:38:18 2014 (r339930) +++ head/benchmarks/mdtest/Makefile Thu Jan 16 16:43:24 2014 (r339931) @@ -1,6 +1,6 @@ # Created by: Chao Shin # $FreeBSD$ - + PORTNAME= mdtest PORTVERSION= 1.9.3 CATEGORIES= benchmarks @@ -12,15 +12,15 @@ COMMENT= Filesystem metadata benchmark u LICENSE= GPLv2 -OPTIONS_DEFINE= OPENMPI EXAMPLES -OPENMPI_DESC= Use Open MPI instead of MPICH2 - NO_WRKSUBDIR= yes CFLAGS+= -DDarwin -PORTEXAMPLES= * PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz +PORTEXAMPLES= * + +OPTIONS_DEFINE= OPENMPI EXAMPLES +OPENMPI_DESC= Use Open MPI instead of MPICH2 .include @@ -38,12 +38,9 @@ do-build: (cd ${WRKSRC} && ${MPICC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lm) do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 \ - ${STAGEDIR}${MANPREFIX}/man/man1) + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - (cd ${WRKSRC}/scripts && ${INSTALL_DATA} * \ - ${STAGEDIR}${EXAMPLESDIR}) + ${INSTALL_DATA} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR} .include