aboutsummaryrefslogtreecommitdiffstats
path: root/science/v_sim
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-12-11 05:45:28 +0800
committerthierry <thierry@FreeBSD.org>2005-12-11 05:45:28 +0800
commitd64c9460304dde3d3c944a10f9c42ac5a37494c2 (patch)
treec30333555c6f28fa461dbdaebc7e01ce83c1c1c0 /science/v_sim
parentfc53bad92c002b6f02cac84c1a91d4607dccdb95 (diff)
downloadfreebsd-ports-gnome-d64c9460304dde3d3c944a10f9c42ac5a37494c2.tar.gz
freebsd-ports-gnome-d64c9460304dde3d3c944a10f9c42ac5a37494c2.tar.zst
freebsd-ports-gnome-d64c9460304dde3d3c944a10f9c42ac5a37494c2.zip
Add V_Sim, a program to visualize atomic structures such as crystals, grain
boundaries and so on.
Diffstat (limited to 'science/v_sim')
-rw-r--r--science/v_sim/Makefile61
-rw-r--r--science/v_sim/distinfo3
-rw-r--r--science/v_sim/pkg-descr9
-rw-r--r--science/v_sim/pkg-plist128
4 files changed, 201 insertions, 0 deletions
diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile
new file mode 100644
index 000000000000..741466eac83a
--- /dev/null
+++ b/science/v_sim/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: V_Sim
+# Date created: Sep 27, 2005
+# Whom: Thierry Thomas <thierry@pompo.net>
+#
+# $FreeBSD$
+
+PORTNAME= v_sim
+PORTVERSION= 3.1.2
+CATEGORIES= science
+MASTER_SITES= http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Visualization of atomic structures
+
+USE_BZIP2= yes
+USE_GNOME= gtk20
+USE_GL= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+USE_GCC= 3.4+
+USE_REINPLACE= yes
+
+.if defined(WITHOUT_NLS)
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/gtkdoc-mkdb) || defined(WITH_FULL_DOC)
+BUILD_DEPENDS+= gtkdoc-mkdb:${PORTSDIR}/textproc/gtk-doc
+CONFIGURE_ARGS+="--enable-gtk-doc"
+PLIST_SUB+= REFDOC=""
+.else
+CONFIGURE_ARGS+="--disable-gtk-doc"
+PLIST_SUB+= REFDOC="@comment "
+.endif
+
+.if ${OSVERSION} < 500000
+BROKEN= "does not compile with gcc 2.95"
+.endif
+
+pre-configure:
+ ${REINPLACE_CMD} -e 's|$$datadir/doc/$$PACKAGE/examples|${EXAMPLESDIR}|' \
+ -e 's|CFLAGS="-O2"|#CFLAGS="-O2"|' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
+ ${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/src/Makefile.in
+.if defined(WITHOUT_NLS)
+ ${REINPLACE_CMD} -e 's|etc po Documentation|etc Documentation|' \
+ ${WRKSRC}/Makefile.in
+.endif
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e 's|Documentation pixmaps examples|pixmaps|' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/science/v_sim/distinfo b/science/v_sim/distinfo
new file mode 100644
index 000000000000..30050e2fec27
--- /dev/null
+++ b/science/v_sim/distinfo
@@ -0,0 +1,3 @@
+MD5 (v_sim-3.1.2.tar.bz2) = 7797c88dbc60f09edd0e83216c00e240
+SHA256 (v_sim-3.1.2.tar.bz2) = abded2076c6ffe30ecbbf69ee567e14ee5e7f6f765c14934a54fa246c26779b1
+SIZE (v_sim-3.1.2.tar.bz2) = 998084
diff --git a/science/v_sim/pkg-descr b/science/v_sim/pkg-descr
new file mode 100644
index 000000000000..e41b62d8214b
--- /dev/null
+++ b/science/v_sim/pkg-descr
@@ -0,0 +1,9 @@
+V_Sim visualizes atomic structures such as crystals, grain boundaries and so on
+(either in .d3 format as defined by F. Lançon, or in plain text format as
+described in the sample page). The rendering is done in pseudo-3D with colored
+sphere to represent the atoms. The user can interact through many functions to
+choose the view, the size of the atoms, their color, the background color, the
+type of fog... Much of it is detailled in the user guide. Moreover V_Sim allows
+to export the view as image in GIF, PS or more formats.
+
+WWW: http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/index.en.html
diff --git a/science/v_sim/pkg-plist b/science/v_sim/pkg-plist
new file mode 100644
index 000000000000..174226bf8a98
--- /dev/null
+++ b/science/v_sim/pkg-plist
@@ -0,0 +1,128 @@
+bin/v_sim
+%%REFDOC%%%%DOCSDIR%%/APIreference/axesTransform.png
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch01.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch02.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch03.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch04.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch05.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch06.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch07.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch08.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch09.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/ch10.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/core.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/gtkInterface.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/home.png
+%%REFDOC%%%%DOCSDIR%%/APIreference/index.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/index.sgml
+%%REFDOC%%%%DOCSDIR%%/APIreference/ix01.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/left.png
+%%REFDOC%%%%DOCSDIR%%/APIreference/right.png
+%%REFDOC%%%%DOCSDIR%%/APIreference/style.css
+%%REFDOC%%%%DOCSDIR%%/APIreference/up.png
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-VisuObject.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-atomic-xyz.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-axes.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-box.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-callbacks.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-cylinder.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-dumpToGif.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-dumpToPsAndPdf.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-dumpToTiff.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-externalOpenGLExtensions.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-externalPairsExtensions.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-externalRenderingMethods.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-fogAndBGColor.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtk-about.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtk-colorComboBoxWidget.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtk-cylinder.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtk-main.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtk-observePick.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtk-pairs.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtk-wire.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtkAtomic.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-gtkSpin.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-opengl.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-panelBoxAxes.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-panelBrowser.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-panelDataFile.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-panelFogBgColor.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-panelOpenGL.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-panelSurfaces.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-panelSurfacesTools.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-plane.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-pot2surf.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-renderingAtomic-ascii.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-renderingAtomic-d3.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-renderingAtomic.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-renderingSpin.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-surfaces.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-OSInterface.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-X11.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-basic.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-commandLine.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-configFile.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-data.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-dataFile.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-dump.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-elements.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-extension.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-pairs.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-pickMesure.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-rendering.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-tools.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visu-windowInterface.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visuConfig.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-visuElements.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v-sim-wire.html
+%%REFDOC%%%%DOCSDIR%%/APIreference/v_sim.devhelp
+%%PORTDOCS%%%%DOCSDIR%%/authors
+%%PORTDOCS%%%%DOCSDIR%%/licence.en.txt
+%%PORTDOCS%%%%DOCSDIR%%/licence.fr.txt
+%%PORTDOCS%%%%DOCSDIR%%/pot2surf_help
+%%PORTDOCS%%%%DOCSDIR%%/readme
+%%PORTDOCS%%%%EXAMPLESDIR%%/aluminium.d3
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo-browser.tar.gz
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo.ascii
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo.d3
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo_spin.d3
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo_spin.spin
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo.xyz
+%%PORTDOCS%%%%EXAMPLESDIR%%/diff.ascii
+%%PORTDOCS%%%%EXAMPLESDIR%%/diff.dat
+%%PORTDOCS%%%%EXAMPLESDIR%%/test_isosurfaces.ascii
+%%PORTDOCS%%%%EXAMPLESDIR%%/test_isosurfaces.surf
+%%NLS%%share/locale/fr/LC_MESSAGES/v_sim.mo
+share/pixmaps/v_sim.xpm
+%%DATADIR%%/pixmaps/icone-about.png
+%%DATADIR%%/pixmaps/icone-dialog.png
+%%DATADIR%%/pixmaps/icone-observe.png
+%%DATADIR%%/pixmaps/icone-observe.xpm
+%%DATADIR%%/pixmaps/icone-panel.png
+%%DATADIR%%/pixmaps/liaison-bandeau.png
+%%DATADIR%%/pixmaps/logo_grey.png
+%%DATADIR%%/pixmaps/logo_petit.png
+%%DATADIR%%/pixmaps/logo_rectangle.png
+%%DATADIR%%/pixmaps/observe-bandeau.png
+%%DATADIR%%/pixmaps/stock-atomic.png
+%%DATADIR%%/pixmaps/stock-channels-16.png
+%%DATADIR%%/pixmaps/stock-isosurfaces.png
+%%DATADIR%%/pixmaps/stock_effects-object-colorize_20.png
+%%DATADIR%%/pixmaps/stock_effects-object-colorize_20_.png
+%%DATADIR%%/pixmaps/stock_effects-object-hide_20.png
+%%DATADIR%%/pixmaps/stock_effects-object-show_20.png
+%%DATADIR%%/pixmaps/stock_media-play.png
+%%DATADIR%%/pixmaps/stock_media-stop.png
+%%DATADIR%%/pixmaps/stock_palette_20.png
+%%DATADIR%%/pixmaps/stock_refresh_dir_24.png
+%%DATADIR%%/pixmaps/stock_rotate_20.png
+%%DATADIR%%/pixmaps/stock_spin.png
+%%DATADIR%%/v_sim.par
+%%DATADIR%%/v_sim.rc
+%%DATADIR%%/v_sim.res
+@dirrm %%DATADIR%%/pixmaps
+@dirrm %%DATADIR%%
+@unexec rmdir %D/share/pixmaps 2>/dev/null || true
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%REFDOC%%@dirrm %%DOCSDIR%%/APIreference
+%%PORTDOCS%%@dirrm %%DOCSDIR%%