FreeBSD Bugzilla – Attachment 154115 Details for
Bug 194849
[new port] science/mcstas-tools-p5: Perl base utility tools for the McStas Monte Carlo neutron ray tracing package
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
p5-mcstas-tools port reworked
p5-mcstas-tools.diff (text/plain), 8.39 KB, created by
Rodrigo Osorio
on 2015-03-09 23:33:58 UTC
(
hide
)
Description:
p5-mcstas-tools port reworked
Filename:
MIME Type:
Creator:
Rodrigo Osorio
Created:
2015-03-09 23:33:58 UTC
Size:
8.39 KB
patch
obsolete
>Index: science/p5-mcstas-tools/Makefile >=================================================================== >--- science/p5-mcstas-tools/Makefile (revision 0) >+++ science/p5-mcstas-tools/Makefile (working copy) >@@ -0,0 +1,36 @@ >+# Created by: Erik B Knudsen >+# $FreeBSD$ >+ >+PORTNAME= p5-mcstas-tools >+PORTVERSION= 2.1 >+ >+METANAME= McStas-${PORTVERSION}-UNIX-src >+ >+CATEGORIES= science >+MASTER_SITES= http://download.mcstas.org/mcstas-${PORTVERSION}/unix/ >+DISTNAME= McStas-${PORTVERSION}-UNIX-src >+ >+ >+MAINTAINER= erkn@fysik.dtu.dk >+COMMENT= Component Library for the McXtrace Monte Carlo X-ray tracing package >+ >+LICENSE= GPLv2 >+ >+USES= cmake gmake perl5 >+ >+CMAKE_ARGS= "-Denable_mcstas=1" >+ >+GNU_CONFIGURE= yes >+ >+RUN_DEPENDS= p5-Tk>0:${PORTSDIR}/x11-toolkits/p5-Tk \ >+ p5-PGPLOT>=2.21:${PORTSDIR}/graphics/p5-PGPLOT >+ #PDL:${PORTSDIR}/math/PDL \ >+ >+WRKSRC= ${WRKDIR}/mcstas-tools-perl-2.1-src >+ >+do-extract: >+ @(cd ${WRKDIR} && tar -xzf ${DISTDIR}/${DISTFILES} McStas-2.1-UNIX-src/mcstas-tools-perl-${PORTVERSION}-src.tar.gz \ >+ && ${TAR} -xzf McStas-2.1-UNIX-src/mcstas-tools-perl-${PORTVERSION}-src.tar.gz ); >+ >+ >+.include <bsd.port.mk> > >Property changes on: science/p5-mcstas-tools/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: science/p5-mcstas-tools/distinfo >=================================================================== >--- science/p5-mcstas-tools/distinfo (revision 0) >+++ science/p5-mcstas-tools/distinfo (working copy) >@@ -0,0 +1,2 @@ >+SHA256 (McStas-2.1-UNIX-src.tar.gz) = 70d5b33d67ea9b8e4c276b4e8c7ece907ac28ec63f523d7e0cbcc9e425b4aaf4 >+SIZE (McStas-2.1-UNIX-src.tar.gz) = 27807879 > >Property changes on: science/p5-mcstas-tools/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: science/p5-mcstas-tools/pkg-deinstall >=================================================================== >--- science/p5-mcstas-tools/pkg-deinstall (revision 0) >+++ science/p5-mcstas-tools/pkg-deinstall (working copy) >@@ -0,0 +1,30 @@ >+#!/bin/sh >+ >+PKG_PREFIX=${PKG_PREFIX:-/usr/local} >+ >+if [ $# -ne 2 ]; then >+ echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 >+ exit 1 >+fi >+ >+pname=${1%-*} >+pversion=${1##*-} >+ >+#echo the extracted port name is $pname >+#echo the extracted port version is $pversion >+ >+execs="mcdaemon mcdisplay mcdoc mcformatgui mcgui mcresplot mcrun mcstas2vitess" >+ >+case $2 in >+ DEINSTALL) >+ >+ if [ ! -f "${PKG_PREFIX}/bin" ]; then >+ echo "Deinstalling links to ${1} executables in ${PKG_PREFIX}/bin."; >+ for target in ${execs}; do >+ rm ${PKG_PREFIX}/bin/${target}; >+ done >+ fi >+ ;; >+esac >+ >+exit 0 > >Property changes on: science/p5-mcstas-tools/pkg-deinstall >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: science/p5-mcstas-tools/pkg-descr >=================================================================== >--- science/p5-mcstas-tools/pkg-descr (revision 0) >+++ science/p5-mcstas-tools/pkg-descr (working copy) >@@ -0,0 +1,20 @@ >+McStas perl tools for aiding in running neutron ray tracing simulations. >+ >+McStas is a tool for simulating neutron instrumentation and experiments using a >+ray-tracing formalism. Currently the main use of McStas is in the field of >+instrumentation design. >+ >+This port contains a few perl-based helper tools (including a GUI) to aid the >+user in setting up and running simulations. The tools are: >+mcgui: A Tk/Perl based GUI. >+mcrun: A Script that makes it easy to run sims and perform >+ point scans and simple optimizations. >+mcdoc: Script for viewing inline component documentation. >+mcplot: Tool for plotting McXtrace-generated results. >+mcdisplay: Visual ray-tracing displaying x-ray phton trajectories. >+mcformatgui: Front-end to mxformat to help reformatting data-files (obsolescent). >+mcdaemon: Deamon to dynamically monitor and plot incoming results (obsolescent). >+mcstas2vitess: Tool to transfer a McStas simulation to ViTESS. >+mcresplot: Script to help plotting resolution functions. >+ >+WWW: http://www.mcstas.org > >Property changes on: science/p5-mcstas-tools/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: science/p5-mcstas-tools/pkg-install >=================================================================== >--- science/p5-mcstas-tools/pkg-install (revision 0) >+++ science/p5-mcstas-tools/pkg-install (working copy) >@@ -0,0 +1,29 @@ >+#!/bin/sh >+ >+PKG_PREFIX=${PKG_PREFIX:-/usr/local} >+ >+if [ $# -ne 2 ]; then >+ echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 >+ exit 1 >+fi >+ >+pname=${1%-*} >+pversion=${1##*-} >+ >+#echo the extracted port name is $pname >+#echo the extracted port version is $pversion >+ >+execs="mcdaemon mcdisplay mcdoc mcformatgui mcgui mcplot mcresplot mcrun mcstas2vitess" >+ >+case $2 in >+ POST-INSTALL) >+ if [ ! -f "${PKG_PREFIX}/bin" ]; then >+ echo "Installing links to ${1} executables in ${PKG_PREFIX}/bin."; >+ for target in ${execs}; do >+ ln -s ${PKG_PREFIX}/${pname}/${pversion}/bin/${target} ${PKG_PREFIX}/bin/${target}; >+ done >+ fi >+ ;; >+esac >+ >+exit 0 > >Property changes on: science/p5-mcstas-tools/pkg-install >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: science/p5-mcstas-tools/pkg-plist >=================================================================== >--- science/p5-mcstas-tools/pkg-plist (revision 0) >+++ science/p5-mcstas-tools/pkg-plist (working copy) >@@ -0,0 +1,36 @@ >+mcstas/2.1/bin/mcdaemon >+mcstas/2.1/bin/mcdisplay >+mcstas/2.1/bin/mcdoc >+mcstas/2.1/bin/mcformatgui >+mcstas/2.1/bin/mcgui >+mcstas/2.1/bin/mcplot >+mcstas/2.1/bin/mcresplot >+mcstas/2.1/bin/mcrun >+mcstas/2.1/bin/mcstas2vitess >+mcstas/2.1/doc/man/man1/mcdisplay-2.1.1 >+mcstas/2.1/doc/man/man1/mcdoc-2.1.1 >+mcstas/2.1/doc/man/man1/mcgui-2.1.1 >+mcstas/2.1/doc/man/man1/mcplot-2.1.1 >+mcstas/2.1/doc/man/man1/mcrun-2.1.1 >+mcstas/2.1/mcstas-tools-perl-2.1/launcher/McStas.desktop >+mcstas/2.1/mcstas-tools-perl-2.1/launcher/mcstas.png >+mcstas/2.1/mcstas-tools-perl-2.1/launcher/mcxtrace.png >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/CheckNeutNumber.m >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/CheckTimeout.m >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/PlotInstrument.m >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/ReshapeTransform.m >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/mcdisplay.m >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/mcplot.m >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/resume.m >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/tomo_recon.m >+mcstas/2.1/mcstas-tools-perl-2.1/matlab/wait.m >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mccode_config.perl >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mccode_reconfigure >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mcfrontlib.pl >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mcfrontlib2D.pl >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mcgnuplot.pl >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mcguilib.pl >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mcoptimlib.pl >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mcplotlib.pl >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mcrunlib.pl >+mcstas/2.1/mcstas-tools-perl-2.1/perl/mxguilib.pl > >Property changes on: science/p5-mcstas-tools/pkg-plist >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194849
:
149105
|
149278
| 154115 |
162704