Index: head/science/Makefile =================================================================== --- head/science/Makefile (revision 482377) +++ head/science/Makefile (revision 482378) @@ -1,298 +1,299 @@ # $FreeBSD$ # COMMENT = Scientific ports SUBDIR += 2d-rewriter SUBDIR += ALPSCore SUBDIR += InsightToolkit SUBDIR += MOOSE-neural-simulator SUBDIR += PETSc 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-fastICA SUBDIR += R-cran-kernlab SUBDIR += R-cran-snow SUBDIR += R-cran-som SUBDIR += R-cran-udunits2 SUBDIR += abinit SUBDIR += afni SUBDIR += aircraft-datcom SUBDIR += antioch SUBDIR += atom SUBDIR += atompaw SUBDIR += avogadro SUBDIR += avogadro2 SUBDIR += avogadrolibs SUBDIR += bagel 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 += chemps2 SUBDIR += chemtool SUBDIR += chemtool-devel SUBDIR += chrono SUBDIR += clhep SUBDIR += clipper SUBDIR += colt SUBDIR += coot SUBDIR += cp2k SUBDIR += crf++ SUBDIR += dalton SUBDIR += datawarrior SUBDIR += dcl SUBDIR += devisor SUBDIR += dft_tools SUBDIR += dftbplus SUBDIR += dkh SUBDIR += dlib-cpp SUBDIR += dlpoly-classic SUBDIR += eccodes SUBDIR += ecs SUBDIR += elk SUBDIR += epte SUBDIR += erd SUBDIR += fastcap SUBDIR += fasthenry SUBDIR += fisicalab SUBDIR += fleur SUBDIR += fsom SUBDIR += fvcom SUBDIR += fvcom-mpi SUBDIR += fvm SUBDIR += gabedit SUBDIR += gamess-us SUBDIR += gchemutils SUBDIR += gdma 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 += hdf5 SUBDIR += hdf5-18 SUBDIR += hypre SUBDIR += iboview SUBDIR += isaac-cfd SUBDIR += jdftx SUBDIR += jstrack SUBDIR += kalzium SUBDIR += kalzium-kde4 SUBDIR += kst2 SUBDIR += lammps SUBDIR += lamprop SUBDIR += libaec SUBDIR += libccp4 SUBDIR += libcint SUBDIR += libctl SUBDIR += libefp SUBDIR += libgeodecomp SUBDIR += libghemical SUBDIR += libgridxc SUBDIR += libint SUBDIR += libint2 SUBDIR += libkml SUBDIR += liblinear SUBDIR += libmsym SUBDIR += liboglappth SUBDIR += libquantum SUBDIR += libssm SUBDIR += libsvm SUBDIR += libsvm-python SUBDIR += libxc SUBDIR += linsmith SUBDIR += lm SUBDIR += luscus SUBDIR += madness SUBDIR += massxpert SUBDIR += mbdyn SUBDIR += mcstas SUBDIR += mcstas-comps SUBDIR += mcxtrace SUBDIR += mcxtrace-comps SUBDIR += mdynamix SUBDIR += medit SUBDIR += meep SUBDIR += mei SUBDIR += metaf2xml SUBDIR += metaphysicl SUBDIR += minc2 SUBDIR += mmdb2 + SUBDIR += mmtf SUBDIR += mol2ps SUBDIR += molgif SUBDIR += mpb SUBDIR += mpqc SUBDIR += msms SUBDIR += multiwfn SUBDIR += namd SUBDIR += ncs SUBDIR += netcdf SUBDIR += netcdf-cxx SUBDIR += netcdf-fortran SUBDIR += nifticlib SUBDIR += nwchem SUBDIR += octopus SUBDIR += openbabel SUBDIR += openkim SUBDIR += openmx SUBDIR += openstructure 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 += pcmsolver SUBDIR += pnetcdf SUBDIR += psychopy SUBDIR += pulseview SUBDIR += py-DendroPy SUBDIR += py-PyFR SUBDIR += py-MDAnalysis SUBDIR += py-MDAnalysisTests SUBDIR += py-OpenFermion SUBDIR += py-PyQuante SUBDIR += py-ScientificPython SUBDIR += py-SimpleSpectral SUBDIR += py-abipy SUBDIR += py-ase SUBDIR += py-cdo SUBDIR += py-chempy SUBDIR += py-coards SUBDIR += py-dlib SUBDIR += py-gpaw SUBDIR += py-gsd SUBDIR += py-h5py SUBDIR += py-hcluster SUBDIR += py-kinematics SUBDIR += py-mdp SUBDIR += py-mlpy SUBDIR += py-mmtf-python SUBDIR += py-molmod SUBDIR += py-netCDF4 SUBDIR += py-obspy SUBDIR += py-openpiv SUBDIR += py-paida SUBDIR += py-phono3py SUBDIR += py-phonopy SUBDIR += py-pupynere SUBDIR += py-pyaixi SUBDIR += py-pydicom SUBDIR += py-pymatgen SUBDIR += py-pymol SUBDIR += py-pyosf SUBDIR += py-pysal SUBDIR += py-pyteomics SUBDIR += py-pyteomics.biolccc SUBDIR += py-qspin SUBDIR += py-quantities SUBDIR += py-rmf SUBDIR += py-scikit-fuzzy SUBDIR += py-scikit-learn SUBDIR += py-scikit-sparse SUBDIR += py-scimath SUBDIR += py-scipy SUBDIR += py-scoria SUBDIR += py-spglib SUBDIR += py-veusz SUBDIR += py-ws2300 SUBDIR += pybrain SUBDIR += pycdf SUBDIR += pynn SUBDIR += qbox SUBDIR += qcl SUBDIR += qmcpack SUBDIR += qtresistors SUBDIR += quantum-espresso SUBDIR += qwalk SUBDIR += rdkit SUBDIR += rmf SUBDIR += rubygem-ai4r SUBDIR += rubygem-cdo SUBDIR += rubygem-rgeo SUBDIR += rubygem-rgeo-geojson SUBDIR += rubygem-rgeo-proj4 SUBDIR += rubygem-rgeo-shapefile SUBDIR += rubygem-ruby-dcl SUBDIR += rubygem-ruby-netcdf SUBDIR += siesta SUBDIR += sigrok-cli SUBDIR += sigrok-firmware SUBDIR += sigrok-firmware-fx2lafw SUBDIR += sigrok-firmware-utils SUBDIR += silo SUBDIR += simint SUBDIR += simlib SUBDIR += simsmith SUBDIR += spglib SUBDIR += step SUBDIR += step-kde4 SUBDIR += svmlight SUBDIR += szip SUBDIR += teem SUBDIR += tfel SUBDIR += tinker SUBDIR += triqs SUBDIR += udunits SUBDIR += v_sim SUBDIR += vmd SUBDIR += voro++ SUBDIR += wannier90 SUBDIR += wxmacmolplt SUBDIR += xcrysden SUBDIR += xdrawchem SUBDIR += xfce4-equake-plugin SUBDIR += xmakemol .include Index: head/science/mmtf/Makefile =================================================================== --- head/science/mmtf/Makefile (nonexistent) +++ head/science/mmtf/Makefile (revision 482378) @@ -0,0 +1,49 @@ +# $FreeBSD$ + +PORTNAME= mmtf +DISTVERSION= g20180730 +CATEGORIES= science biology + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ implementation of the MMTF API, decoder and encoder + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${LOCALBASE}/include/msgpack.hpp:devel/msgpack + +USES= cmake:outsource compiler:c++11-lang localbase:ldflags +USE_GITHUB= yes +GH_ACCOUNT= rcsb +GH_PROJECT= mmtf-cpp +GH_TAGNAME= 63e58a9 +GH_TUPLE= rcsb:mmtf:8c88834:x/mmtf_spec + +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= include/mmtf.hpp \ + include/mmtf/binary_decoder.hpp \ + include/mmtf/binary_encoder.hpp \ + include/mmtf/decoder.hpp \ + include/mmtf/encoder.hpp \ + include/mmtf/errors.hpp \ + include/mmtf/export_helpers.hpp \ + include/mmtf/map_decoder.hpp \ + include/mmtf/msgpack_decoder.hpp \ + include/mmtf/object_encoders.hpp \ + include/mmtf/structure_data.hpp + +post-patch: + @cd ${WRKDIR} && ${LN} -s ${WRKSRC}/mmtf_spec # needed for testing + +do-install: + cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dmmtf_build_local=ON -DBUILD_TESTS=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include Property changes on: head/science/mmtf/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/mmtf/distinfo =================================================================== --- head/science/mmtf/distinfo (nonexistent) +++ head/science/mmtf/distinfo (revision 482378) @@ -0,0 +1,5 @@ +TIMESTAMP = 1539895815 +SHA256 (rcsb-mmtf-cpp-g20180730-63e58a9_GH0.tar.gz) = 4570596c98ab520514b31f88c66478170123e4aa8f724c96e69d4973be6a527e +SIZE (rcsb-mmtf-cpp-g20180730-63e58a9_GH0.tar.gz) = 58757 +SHA256 (rcsb-mmtf-8c88834_GH0.tar.gz) = 7c29eb9064e53ea447701b79764732a72ff53aa5adff25759e0e2b549c212cca +SIZE (rcsb-mmtf-8c88834_GH0.tar.gz) = 34499239 Property changes on: head/science/mmtf/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/mmtf/files/patch-tests_mmtf__tests.cpp =================================================================== --- head/science/mmtf/files/patch-tests_mmtf__tests.cpp (nonexistent) +++ head/science/mmtf/files/patch-tests_mmtf__tests.cpp (revision 482378) @@ -0,0 +1,11 @@ +--- tests/mmtf_tests.cpp.orig 2018-10-18 20:26:48 UTC ++++ tests/mmtf_tests.cpp +@@ -5,7 +5,7 @@ + #define CATCH_CONFIG_MAIN + #endif + +-#include "catch.hpp" ++#include + + #include + #include Property changes on: head/science/mmtf/files/patch-tests_mmtf__tests.cpp ___________________________________________________________________ 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/mmtf/pkg-descr =================================================================== --- head/science/mmtf/pkg-descr (nonexistent) +++ head/science/mmtf/pkg-descr (revision 482378) @@ -0,0 +1,6 @@ +mmtf is a C++ headers-only decoder/encoder library for the MMTF format. + +The macromolecular transmission format (MMTF) is a binary encoding of chemical +and biological structures. + +WWW: https://mmtf.rcsb.org/ Property changes on: head/science/mmtf/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