summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2010-03-15 14:08:49 +0000
committerasau <asau@pkgsrc.org>2010-03-15 14:08:49 +0000
commit505671d2cfe0c6dd54ffb6b321e3d5ff0cf0abd1 (patch)
tree91cfac1a1319742f4d3cee1344505397f59d7177 /biology
parent9750e4df496b093f5758d452886cd347aff101a1 (diff)
downloadpkgsrc-505671d2cfe0c6dd54ffb6b321e3d5ff0cf0abd1.tar.gz
Import GROMACS 4.0.7 as biology/gromacs.
From pkgsrc-wip, packaged originally by Peter Ibsen Hansen. GROMACS is a versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles.
Diffstat (limited to 'biology')
-rw-r--r--biology/gromacs/DESCR10
-rw-r--r--biology/gromacs/Makefile33
-rw-r--r--biology/gromacs/PLIST684
-rw-r--r--biology/gromacs/distinfo8
-rw-r--r--biology/gromacs/options.mk19
-rw-r--r--biology/gromacs/patches/patch-aa19
-rw-r--r--biology/gromacs/patches/patch-ab24
-rw-r--r--biology/gromacs/patches/patch-ac24
8 files changed, 821 insertions, 0 deletions
diff --git a/biology/gromacs/DESCR b/biology/gromacs/DESCR
new file mode 100644
index 00000000000..17d86649e93
--- /dev/null
+++ b/biology/gromacs/DESCR
@@ -0,0 +1,10 @@
+GROMACS is a versatile package to perform molecular dynamics,
+i.e. simulate the Newtonian equations of motion for systems with
+hundreds to millions of particles.
+
+It is primarily designed for biochemical molecules like proteins,
+lipids and nucleic acids that have a lot of complicated bonded
+interactions, but since GROMACS is extremely fast at calculating
+the nonbonded interactions (that usually dominate simulations)
+many groups are also using it for research on non-biological
+systems, e.g. polymers.
diff --git a/biology/gromacs/Makefile b/biology/gromacs/Makefile
new file mode 100644
index 00000000000..6a1c711d77e
--- /dev/null
+++ b/biology/gromacs/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/15 14:08:49 asau Exp $
+#
+
+DISTNAME= gromacs-4.0.7
+CATEGORIES= biology
+MASTER_SITES= ftp://ftp.gromacs.org/pub/gromacs/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gromacs.org/
+COMMENT= Molecular dynamics package
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+# Official recommendation is not to use the gcc 4.1.x set of compilers.
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+
+CONFIGURE_ARGS+= --enable-shared
+CONFIGURE_ARGS+= --enable-double --program-suffix=
+CONFIGURE_ARGS+= --with-gsl
+
+.include "options.mk"
+
+USE_TOOLS+= perl:run
+REPLACE_PERL= scripts/demux.pl scripts/xplor2gmx.pl
+
+.include "../../math/fftw/buildlink3.mk"
+.include "../../math/gsl/buildlink3.mk" # optional
+.include "../../textproc/libxml2/buildlink3.mk" # optional
+.include "../../mk/bsd.pkg.mk"
diff --git a/biology/gromacs/PLIST b/biology/gromacs/PLIST
new file mode 100644
index 00000000000..1eefe4bba92
--- /dev/null
+++ b/biology/gromacs/PLIST
@@ -0,0 +1,684 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/15 14:08:49 asau Exp $
+bin/GMXRC
+bin/GMXRC.bash
+bin/GMXRC.csh
+bin/GMXRC.zsh
+bin/anadock
+bin/completion.bash
+bin/completion.csh
+bin/completion.zsh
+bin/demux.pl
+bin/do_dssp
+bin/editconf
+bin/eneconv
+bin/g_anaeig
+bin/g_analyze
+bin/g_angle
+bin/g_bond
+bin/g_bundle
+bin/g_chi
+bin/g_cluster
+bin/g_clustsize
+bin/g_confrms
+bin/g_covar
+bin/g_current
+bin/g_density
+bin/g_densmap
+bin/g_dielectric
+bin/g_dih
+bin/g_dipoles
+bin/g_disre
+bin/g_dist
+bin/g_dyndom
+bin/g_enemat
+bin/g_energy
+bin/g_filter
+bin/g_gyrate
+bin/g_h2order
+bin/g_hbond
+bin/g_helix
+bin/g_helixorient
+bin/g_kinetics
+bin/g_lie
+bin/g_mdmat
+bin/g_mindist
+bin/g_morph
+bin/g_msd
+bin/g_nmeig
+bin/g_nmens
+bin/g_nmtraj
+bin/g_order
+bin/g_polystat
+bin/g_potential
+bin/g_principal
+bin/g_rama
+bin/g_rdf
+bin/g_rms
+bin/g_rmsdist
+bin/g_rmsf
+bin/g_rotacf
+bin/g_saltbr
+bin/g_sas
+bin/g_sdf
+bin/g_sgangle
+bin/g_sham
+bin/g_sorient
+bin/g_spatial
+bin/g_spol
+bin/g_tcaf
+bin/g_traj
+bin/g_vanhove
+bin/g_velacc
+bin/g_wham
+bin/genbox
+bin/genconf
+bin/genion
+bin/genrestr
+bin/gmxcheck
+bin/gmxdump
+bin/grompp
+${PLIST.x11}bin/highway
+bin/luck
+bin/make_edi
+bin/make_ndx
+bin/mdrun
+bin/mk_angndx
+${PLIST.x11}bin/ngmx
+bin/pdb2gmx
+bin/protonate
+bin/sigeps
+bin/tpbconv
+bin/trjcat
+bin/trjconv
+bin/trjorder
+bin/wheel
+bin/x2top
+bin/xplor2gmx.pl
+bin/xpm2ps
+${PLIST.x11}bin/xrama
+include/gromacs/3dview.h
+include/gromacs/assert.h
+include/gromacs/atomprop.h
+include/gromacs/bondf.h
+include/gromacs/calcgrid.h
+include/gromacs/calch.h
+include/gromacs/calcmu.h
+include/gromacs/checkpoint.h
+include/gromacs/confio.h
+include/gromacs/constr.h
+include/gromacs/copyrite.h
+include/gromacs/coulomb.h
+include/gromacs/dihre.h
+include/gromacs/disre.h
+include/gromacs/do_fit.h
+include/gromacs/domdec.h
+include/gromacs/domdec_network.h
+include/gromacs/ebin.h
+include/gromacs/edsam.h
+include/gromacs/enxio.h
+include/gromacs/ffscanf.h
+include/gromacs/fftgrid.h
+include/gromacs/filenm.h
+include/gromacs/force.h
+include/gromacs/futil.h
+include/gromacs/gbutil.h
+include/gromacs/gmx_ana.h
+include/gromacs/gmx_arpack.h
+include/gromacs/gmx_blas.h
+include/gromacs/gmx_cyclecounter.h
+include/gromacs/gmx_fatal.h
+include/gromacs/gmx_fft.h
+include/gromacs/gmx_lapack.h
+include/gromacs/gmx_parallel_3dfft.h
+include/gromacs/gmx_random.h
+include/gromacs/gmx_system_xdr.h
+include/gromacs/gmx_thread.h
+include/gromacs/gmx_wallcycle.h
+include/gromacs/gmxcomplex.h
+include/gromacs/gmxfio.h
+include/gromacs/gpp_atomtype.h
+include/gromacs/gpp_nextnb.h
+include/gromacs/grompp.h
+include/gromacs/gstat.h
+include/gromacs/index.h
+include/gromacs/invblock.h
+include/gromacs/macros.h
+include/gromacs/magic.h
+include/gromacs/main.h
+include/gromacs/maths.h
+include/gromacs/matio.h
+include/gromacs/mdatoms.h
+include/gromacs/mdebin.h
+include/gromacs/mdrun.h
+include/gromacs/mpelogging.h
+include/gromacs/mshift.h
+include/gromacs/mtop_util.h
+include/gromacs/mtxio.h
+include/gromacs/mvdata.h
+include/gromacs/names.h
+include/gromacs/network.h
+include/gromacs/nonbonded.h
+include/gromacs/nrama.h
+include/gromacs/nrjac.h
+include/gromacs/nrnb.h
+include/gromacs/ns.h
+include/gromacs/nsgrid.h
+include/gromacs/orires.h
+include/gromacs/partdec.h
+include/gromacs/pbc.h
+include/gromacs/pdbio.h
+include/gromacs/pdebug.h
+include/gromacs/perf_est.h
+include/gromacs/physics.h
+include/gromacs/pme.h
+include/gromacs/pppm.h
+include/gromacs/princ.h
+include/gromacs/pull.h
+include/gromacs/qmmm.h
+include/gromacs/random.h
+include/gromacs/rbin.h
+include/gromacs/rdgroup.h
+include/gromacs/readcomp.h
+include/gromacs/readinp.h
+include/gromacs/reorder.h
+include/gromacs/rmpbc.h
+include/gromacs/shellfc.h
+include/gromacs/shift.h
+include/gromacs/smalloc.h
+include/gromacs/sortwater.h
+include/gromacs/sparsematrix.h
+include/gromacs/split.h
+include/gromacs/splitter.h
+include/gromacs/statusio.h
+include/gromacs/statutil.h
+include/gromacs/strdb.h
+include/gromacs/string2.h
+include/gromacs/struc2.h
+include/gromacs/symtab.h
+include/gromacs/sysstuff.h
+include/gromacs/tags.h
+include/gromacs/tgroup.h
+include/gromacs/topsort.h
+include/gromacs/tpxio.h
+include/gromacs/transfer.h
+include/gromacs/trnio.h
+include/gromacs/txtdump.h
+include/gromacs/typedefs.h
+include/gromacs/types/atoms.h
+include/gromacs/types/block.h
+include/gromacs/types/commrec.h
+include/gromacs/types/constr.h
+include/gromacs/types/energy.h
+include/gromacs/types/enums.h
+include/gromacs/types/fcdata.h
+include/gromacs/types/filenm.h
+include/gromacs/types/forcerec.h
+include/gromacs/types/graph.h
+include/gromacs/types/group.h
+include/gromacs/types/idef.h
+include/gromacs/types/ifunc.h
+include/gromacs/types/inputrec.h
+include/gromacs/types/ishift.h
+include/gromacs/types/matrix.h
+include/gromacs/types/mdatom.h
+include/gromacs/types/nblist.h
+include/gromacs/types/nbslist.h
+include/gromacs/types/nrnb.h
+include/gromacs/types/ns.h
+include/gromacs/types/nsgrid.h
+include/gromacs/types/pbc.h
+include/gromacs/types/qmmmrec.h
+include/gromacs/types/shellfc.h
+include/gromacs/types/simple.h
+include/gromacs/types/state.h
+include/gromacs/types/symtab.h
+include/gromacs/types/topology.h
+include/gromacs/types/trx.h
+include/gromacs/update.h
+include/gromacs/utils.h
+include/gromacs/vcm.h
+include/gromacs/vec.h
+include/gromacs/viewit.h
+include/gromacs/vsite.h
+include/gromacs/wgms.h
+include/gromacs/wman.h
+include/gromacs/writeps.h
+include/gromacs/xdrf.h
+include/gromacs/xtcio.h
+include/gromacs/xvgr.h
+lib/libgmx_d.la
+lib/libgmxana_d.la
+lib/libmd_d.la
+man/man1/anadock.1
+man/man1/do_dssp.1
+man/man1/editconf.1
+man/man1/eneconv.1
+man/man1/g_anaeig.1
+man/man1/g_analyze.1
+man/man1/g_angle.1
+man/man1/g_bond.1
+man/man1/g_bundle.1
+man/man1/g_chi.1
+man/man1/g_cluster.1
+man/man1/g_clustsize.1
+man/man1/g_confrms.1
+man/man1/g_covar.1
+man/man1/g_current.1
+man/man1/g_density.1
+man/man1/g_densmap.1
+man/man1/g_dielectric.1
+man/man1/g_dih.1
+man/man1/g_dipoles.1
+man/man1/g_disre.1
+man/man1/g_dist.1
+man/man1/g_dyndom.1
+man/man1/g_enemat.1
+man/man1/g_energy.1
+man/man1/g_filter.1
+man/man1/g_gyrate.1
+man/man1/g_h2order.1
+man/man1/g_hbond.1
+man/man1/g_helix.1
+man/man1/g_helixorient.1
+man/man1/g_kinetics.1
+man/man1/g_lie.1
+man/man1/g_mdmat.1
+man/man1/g_mindist.1
+man/man1/g_morph.1
+man/man1/g_msd.1
+man/man1/g_nmeig.1
+man/man1/g_nmens.1
+man/man1/g_nmtraj.1
+man/man1/g_order.1
+man/man1/g_polystat.1
+man/man1/g_potential.1
+man/man1/g_principal.1
+man/man1/g_rama.1
+man/man1/g_rdf.1
+man/man1/g_rms.1
+man/man1/g_rmsdist.1
+man/man1/g_rmsf.1
+man/man1/g_rotacf.1
+man/man1/g_saltbr.1
+man/man1/g_sas.1
+man/man1/g_sdf.1
+man/man1/g_sgangle.1
+man/man1/g_sham.1
+man/man1/g_sorient.1
+man/man1/g_spatial.1
+man/man1/g_spol.1
+man/man1/g_tcaf.1
+man/man1/g_traj.1
+man/man1/g_vanhove.1
+man/man1/g_velacc.1
+man/man1/g_wham.1
+man/man1/gen_table.1
+man/man1/genbox.1
+man/man1/genconf.1
+man/man1/genion.1
+man/man1/genrestr.1
+man/man1/gmxcheck.1
+man/man1/gmxdump.1
+man/man1/grompp.1
+man/man1/highway.1
+man/man1/make_edi.1
+man/man1/make_ndx.1
+man/man1/mdrun.1
+man/man1/mk_angndx.1
+man/man1/ngmx.1
+man/man1/pdb2gmx.1
+man/man1/protonate.1
+man/man1/sigeps.1
+man/man1/tpbconv.1
+man/man1/trjcat.1
+man/man1/trjconv.1
+man/man1/trjorder.1
+man/man1/wheel.1
+man/man1/x2top.1
+man/man1/xpm2ps.1
+man/man1/xrama.1
+share/gromacs/html/gmxfaq.html
+share/gromacs/html/images/1ctf-0.2.jpg
+share/gromacs/html/images/1ctf-0.5.jpg
+share/gromacs/html/images/1ctf-0.jpg
+share/gromacs/html/images/1ctf-1.jpg
+share/gromacs/html/images/1ctf-10.jpg
+share/gromacs/html/images/1ctf-4.jpg
+share/gromacs/html/images/articles.gif
+share/gromacs/html/images/bench.gif
+share/gromacs/html/images/charts_down.gif
+share/gromacs/html/images/charts_up.gif
+share/gromacs/html/images/faq.gif
+share/gromacs/html/images/features.gif
+share/gromacs/html/images/flow_down.gif
+share/gromacs/html/images/flow_downleft.gif
+share/gromacs/html/images/flow_hline.gif
+share/gromacs/html/images/flow_left.gif
+share/gromacs/html/images/flow_leftright.gif
+share/gromacs/html/images/flow_leftrightdown.gif
+share/gromacs/html/images/flow_leftrightup.gif
+share/gromacs/html/images/flow_leftup.gif
+share/gromacs/html/images/flow_right+left.gif
+share/gromacs/html/images/flow_right.gif
+share/gromacs/html/images/flow_rightleftdown.gif
+share/gromacs/html/images/flow_uprightleft.gif
+share/gromacs/html/images/flow_vline.gif
+share/gromacs/html/images/flow_vrule.gif
+share/gromacs/html/images/gmxlogo_small.jpg
+share/gromacs/html/images/links.gif
+share/gromacs/html/images/mail.gif
+share/gromacs/html/images/manual.gif
+share/gromacs/html/images/plotje.gif
+share/gromacs/html/images/software.gif
+share/gromacs/html/images/topologies.gif
+share/gromacs/html/images/xvgr.gif
+share/gromacs/html/online.html
+share/gromacs/html/online/cpt.html
+share/gromacs/html/online/dat.html
+share/gromacs/html/online/dlg.html
+share/gromacs/html/online/do_dssp.html
+share/gromacs/html/online/edi.html
+share/gromacs/html/online/editconf.html
+share/gromacs/html/online/edo.html
+share/gromacs/html/online/edr.html
+share/gromacs/html/online/ene.html
+share/gromacs/html/online/eneconv.html
+share/gromacs/html/online/eps.html
+share/gromacs/html/online/files.html
+share/gromacs/html/online/flow.html
+share/gromacs/html/online/g87.html
+share/gromacs/html/online/g96.html
+share/gromacs/html/online/g_anaeig.html
+share/gromacs/html/online/g_analyze.html
+share/gromacs/html/online/g_angle.html
+share/gromacs/html/online/g_bond.html
+share/gromacs/html/online/g_bundle.html
+share/gromacs/html/online/g_chi.html
+share/gromacs/html/online/g_cluster.html
+share/gromacs/html/online/g_confrms.html
+share/gromacs/html/online/g_covar.html
+share/gromacs/html/online/g_density.html
+share/gromacs/html/online/g_densmap.html
+share/gromacs/html/online/g_dielectric.html
+share/gromacs/html/online/g_dih.html
+share/gromacs/html/online/g_dipoles.html
+share/gromacs/html/online/g_disre.html
+share/gromacs/html/online/g_dist.html
+share/gromacs/html/online/g_dyndom.html
+share/gromacs/html/online/g_enemat.html
+share/gromacs/html/online/g_energy.html
+share/gromacs/html/online/g_gyrate.html
+share/gromacs/html/online/g_h2order.html
+share/gromacs/html/online/g_hbond.html
+share/gromacs/html/online/g_helix.html
+share/gromacs/html/online/g_lie.html
+share/gromacs/html/online/g_mdmat.html
+share/gromacs/html/online/g_mindist.html
+share/gromacs/html/online/g_morph.html
+share/gromacs/html/online/g_msd.html
+share/gromacs/html/online/g_nmeig.html
+share/gromacs/html/online/g_nmens.html
+share/gromacs/html/online/g_order.html
+share/gromacs/html/online/g_potential.html
+share/gromacs/html/online/g_rama.html
+share/gromacs/html/online/g_rdf.html
+share/gromacs/html/online/g_rms.html
+share/gromacs/html/online/g_rmsdist.html
+share/gromacs/html/online/g_rmsf.html
+share/gromacs/html/online/g_rotacf.html
+share/gromacs/html/online/g_saltbr.html
+share/gromacs/html/online/g_sas.html
+share/gromacs/html/online/g_sgangle.html
+share/gromacs/html/online/g_sham.html
+share/gromacs/html/online/g_sorient.html
+share/gromacs/html/online/g_tcaf.html
+share/gromacs/html/online/g_traj.html
+share/gromacs/html/online/g_velacc.html
+share/gromacs/html/online/genbox.html
+share/gromacs/html/online/genconf.html
+share/gromacs/html/online/genion.html
+share/gromacs/html/online/genpr.html
+share/gromacs/html/online/getting_started.html
+share/gromacs/html/online/gmxcheck.html
+share/gromacs/html/online/gmxdemo.html
+share/gromacs/html/online/gmxdump.html
+share/gromacs/html/online/gro.html
+share/gromacs/html/online/grompp.html
+share/gromacs/html/online/hat.html
+share/gromacs/html/online/highway.html
+share/gromacs/html/online/include_bot.html
+share/gromacs/html/online/include_top.html
+share/gromacs/html/online/itp.html
+share/gromacs/html/online/log.html
+share/gromacs/html/online/m2p.html
+share/gromacs/html/online/make_edi.html
+share/gromacs/html/online/make_ndx.html
+share/gromacs/html/online/map.html
+share/gromacs/html/online/mdp.html
+share/gromacs/html/online/mdp_opt.html
+share/gromacs/html/online/mdrun.html
+share/gromacs/html/online/methanol.html
+share/gromacs/html/online/mixed.html
+share/gromacs/html/online/mk_angndx.html
+share/gromacs/html/online/mtx.html
+share/gromacs/html/online/ndx.html
+share/gromacs/html/online/ngmx.html
+share/gromacs/html/online/options.html
+share/gromacs/html/online/out.html
+share/gromacs/html/online/pdb.html
+share/gromacs/html/online/pdb2gmx.html
+share/gromacs/html/online/protonate.html
+share/gromacs/html/online/protunf.html
+share/gromacs/html/online/rtp.html
+share/gromacs/html/online/speptide.html
+share/gromacs/html/online/style.css
+share/gromacs/html/online/tex.html
+share/gromacs/html/online/top.html
+share/gromacs/html/online/tpa.html
+share/gromacs/html/online/tpb.html
+share/gromacs/html/online/tpbconv.html
+share/gromacs/html/online/tpr.html
+share/gromacs/html/online/trj.html
+share/gromacs/html/online/trjcat.html
+share/gromacs/html/online/trjconv.html
+share/gromacs/html/online/trjorder.html
+share/gromacs/html/online/trr.html
+share/gromacs/html/online/water.html
+share/gromacs/html/online/wheel.html
+share/gromacs/html/online/x2top.html
+share/gromacs/html/online/xpm.html
+share/gromacs/html/online/xpm2ps.html
+share/gromacs/html/online/xrama.html
+share/gromacs/html/online/xtc.html
+share/gromacs/html/online/xvg.html
+share/gromacs/html/online/yourown.html
+share/gromacs/template/Makefile.${MACHINE_GNU_PLATFORM}_double
+share/gromacs/template/README
+share/gromacs/template/template.c
+share/gromacs/top/1mlg.itp
+share/gromacs/top/2mlg.itp
+share/gromacs/top/FF.dat
+share/gromacs/top/aminoacids.dat
+share/gromacs/top/atom_nom.tbl
+share/gromacs/top/atommass.dat
+share/gromacs/top/benzamide.itp
+share/gromacs/top/bondadd.itp
+share/gromacs/top/bonds.dlg
+share/gromacs/top/bromacs.dat
+share/gromacs/top/buck.itp
+share/gromacs/top/ca-shift.dat
+share/gromacs/top/cb-shift.dat
+share/gromacs/top/co-shift.dat
+share/gromacs/top/dec50.gro
+share/gromacs/top/decane.itp
+share/gromacs/top/dgsolv.dat
+share/gromacs/top/dlg.itp
+share/gromacs/top/dmso.gro
+share/gromacs/top/dmso.itp
+share/gromacs/top/edissoc.dat
+share/gromacs/top/electroneg.dat
+share/gromacs/top/elements.dat
+share/gromacs/top/export.dlg
+share/gromacs/top/f3c.itp
+share/gromacs/top/fa.itp
+share/gromacs/top/ffG43a1-c.tdb
+share/gromacs/top/ffG43a1-n.tdb
+share/gromacs/top/ffG43a1.atp
+share/gromacs/top/ffG43a1.ddb
+share/gromacs/top/ffG43a1.hdb
+share/gromacs/top/ffG43a1.itp
+share/gromacs/top/ffG43a1.rtp
+share/gromacs/top/ffG43a1bon.itp
+share/gromacs/top/ffG43a1nb.itp
+share/gromacs/top/ffG43a2-c.tdb
+share/gromacs/top/ffG43a2-n.tdb
+share/gromacs/top/ffG43a2.atp
+share/gromacs/top/ffG43a2.ddb
+share/gromacs/top/ffG43a2.hdb
+share/gromacs/top/ffG43a2.itp
+share/gromacs/top/ffG43a2.rtp
+share/gromacs/top/ffG43a2bon.itp
+share/gromacs/top/ffG43a2nb.itp
+share/gromacs/top/ffG45a3-c.tdb
+share/gromacs/top/ffG45a3-n.tdb
+share/gromacs/top/ffG45a3.atp
+share/gromacs/top/ffG45a3.ddb
+share/gromacs/top/ffG45a3.hdb
+share/gromacs/top/ffG45a3.itp
+share/gromacs/top/ffG45a3.rtp
+share/gromacs/top/ffG45a3bon.itp
+share/gromacs/top/ffG45a3nb.itp
+share/gromacs/top/ffG53a5-c.tdb
+share/gromacs/top/ffG53a5-n.tdb
+share/gromacs/top/ffG53a5.atp
+share/gromacs/top/ffG53a5.ddb
+share/gromacs/top/ffG53a5.hdb
+share/gromacs/top/ffG53a5.itp
+share/gromacs/top/ffG53a5.n2t
+share/gromacs/top/ffG53a5.rtp
+share/gromacs/top/ffG53a5bon.itp
+share/gromacs/top/ffG53a5nb.itp
+share/gromacs/top/ffG53a6-c.tdb
+share/gromacs/top/ffG53a6-n.tdb
+share/gromacs/top/ffG53a6.atp
+share/gromacs/top/ffG53a6.ddb
+share/gromacs/top/ffG53a6.hdb
+share/gromacs/top/ffG53a6.itp
+share/gromacs/top/ffG53a6.rtp
+share/gromacs/top/ffG53a6bon.itp
+share/gromacs/top/ffG53a6nb.itp
+share/gromacs/top/ff_dum.itp
+share/gromacs/top/ffencads-c.tdb
+share/gromacs/top/ffencads-n.tdb
+share/gromacs/top/ffencads.atp
+share/gromacs/top/ffencads.hdb
+share/gromacs/top/ffencads.itp
+share/gromacs/top/ffencads.rtp
+share/gromacs/top/ffencadsbon.itp
+share/gromacs/top/ffencadsnb.itp
+share/gromacs/top/ffencadv-c.tdb
+share/gromacs/top/ffencadv-n.tdb
+share/gromacs/top/ffencadv.atp
+share/gromacs/top/ffencadv.hdb
+share/gromacs/top/ffencadv.itp
+share/gromacs/top/ffencadv.rtp
+share/gromacs/top/ffencadvbon.itp
+share/gromacs/top/ffencadvnb.itp
+share/gromacs/top/ffgmx-c.tdb
+share/gromacs/top/ffgmx-n.tdb
+share/gromacs/top/ffgmx.atp
+share/gromacs/top/ffgmx.ddb
+share/gromacs/top/ffgmx.hdb
+share/gromacs/top/ffgmx.itp
+share/gromacs/top/ffgmx.rtp
+share/gromacs/top/ffgmx2-c.tdb
+share/gromacs/top/ffgmx2-n.tdb
+share/gromacs/top/ffgmx2.atp
+share/gromacs/top/ffgmx2.ddb
+share/gromacs/top/ffgmx2.hdb
+share/gromacs/top/ffgmx2.itp
+share/gromacs/top/ffgmx2.rtp
+share/gromacs/top/ffgmx2bon.itp
+share/gromacs/top/ffgmx2nb.itp
+share/gromacs/top/ffgmxbon.itp
+share/gromacs/top/ffgmxnb.itp
+share/gromacs/top/ffoplsaa-c.tdb
+share/gromacs/top/ffoplsaa-n.tdb
+share/gromacs/top/ffoplsaa.atp
+share/gromacs/top/ffoplsaa.ddb
+share/gromacs/top/ffoplsaa.hdb
+share/gromacs/top/ffoplsaa.itp
+share/gromacs/top/ffoplsaa.n2t
+share/gromacs/top/ffoplsaa.rtp
+share/gromacs/top/ffoplsaabon.itp
+share/gromacs/top/ffoplsaanb.itp
+share/gromacs/top/flexspc.itp
+share/gromacs/top/flexspce.itp
+share/gromacs/top/flexwat-ferguson.itp
+share/gromacs/top/gromacs.dtd
+share/gromacs/top/gurgle.dat
+share/gromacs/top/h2p4o13.itp
+share/gromacs/top/h2p8o25.itp
+share/gromacs/top/h2po4.itp
+share/gromacs/top/ha-shift.dat
+share/gromacs/top/highway.dat
+share/gromacs/top/ions.itp
+share/gromacs/top/links.dat
+share/gromacs/top/methanol.itp
+share/gromacs/top/phbres.dat
+share/gromacs/top/ps.m2p
+share/gromacs/top/random.dat
+share/gromacs/top/refi_aa.dat
+share/gromacs/top/spc.itp
+share/gromacs/top/spc216.gro
+share/gromacs/top/spce.itp
+share/gromacs/top/specbond.dat
+share/gromacs/top/ss.map
+share/gromacs/top/surface.dat
+share/gromacs/top/sw.itp
+share/gromacs/top/table6-10.xvg
+share/gromacs/top/table6-11.xvg
+share/gromacs/top/table6-12.xvg
+share/gromacs/top/table6-8.xvg
+share/gromacs/top/table6-9.xvg
+share/gromacs/top/tfe.itp
+share/gromacs/top/tip3p.itp
+share/gromacs/top/tip4p.gro
+share/gromacs/top/tip4p.itp
+share/gromacs/top/tip5p.gro
+share/gromacs/top/tip5p.itp
+share/gromacs/top/urea+h2o.gro
+share/gromacs/top/urea.itp
+share/gromacs/top/vdwradii.dat
+share/gromacs/top/xlateat.dat
+share/gromacs/tutor/gmxdemo/cpeptide.pdb
+share/gromacs/tutor/gmxdemo/demo
+share/gromacs/tutor/methanol/conf.gro
+share/gromacs/tutor/methanol/grompp.mdp
+share/gromacs/tutor/methanol/index.ndx
+share/gromacs/tutor/methanol/methanol.itp
+share/gromacs/tutor/methanol/methanol.pdb
+share/gromacs/tutor/methanol/topol.top
+share/gromacs/tutor/mixed/conf.gro
+share/gromacs/tutor/mixed/grompp.mdp
+share/gromacs/tutor/mixed/index.ndx
+share/gromacs/tutor/mixed/mixed.pdb
+share/gromacs/tutor/mixed/topol.top
+share/gromacs/tutor/nmr1/conf.gro
+share/gromacs/tutor/nmr1/grompp.mdp
+share/gromacs/tutor/nmr1/pep.pdb
+share/gromacs/tutor/nmr1/topol.top
+share/gromacs/tutor/nmr2/conf.gro
+share/gromacs/tutor/nmr2/genconf.gcp
+share/gromacs/tutor/nmr2/grompp.mdp
+share/gromacs/tutor/nmr2/pep.pdb
+share/gromacs/tutor/nmr2/topol.top
+share/gromacs/tutor/speptide/em.mdp
+share/gromacs/tutor/speptide/full.mdp
+share/gromacs/tutor/speptide/pr.mdp
+share/gromacs/tutor/speptide/speptide.pdb
+share/gromacs/tutor/water/conf.gro
+share/gromacs/tutor/water/grompp.mdp
+share/gromacs/tutor/water/index.ndx
+share/gromacs/tutor/water/spc216.pdb
+share/gromacs/tutor/water/topol.top
diff --git a/biology/gromacs/distinfo b/biology/gromacs/distinfo
new file mode 100644
index 00000000000..39cee7939aa
--- /dev/null
+++ b/biology/gromacs/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/03/15 14:08:49 asau Exp $
+
+SHA1 (gromacs-4.0.7.tar.gz) = 8519bef2fa989fb487d54612b0a2d0228f228b30
+RMD160 (gromacs-4.0.7.tar.gz) = 4fa8e5c90f549ef627a98a907a166676692a4c4b
+Size (gromacs-4.0.7.tar.gz) = 8404518 bytes
+SHA1 (patch-aa) = dcf39e862c2087bca0cd4e577438633bf70fe57f
+SHA1 (patch-ab) = 333fea1f0844f8628795f593de16c941744b11d2
+SHA1 (patch-ac) = 164a7b3e06ab4f4cc1142615c1281eec82adee9b
diff --git a/biology/gromacs/options.mk b/biology/gromacs/options.mk
new file mode 100644
index 00000000000..55502741ee5
--- /dev/null
+++ b/biology/gromacs/options.mk
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1.1.1 2010/03/15 14:08:49 asau Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gromacs
+PKG_SUPPORTED_OPTIONS+= x11
+PKG_SUGGESTED_OPTIONS+= x11
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS= x11
+
+# X support:
+.if !empty(PKG_OPTIONS:Mx11)
+CONFIGURE_ARGS+= --with-x
+PLIST.x11= yes
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.endif
diff --git a/biology/gromacs/patches/patch-aa b/biology/gromacs/patches/patch-aa
new file mode 100644
index 00000000000..13d6487d231
--- /dev/null
+++ b/biology/gromacs/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/03/15 14:08:49 asau Exp $
+
+Allow flags to contain commas.
+
+--- share/template/Makefile.in.orig 2010-01-12 15:44:18.000000000 +0300
++++ share/template/Makefile.in 2010-01-12 15:58:57.000000000 +0300
+@@ -389,9 +389,9 @@
+
+ Makefile.@host@ Makefile.@host@_double: Template.mak Makefile
+ cat $(srcdir)/Template.mak | \
+- sed 's,@LDFLAGS\@,$(LDFLAGS),' | \
+- sed 's,@LIBS\@,$(LIBS),' | \
+- sed 's,@CFLAGS\@,$(MYCFLAGS),' | \
++ sed 's|@LDFLAGS\@|$(LDFLAGS)|' | \
++ sed 's|@LIBS\@|$(LIBS)|' | \
++ sed 's|@CFLAGS\@|$(MYCFLAGS)|' | \
+ sed 's,@CC\@,$(CC),' | \
+ sed 's,@host\@,@host@,' >$@
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/biology/gromacs/patches/patch-ab b/biology/gromacs/patches/patch-ab
new file mode 100644
index 00000000000..a25ab310a3c
--- /dev/null
+++ b/biology/gromacs/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/03/15 14:08:49 asau Exp $
+
+Avoid non-standard "==" in test.
+
+--- configure.ac.orig 2009-12-07 00:18:27.000000000 +0300
++++ configure.ac 2010-03-15 16:02:27.000000000 +0300
+@@ -183,7 +183,7 @@
+ [set --enable-ppc-sqrt=1 for better speed.])],,
+ enable_ppc_sqrt=no)
+ if test "$enable_ppc_sqrt" != "no"; then
+- if test "$enable_ppc_sqrt" == "1"; then
++ if test "$enable_ppc_sqrt" = "1"; then
+ ppc_sqrt_niter=1;
+ else
+ ppc_sqrt_niter=2;
+@@ -193,7 +193,7 @@
+ enable_software_sqrt="no";
+ fi
+ AM_CONDITIONAL([GMX_POWERPC_SQRT],[test "$enable_ppc_sqrt" != "no"])
+-AM_CONDITIONAL([GMX_POWERPC_SQRT_SINGLE_ITERATION],[test "$ppc_sqrt_niter" == "1"])
++AM_CONDITIONAL([GMX_POWERPC_SQRT_SINGLE_ITERATION],[test "$ppc_sqrt_niter" = "1"])
+
+
+ if test "$enable_software_sqrt" = "yes"; then
diff --git a/biology/gromacs/patches/patch-ac b/biology/gromacs/patches/patch-ac
new file mode 100644
index 00000000000..534f950d288
--- /dev/null
+++ b/biology/gromacs/patches/patch-ac
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.1.1.1 2010/03/15 14:08:49 asau Exp $
+
+Avoid non-standard "==" in test.
+
+--- configure.orig 2010-03-15 15:59:18.000000000 +0300
++++ configure 2010-03-15 16:00:44.000000000 +0300
+@@ -2994,7 +2994,7 @@
+ fi
+
+ if test "$enable_ppc_sqrt" != "no"; then
+- if test "$enable_ppc_sqrt" == "1"; then
++ if test "$enable_ppc_sqrt" = "1"; then
+ ppc_sqrt_niter=1;
+ else
+ ppc_sqrt_niter=2;
+@@ -3015,7 +3015,7 @@
+ GMX_POWERPC_SQRT_FALSE=
+ fi
+
+- if test "$ppc_sqrt_niter" == "1"; then
++ if test "$ppc_sqrt_niter" = "1"; then
+ GMX_POWERPC_SQRT_SINGLE_ITERATION_TRUE=
+ GMX_POWERPC_SQRT_SINGLE_ITERATION_FALSE='#'
+ else