Date: Thu, 16 Jan 2014 16:43:24 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339931 - head/benchmarks/mdtest Message-ID: <201401161643.s0GGhOH7090548@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <quakelee@cn.freebsd.org> # $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 <bsd.port.options.mk> @@ -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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401161643.s0GGhOH7090548>