Index: head/science/Makefile =================================================================== --- head/science/Makefile (revision 479760) +++ head/science/Makefile (revision 479761) @@ -1,285 +1,286 @@ # $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 += 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 += epte SUBDIR += erd SUBDIR += fastcap SUBDIR += fasthenry SUBDIR += fisicalab SUBDIR += fleur SUBDIR += fsom SUBDIR += fvcom SUBDIR += fvcom-mpi SUBDIR += fvm SUBDIR += gabedit 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 += 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 += mol2ps 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-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-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 += simlib SUBDIR += simsmith SUBDIR += spglib SUBDIR += step SUBDIR += step-kde4 SUBDIR += svmlight SUBDIR += szip SUBDIR += teem SUBDIR += tfel SUBDIR += triqs SUBDIR += udunits SUBDIR += v_sim SUBDIR += vmd SUBDIR += voro++ SUBDIR += wannier90 SUBDIR += xcrysden SUBDIR += xdrawchem SUBDIR += xfce4-equake-plugin SUBDIR += xmakemol .include Index: head/science/luscus/Makefile =================================================================== --- head/science/luscus/Makefile (nonexistent) +++ head/science/luscus/Makefile (revision 479761) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= luscus +DISTVERSION= 0.8.5 +CATEGORIES= science +MASTER_SITES= SF/${PORTNAME}/ +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Molecular editor and viewer + +LICENSE= AFL +LICENSE_NAME= Academic Free License +LICENSE_FILE= ${WRKSRC}/License.txt +LICENSE_PERMS= auto-accept dist-mirror pkg-mirror + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libgdkglext-x11-1.0.so:x11-toolkits/gtkglext +RUN_DEPENDS= bash:shells/bash \ + babel:science/openbabel + +USES= cmake:outsource gettext-runtime pkgconfig shebangfix +SHEBANG_GLOB= *.sh +USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango pangox-compat +USE_GL= gl glu +USE_XORG= x11 + +post-patch: + @${REINPLACE_CMD} 's|/etc/luscus|${DATADIR}|' ${WRKSRC}/gv_system.c + @${REINPLACE_CMD} -i '' 's|$$HOME/\.${PORTNAME}/|${LOCALBASE}/bin/|' ${WRKSRC}/*/*/*.sh + @${REINPLACE_CMD} -i '' 's|$$RUNDIR/|${LOCALBASE}/bin/|' ${WRKSRC}/*/*/*.sh + +.include Property changes on: head/science/luscus/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/luscus/distinfo =================================================================== --- head/science/luscus/distinfo (nonexistent) +++ head/science/luscus/distinfo (revision 479761) @@ -0,0 +1,3 @@ +TIMESTAMP = 1534127415 +SHA256 (luscus_0.8.5.tar.gz) = 1f54f9f2d1efe612cc698af59465526e595dfb0bb0ce9960432be61183eb0e33 +SIZE (luscus_0.8.5.tar.gz) = 261728 Property changes on: head/science/luscus/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/luscus/files/patch-CMakeLists.txt =================================================================== --- head/science/luscus/files/patch-CMakeLists.txt (nonexistent) +++ head/science/luscus/files/patch-CMakeLists.txt (revision 479761) @@ -0,0 +1,67 @@ +--- CMakeLists.txt.orig 2018-03-06 12:11:32 UTC ++++ CMakeLists.txt +@@ -7,8 +7,10 @@ set(luscus_VERSION_MAJOR 0) + set(luscus_VERSION_MINOR 8) + set(luscus_VERSION_REVISION 5) + +-check_function_exists(strcasestr HAVE_STRCASESTR) +-check_function_exists(strcasecmp HAVE_STRCASECMP) ++#check_function_exists(strcasestr HAVE_STRCASESTR) ++#check_function_exists(strcasecmp HAVE_STRCASECMP) ++add_compile_definitions(HAVE_STRCASESTR) ++add_compile_definitions(HAVE_STRCASECMP) + + configure_file("${PROJECT_SOURCE_DIR}/luscus.h.in" "${PROJECT_BINARY_DIR}/luscus.h") + +@@ -23,12 +25,12 @@ set(USE_GTK3 ON) + + # CMAKE_INSTALL_PREFIX + +-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ++if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "^(FreeBSD|DragonFly)$") + add_definitions(-DLINUX) + pkg_check_modules(GTK2 QUIET gtk+-2.0 gl glu) + # if (EXISTS ${CMAKE_PREFIX_PATH}) +- if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT MATCHES 1) +- set(CONFIG_DIR "/etc/luscus") ++ if (TRUE OR CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT MATCHES 1) ++ set(CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/luscus") + # message(status " CMAKE_PREFIX_PATH NOT DEFINED!") # DEBUG + else () + set(CONFIG_DIR "$ENV{HOME}/.luscus") +@@ -95,7 +97,7 @@ if(USE_GTK3) + endif(NOT GTK3_FOUND) + endif(USE_GTK3) + +-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ++if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "^(FreeBSD|DragonFly)$") + add_definitions(-DLINUX) + elseif(${CMAKE_SYSTEM_NAME} MATCHES "Windows") + add_definitions(-DWINDOWS) +@@ -108,11 +110,11 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Linu + #option(COMPILE_PLUGINS ON) + option(INSTALL_BABEL_PLUGINS ON) + +-if(HAVE_STRCASESTR) ++#if(HAVE_STRCASESTR) + add_executable(luscus main.c gtk_gui.c gv_menubar.c gv_system.c gv_notebook.c backup_file.c findsym.c gv_about.c gv_atoms.c gv_geom.c gv_fragments.c gv_gtk_atom_list.c gv_gtk_multiview.c gv_notebook.c luscus_gtk_util.c mystring.c screenshot.c gveps.c gvgrp.c findsym.c gv_gtk_help.c gv_gtk_xyz_editor.c pixeldata.c write_file.c read_file.c surface.c gv_gtk_make_graph.c luscus_gtk_handle.c mcube.c vstring.c) +-else(HAVE_STRCASESTR) +-add_executable(luscus main.c gtk_gui.c gv_menubar.c gv_system.c gv_notebook.c backup_file.c findsym.c gv_about.c gv_atoms.c gv_geom.c gv_fragments.c gv_gtk_atom_list.c gv_gtk_multiview.c gv_notebook.c luscus_gtk_util.c mystring.c screenshot.c gveps.c gvgrp.c findsym.c gv_gtk_help.c gv_gtk_xyz_editor.c pixeldata.c write_file.c read_file.c surface.c gv_gtk_make_graph.c luscus_gtk_handle.c mcube.c vstring.c stdext.c) +-endif(HAVE_STRCASESTR) ++#else(HAVE_STRCASESTR) ++#add_executable(luscus main.c gtk_gui.c gv_menubar.c gv_system.c gv_notebook.c backup_file.c findsym.c gv_about.c gv_atoms.c gv_geom.c gv_fragments.c gv_gtk_atom_list.c gv_gtk_multiview.c gv_notebook.c luscus_gtk_util.c mystring.c screenshot.c gveps.c gvgrp.c findsym.c gv_gtk_help.c gv_gtk_xyz_editor.c pixeldata.c write_file.c read_file.c surface.c gv_gtk_make_graph.c luscus_gtk_handle.c mcube.c vstring.c stdext.c) ++#endif(HAVE_STRCASESTR) + + + if(USE_GTK3) +@@ -167,8 +169,8 @@ add_subdirectory(plugins/xyz) + add_subdirectory(plugins/diffdens) + + if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows") +- find_program(HAS_BABEL NAME babel PATHS ${COMPILER_LOCATION}) +- if(HAS_BABEL) ++ #find_program(HAS_BABEL NAME babel PATHS ${COMPILER_LOCATION}) ++ if(TRUE OR HAS_BABEL) + message(status " found babel; installing babel plugins!") + add_subdirectory(plugins_babel/cif) + add_subdirectory(plugins_babel/g03) Property changes on: head/science/luscus/files/patch-CMakeLists.txt ___________________________________________________________________ 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/luscus/pkg-descr =================================================================== --- head/science/luscus/pkg-descr (nonexistent) +++ head/science/luscus/pkg-descr (revision 479761) @@ -0,0 +1,11 @@ +Luscus is the program for graphical display and editing of molecular systems. +The program allows fast and easy building and/or editing different molecular +structures, up to several thousands of atoms large. Luscus can also visualize +dipole moments, normal modes, molecular orbitals, electron densities and +electrostatic potentials. In addition, simple geometrical objects can be +rendered in order to point out a geometrical feature or a physical quantity. +The program is developed as a graphical interface for MOLCAS program package, +however it's adaptive nature makes possible using luscus with other +computational program packages and chemical formats. + +WWW: https://sourceforge.net/projects/luscus/ Property changes on: head/science/luscus/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/luscus/pkg-plist =================================================================== --- head/science/luscus/pkg-plist (nonexistent) +++ head/science/luscus/pkg-plist (revision 479761) @@ -0,0 +1,62 @@ +bin/babel_cif_in.sh +bin/babel_cif_out.sh +bin/babel_g03_in.sh +bin/babel_g03_out.sh +bin/babel_g98_in.sh +bin/babel_g98_out.sh +bin/babel_mopac_in.sh +bin/babel_mopac_out.sh +bin/babel_pdb_in.sh +bin/babel_pdb_out.sh +bin/diffdens.exe +bin/gamess2lus.exe +bin/gv2xyz.exe +bin/lus2gvorb.exe +bin/luscus +bin/molden2lus.exe +bin/xyz2gv.exe +%%DATADIR%%/atoms.rc +%%DATADIR%%/calculation.rc +%%DATADIR%%/fragments.rc +%%DATADIR%%/frg01.gv +%%DATADIR%%/frg01.xpm +%%DATADIR%%/frg02.gv +%%DATADIR%%/frg02.xpm +%%DATADIR%%/frg03.gv +%%DATADIR%%/frg03.xpm +%%DATADIR%%/frg04.gv +%%DATADIR%%/frg04.xpm +%%DATADIR%%/frg05.gv +%%DATADIR%%/frg05.xpm +%%DATADIR%%/frg06.gv +%%DATADIR%%/frg06.xpm +%%DATADIR%%/frg07.gv +%%DATADIR%%/frg07.xpm +%%DATADIR%%/frg08.gv +%%DATADIR%%/frg08.xpm +%%DATADIR%%/frg09.gv +%%DATADIR%%/frg09.xpm +%%DATADIR%%/frg10.gv +%%DATADIR%%/frg10.xpm +%%DATADIR%%/frg11.gv +%%DATADIR%%/frg11.xpm +%%DATADIR%%/frg12.gv +%%DATADIR%%/frg12.xpm +%%DATADIR%%/frg13.gv +%%DATADIR%%/frg13.xpm +%%DATADIR%%/frg14.gv +%%DATADIR%%/frg14.xpm +%%DATADIR%%/frg15.gv +%%DATADIR%%/frg15.xpm +%%DATADIR%%/frg16.gv +%%DATADIR%%/frg16.xpm +%%DATADIR%%/frg17.gv +%%DATADIR%%/frg17.xpm +%%DATADIR%%/frg18.gv +%%DATADIR%%/frg18.xpm +%%DATADIR%%/frg19.gv +%%DATADIR%%/frg19.xpm +%%DATADIR%%/frg20.gv +%%DATADIR%%/frg20.xpm +%%DATADIR%%/luscus.rc +%%DATADIR%%/plugin.rc Property changes on: head/science/luscus/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