From owner-svn-ports-head@freebsd.org Tue Dec 5 19:15:51 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1718DE757B4; Tue, 5 Dec 2017 19:15:51 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C83CA6A2DF; Tue, 5 Dec 2017 19:15:50 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB5JFnLn062551; Tue, 5 Dec 2017 19:15:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB5JFnGG062545; Tue, 5 Dec 2017 19:15:49 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201712051915.vB5JFnGG062545@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 5 Dec 2017 19:15:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455608 - in head/science: . mcxtrace mcxtrace/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . mcxtrace mcxtrace/files X-SVN-Commit-Revision: 455608 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2017 19:15:51 -0000 Author: yuri Date: Tue Dec 5 19:15:49 2017 New Revision: 455608 URL: https://svnweb.freebsd.org/changeset/ports/455608 Log: New port: science/mcxtrace: Monte Carlo X-ray tracing package PR: 206505 Submitted by: Erik B Knudsen Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13216 Added: head/science/mcxtrace/ head/science/mcxtrace/Makefile (contents, props changed) head/science/mcxtrace/distinfo (contents, props changed) head/science/mcxtrace/files/ head/science/mcxtrace/files/patch-cmake_Modules_InstallMCCODE.cmake (contents, props changed) head/science/mcxtrace/pkg-descr (contents, props changed) head/science/mcxtrace/pkg-plist (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Tue Dec 5 19:12:08 2017 (r455607) +++ head/science/Makefile Tue Dec 5 19:15:49 2017 (r455608) @@ -96,6 +96,7 @@ SUBDIR += mbdyn SUBDIR += mcstas SUBDIR += mcstas-comps + SUBDIR += mcxtrace SUBDIR += medit SUBDIR += meep SUBDIR += mei Added: head/science/mcxtrace/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mcxtrace/Makefile Tue Dec 5 19:15:49 2017 (r455608) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= mcxtrace +DISTVERSION= 1.2 +DISTVERSIONSUFFIX= -src +CATEGORIES= science +MASTER_SITES= http://download.mcxtrace.org/${PORTNAME}-${DISTVERSION}/unix/mcxtrace-${DISTVERSION}-src/ + +MAINTAINER= erkn@fysik.dtu.dk +COMMENT= Monte Carlo X-ray tracing package + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/lib/LGPL + +USES= bison:build cmake:outsource + +PLIST_SUB= DISTVERSION=${DISTVERSION} + +MXEXECS= mcxtrace mxformat + +post-install: +.for e in ${MXEXECS} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PORTNAME}/${DISTVERSION}/bin/${e} + @${RLN} ${STAGEDIR}${PREFIX}/${PORTNAME}/${DISTVERSION}/bin/${e} ${STAGEDIR}${PREFIX}/bin/${e} +.endfor + @${RM} ${STAGEDIR}${PREFIX}/mcxtrace/${DISTVERSION}/LGPL + +.include Added: head/science/mcxtrace/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mcxtrace/distinfo Tue Dec 5 19:15:49 2017 (r455608) @@ -0,0 +1,3 @@ +TIMESTAMP = 1511475567 +SHA256 (mcxtrace-1.2-src.tar.gz) = 7202ff2c83ad24b6ff5dc7a601c529562492881596577dbb7ebefc025b09406a +SIZE (mcxtrace-1.2-src.tar.gz) = 266743 Added: head/science/mcxtrace/files/patch-cmake_Modules_InstallMCCODE.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mcxtrace/files/patch-cmake_Modules_InstallMCCODE.cmake Tue Dec 5 19:15:49 2017 (r455608) @@ -0,0 +1,22 @@ +--- cmake/Modules/InstallMCCODE.cmake.orig 2015-07-01 22:44:39 UTC ++++ cmake/Modules/InstallMCCODE.cmake +@@ -291,15 +291,14 @@ macro(installMCCODE) + # Man pages + install ( + FILES "${WORK}/doc/man/${FLAVOR}.1" +- DESTINATION ${FLAVOR}/${MCCODE_VERSION}/doc/man/man1 +- RENAME "${FLAVOR}${PROGRAM_SUFFIX}.1" ++ DESTINATION "man/man1" ++ RENAME "${FLAVOR}.1" + ) + install ( + FILES "${WORK}/doc/man/${FLAVOR_FMT}.1" +- DESTINATION "${FLAVOR}/${MCCODE_VERSION}/doc/man/man1" +- RENAME "${FLAVOR_FMT}${PROGRAM_SUFFIX}.1" ++ DESTINATION "man/man1" ++ RENAME "${FLAVOR_FMT}.1" + ) +- + # Binaries + install ( + PROGRAMS "${PROJECT_BINARY_DIR}/${FLAVOR}${DOT_EXE_SUFFIX}" Added: head/science/mcxtrace/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mcxtrace/pkg-descr Tue Dec 5 19:15:49 2017 (r455608) @@ -0,0 +1,9 @@ +McXtrace - Monte Carlo ray tracing simulations of X-ray experiments. + +McXtrace is a tool for simulating X-ray instrumentation and experiments using a +ray-tracing formalism. Currently the main use of McXtrace is in the field of +synchrotron beamline instrumentation design, but various other uses have been +found, such as designing X-ray telescopes or for laboratory source-based +equipment. + +WWW: http://www.mcxtrace.org Added: head/science/mcxtrace/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/mcxtrace/pkg-plist Tue Dec 5 19:15:49 2017 (r455608) @@ -0,0 +1,32 @@ +bin/mcxtrace +bin/mxformat +mcxtrace/%%DISTVERSION%%/LICENSE.LIB +mcxtrace/%%DISTVERSION%%/NOMENCLATURE +mcxtrace/%%DISTVERSION%%/README +mcxtrace/%%DISTVERSION%%/bin/mcxtrace +mcxtrace/%%DISTVERSION%%/bin/mxformat +mcxtrace/%%DISTVERSION%%/data/Al.nxs +mcxtrace/%%DISTVERSION%%/data/Cu.nxs +mcxtrace/%%DISTVERSION%%/environment +mcxtrace/%%DISTVERSION%%/module +mcxtrace/%%DISTVERSION%%/share/adapt_tree-lib.c +mcxtrace/%%DISTVERSION%%/share/adapt_tree-lib.h +mcxtrace/%%DISTVERSION%%/share/interoff-lib.c +mcxtrace/%%DISTVERSION%%/share/interoff-lib.h +mcxtrace/%%DISTVERSION%%/share/mccode-r.c +mcxtrace/%%DISTVERSION%%/share/mccode-r.h +mcxtrace/%%DISTVERSION%%/share/mcxtrace-r.c +mcxtrace/%%DISTVERSION%%/share/mcxtrace-r.h +mcxtrace/%%DISTVERSION%%/share/nxslib/README.TXT +mcxtrace/%%DISTVERSION%%/share/nxslib/nxs.c +mcxtrace/%%DISTVERSION%%/share/nxslib/nxs.h +mcxtrace/%%DISTVERSION%%/share/nxslib/sgclib.c +mcxtrace/%%DISTVERSION%%/share/nxslib/sgfind.c +mcxtrace/%%DISTVERSION%%/share/nxslib/sghkl.c +mcxtrace/%%DISTVERSION%%/share/nxslib/sginfo.h +mcxtrace/%%DISTVERSION%%/share/nxslib/sgio.c +mcxtrace/%%DISTVERSION%%/share/nxslib/sgsi.c +mcxtrace/%%DISTVERSION%%/share/read_table-lib.c +mcxtrace/%%DISTVERSION%%/share/read_table-lib.h +man/man1/mcxtrace.1.gz +man/man1/mxformat.1.gz