Index: head/science/Makefile =================================================================== --- head/science/Makefile (revision 402110) +++ head/science/Makefile (revision 402111) @@ -1,191 +1,192 @@ # $FreeBSD$ # COMMENT = Scientific ports SUBDIR += 2d-rewriter SUBDIR += InsightToolkit SUBDIR += R-cran-AMORE SUBDIR += R-cran-DCluster SUBDIR += R-cran-Epi SUBDIR += R-cran-bayesm SUBDIR += R-cran-cmprsk SUBDIR += R-cran-e1071 SUBDIR += R-cran-eco SUBDIR += R-cran-epicalc SUBDIR += R-cran-etm SUBDIR += R-cran-snow SUBDIR += R-cran-som SUBDIR += afni SUBDIR += avogadro SUBDIR += bddsolve SUBDIR += bft SUBDIR += bodr SUBDIR += brian SUBDIR += buddy SUBDIR += cdcl SUBDIR += cdf SUBDIR += cdo SUBDIR += cgnslib SUBDIR += cgribex SUBDIR += checkmol SUBDIR += chemical-mime-data SUBDIR += chemtool SUBDIR += chemtool-devel SUBDIR += clhep SUBDIR += colt SUBDIR += crf++ SUBDIR += dcl SUBDIR += devisor SUBDIR += dlpoly-classic SUBDIR += ecs SUBDIR += epte SUBDIR += fastcap SUBDIR += fasthenry SUBDIR += fisicalab SUBDIR += fvcom SUBDIR += fvcom-mpi SUBDIR += fvm SUBDIR += gchemutils SUBDIR += getdp SUBDIR += ghemical SUBDIR += ghmm SUBDIR += gnudatalanguage SUBDIR += gramps SUBDIR += grib_api SUBDIR += gromacs SUBDIR += gsmc SUBDIR += gtamsanalyzer SUBDIR += gwyddion SUBDIR += h5utils SUBDIR += harminv SUBDIR += hdf SUBDIR += hdf-java SUBDIR += hdf5 SUBDIR += hs-bio SUBDIR += isaac-cfd SUBDIR += jmol SUBDIR += jstrack SUBDIR += kalzium SUBDIR += kst2 SUBDIR += lamprop SUBDIR += libctl SUBDIR += libghemical SUBDIR += libint SUBDIR += libkml SUBDIR += liblinear SUBDIR += liboglappth SUBDIR += libquantum SUBDIR += libsvm SUBDIR += libsvm-python SUBDIR += libxc SUBDIR += linsmith SUBDIR += massxpert SUBDIR += mbdyn SUBDIR += mcstas SUBDIR += mcstas-comps SUBDIR += medit SUBDIR += meep SUBDIR += mei SUBDIR += metaf2xml SUBDIR += minc2 SUBDIR += mol2ps SUBDIR += mpb SUBDIR += mpqc SUBDIR += mpqc-mpich SUBDIR += ncs SUBDIR += netcdf SUBDIR += netcdf-cxx SUBDIR += netcdf-fortran SUBDIR += nifticlib SUBDIR += openbabel SUBDIR += openkim SUBDIR += orthanc SUBDIR += orthanc-dicomweb SUBDIR += orthanc-postgresql SUBDIR += orthanc-webviewer SUBDIR += p5-Algorithm-SVMLight SUBDIR += p5-Chemistry-3DBuilder SUBDIR += p5-Chemistry-Bond-Find SUBDIR += p5-Chemistry-Canonicalize SUBDIR += p5-Chemistry-Elements SUBDIR += p5-Chemistry-File-MDLMol SUBDIR += p5-Chemistry-File-Mopac SUBDIR += p5-Chemistry-File-PDB SUBDIR += p5-Chemistry-File-SLN SUBDIR += p5-Chemistry-File-SMARTS SUBDIR += p5-Chemistry-File-SMILES SUBDIR += p5-Chemistry-File-VRML SUBDIR += p5-Chemistry-File-XYZ SUBDIR += p5-Chemistry-FormulaPattern SUBDIR += p5-Chemistry-InternalCoords SUBDIR += p5-Chemistry-Isotope SUBDIR += p5-Chemistry-MacroMol SUBDIR += p5-Chemistry-MidasPattern SUBDIR += p5-Chemistry-Mok SUBDIR += p5-Chemistry-Mol SUBDIR += p5-Chemistry-Pattern SUBDIR += p5-Chemistry-Reaction SUBDIR += p5-Chemistry-Ring SUBDIR += p5-Geo-BUFR SUBDIR += p5-Geo-Coordinates-Converter SUBDIR += p5-Geo-Coordinates-Converter-iArea SUBDIR += p5-Geo-ReadGRIB SUBDIR += p5-Geo-WebService-Elevation-USGS + SUBDIR += p5-Mcstas-Tools SUBDIR += p5-PerlMol SUBDIR += p5-Physics-Unit SUBDIR += paje SUBDIR += paraview SUBDIR += pnetcdf SUBDIR += psychopy SUBDIR += pulseview SUBDIR += py-DendroPy SUBDIR += py-cdo SUBDIR += py-coards SUBDIR += py-h5py SUBDIR += py-hcluster SUBDIR += py-mdp SUBDIR += py-mlpy SUBDIR += py-netCDF4 SUBDIR += py-obspy SUBDIR += py-paida SUBDIR += py-pupynere SUBDIR += py-pyaixi SUBDIR += py-pydap SUBDIR += py-pydicom SUBDIR += py-pysal SUBDIR += py-pyteomics SUBDIR += py-pyteomics.biolccc SUBDIR += py-scikit-learn SUBDIR += py-scikit-sparse SUBDIR += py-scimath SUBDIR += py-scipy SUBDIR += py-ws2300 SUBDIR += pybrain SUBDIR += pycdf SUBDIR += pynn SUBDIR += qcl SUBDIR += qtresistors SUBDIR += rubygem-ai4r SUBDIR += rubygem-cdo SUBDIR += rubygem-ruby-dcl SUBDIR += rubygem-ruby-netcdf SUBDIR += sigrok-cli SUBDIR += sigrok-firmware SUBDIR += sigrok-firmware-fx2lafw SUBDIR += sigrok-firmware-utils SUBDIR += silo SUBDIR += simlib SUBDIR += simsmith SUBDIR += step SUBDIR += svmlight SUBDIR += szip SUBDIR += udunits SUBDIR += v_sim SUBDIR += veusz SUBDIR += vmd SUBDIR += voro++ SUBDIR += xfce4-equake-plugin SUBDIR += xmakemol .include Index: head/science/p5-Mcstas-Tools/Makefile =================================================================== --- head/science/p5-Mcstas-Tools/Makefile (nonexistent) +++ head/science/p5-Mcstas-Tools/Makefile (revision 402111) @@ -0,0 +1,28 @@ +# Created by: Erik B Knudsen +# $FreeBSD$ + +PORTNAME= Mcstas-Tools +PORTVERSION= 2.2a +CATEGORIES= science +MASTER_SITES= http://download.mcstas.org/mcstas-${PORTVERSION}/unix/McStas-${PORTVERSION}-UNIX-src/ +PKGNAMEPREFIX= p5- +DISTNAME= mcstas-tools-perl-${PORTVERSION}-src + +MAINTAINER= erkn@fysik.dtu.dk +COMMENT= Perl based tools for the McStas neutron ray tracing package + +LICENSE= GPLv2 + +RUN_DEPENDS= p5-Tk>0:${PORTSDIR}/x11-toolkits/p5-Tk \ + p5-PGPLOT>=2.21:${PORTSDIR}/graphics/p5-PGPLOT \ + PDL>0:${PORTSDIR}/math/PDL \ + ${LOCALBASE}/bin/mcstas:${PORTSDIR}/science/mcstas + +USES= cmake gmake perl5 +CMAKE_ARGS= -Denable_mcstas=1 +GNU_CONFIGURE= yes + +SUB_FILES= pkg-install +SUB_LIST= PORTVERSION=${PORTVERSION} + +.include Property changes on: head/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: head/science/p5-Mcstas-Tools/distinfo =================================================================== --- head/science/p5-Mcstas-Tools/distinfo (nonexistent) +++ head/science/p5-Mcstas-Tools/distinfo (revision 402111) @@ -0,0 +1,2 @@ +SHA256 (mcstas-tools-perl-2.2a-src.tar.gz) = ccb35ca79075c7a4556c2cd246becb8437c7ddfabae1e1946dddc092e01f2f73 +SIZE (mcstas-tools-perl-2.2a-src.tar.gz) = 256717 Property changes on: head/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: head/science/p5-Mcstas-Tools/files/pkg-install.in =================================================================== --- head/science/p5-Mcstas-Tools/files/pkg-install.in (nonexistent) +++ head/science/p5-Mcstas-Tools/files/pkg-install.in (revision 402111) @@ -0,0 +1,23 @@ +#!/bin/sh + +PKG_PREFIX=${PKG_PREFIX:-/usr/local} + +if [ $# -ne 2 ]; then + echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 + exit 1 +fi + +execs="mcdaemon mcdisplay mcdoc mcformatgui mcgui mcplot mcresplot mcrun mcstas2vitess" + +case $2 in + POST-INSTALL) + if [ ! -f "${PKG_PREFIX}/bin" ]; then + echo "Installing link to executables in ${PKG_PREFIX}/bin."; + for target in ${execs}; do + ln -s ${PKG_PREFIX}/mcstas/%%PORTVERSION%%/bin/${target} ${PKG_PREFIX}/bin/${target}; + done + fi + ;; +esac + +exit 0 Property changes on: head/science/p5-Mcstas-Tools/files/pkg-install.in ___________________________________________________________________ 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: head/science/p5-Mcstas-Tools/pkg-descr =================================================================== --- head/science/p5-Mcstas-Tools/pkg-descr (nonexistent) +++ head/science/p5-Mcstas-Tools/pkg-descr (revision 402111) @@ -0,0 +1,20 @@ +McStas perl tools to aid 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 neutron trajectories. +mcformatgui: Front-end to mxformat to help reformat data-files (obsolescent). +mcdaemon: Deamon to dynamically monitor and plot 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: head/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: head/science/p5-Mcstas-Tools/pkg-plist =================================================================== --- head/science/p5-Mcstas-Tools/pkg-plist (nonexistent) +++ head/science/p5-Mcstas-Tools/pkg-plist (revision 402111) @@ -0,0 +1,37 @@ +mcstas/2.2a/bin/mcdaemon +mcstas/2.2a/bin/mcdisplay +mcstas/2.2a/bin/mcdoc +mcstas/2.2a/bin/mcformatgui +mcstas/2.2a/bin/mcgui +mcstas/2.2a/bin/mcplot +mcstas/2.2a/bin/mcresplot +mcstas/2.2a/bin/mcrun +mcstas/2.2a/bin/mcstas2vitess +mcstas/2.2a/doc/man/man1/mcdisplay-2.2a.1 +mcstas/2.2a/doc/man/man1/mcdoc-2.2a.1 +mcstas/2.2a/doc/man/man1/mcgui-2.2a.1 +mcstas/2.2a/doc/man/man1/mcplot-2.2a.1 +mcstas/2.2a/doc/man/man1/mcrun-2.2a.1 +mcstas/2.2a/launchers/McStas.desktop +mcstas/2.2a/launchers/mcstas-pl.png +mcstas/2.2a/tools/Perl/launcher/mcstas-pl.png +mcstas/2.2a/tools/Perl/launcher/mcxtrace-pl.png +mcstas/2.2a/tools/Perl/matlab/CheckNeutNumber.m +mcstas/2.2a/tools/Perl/matlab/CheckTimeout.m +mcstas/2.2a/tools/Perl/matlab/PlotInstrument.m +mcstas/2.2a/tools/Perl/matlab/ReshapeTransform.m +mcstas/2.2a/tools/Perl/matlab/mcdisplay.m +mcstas/2.2a/tools/Perl/matlab/mcplot.m +mcstas/2.2a/tools/Perl/matlab/resume.m +mcstas/2.2a/tools/Perl/matlab/tomo_recon.m +mcstas/2.2a/tools/Perl/matlab/wait.m +mcstas/2.2a/tools/Perl/perl/mccode_config.perl +mcstas/2.2a/tools/Perl/perl/mccode_reconfigure +mcstas/2.2a/tools/Perl/perl/mcfrontlib.pl +mcstas/2.2a/tools/Perl/perl/mcfrontlib2D.pl +mcstas/2.2a/tools/Perl/perl/mcgnuplot.pl +mcstas/2.2a/tools/Perl/perl/mcguilib.pl +mcstas/2.2a/tools/Perl/perl/mcoptimlib.pl +mcstas/2.2a/tools/Perl/perl/mcplotlib.pl +mcstas/2.2a/tools/Perl/perl/mcrunlib.pl +mcstas/2.2a/tools/Perl/perl/mxguilib.pl Property changes on: head/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