diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-12 07:30:24 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-12 07:30:24 +0800 |
commit | f272260b35ea84617ccb2dd566d36f58a57beb3d (patch) | |
tree | ca717178f716d945473974f5f6cd5b4087ab277e /science | |
parent | 55a310e4dc1df296a98f3d677457140032a170ce (diff) | |
download | marcuscom-ports-f272260b35ea84617ccb2dd566d36f58a57beb3d.tar marcuscom-ports-f272260b35ea84617ccb2dd566d36f58a57beb3d.tar.gz marcuscom-ports-f272260b35ea84617ccb2dd566d36f58a57beb3d.tar.bz2 marcuscom-ports-f272260b35ea84617ccb2dd566d36f58a57beb3d.tar.lz marcuscom-ports-f272260b35ea84617ccb2dd566d36f58a57beb3d.tar.xz marcuscom-ports-f272260b35ea84617ccb2dd566d36f58a57beb3d.tar.zst marcuscom-ports-f272260b35ea84617ccb2dd566d36f58a57beb3d.zip |
Fix build with new gtk20.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7722 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'science')
-rw-r--r-- | science/v_sim/Makefile | 62 | ||||
-rw-r--r-- | science/v_sim/distinfo | 3 | ||||
-rw-r--r-- | science/v_sim/pkg-descr | 9 | ||||
-rw-r--r-- | science/v_sim/pkg-plist | 144 |
4 files changed, 218 insertions, 0 deletions
diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile new file mode 100644 index 000000000..2087da8c1 --- /dev/null +++ b/science/v_sim/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: V_Sim +# Date created: Sep 27, 2005 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD: ports/science/v_sim/Makefile,v 1.6 2006/09/11 20:09:12 thierry Exp $ + +PORTNAME= v_sim +PORTVERSION= 3.2.1 +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 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +USE_GCC= 3.4+ + +.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"|;s|Werror ansi pedantic-errors||' \ + ${WRKSRC}/${CONFIGURE_SCRIPT} + ${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/src/Makefile.in + ${REINPLACE_CMD} -e 's|-pedantic-errors||' \ + ${WRKSRC}/src/extraGtkFunctions/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 000000000..a155b0e58 --- /dev/null +++ b/science/v_sim/distinfo @@ -0,0 +1,3 @@ +MD5 (v_sim-3.2.1.tar.bz2) = 3a43b1001639c1abbad03c328a038356 +SHA256 (v_sim-3.2.1.tar.bz2) = 1d21d1a461b1d2701847f2c2c20b772e8ee52b91d1707ef8c1089e2df5ecbcdc +SIZE (v_sim-3.2.1.tar.bz2) = 1297184 diff --git a/science/v_sim/pkg-descr b/science/v_sim/pkg-descr new file mode 100644 index 000000000..e41b62d82 --- /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 000000000..f80f6f2a5 --- /dev/null +++ b/science/v_sim/pkg-plist @@ -0,0 +1,144 @@ +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%%/planes.xml +%%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/save-bandeau.png +%%DATADIR%%/pixmaps/stock-atomic.png +%%DATADIR%%/pixmaps/stock-black-to-white.png +%%DATADIR%%/pixmaps/stock-blue-to-red.png +%%DATADIR%%/pixmaps/stock-blue-to-yellow.png +%%DATADIR%%/pixmaps/stock-channels-16.png +%%DATADIR%%/pixmaps/stock-four-lights_20.png +%%DATADIR%%/pixmaps/stock-go-and-back.png +%%DATADIR%%/pixmaps/stock-go-around.png +%%DATADIR%%/pixmaps/stock-go-once.png +%%DATADIR%%/pixmaps/stock-green-to-red.png +%%DATADIR%%/pixmaps/stock-hot-color.png +%%DATADIR%%/pixmaps/stock-inter.png +%%DATADIR%%/pixmaps/stock-isosurfaces.png +%%DATADIR%%/pixmaps/stock-one-light_20.png +%%DATADIR%%/pixmaps/stock-refresh-dir_20.png +%%DATADIR%%/pixmaps/stock-select-all_20.png +%%DATADIR%%/pixmaps/stock-union.png +%%DATADIR%%/pixmaps/stock-unselect-all_20.png +%%DATADIR%%/pixmaps/stock-white-to-black.png +%%DATADIR%%/pixmaps/stock-white-to-red.png +%%DATADIR%%/pixmaps/stock_effects-object-colorize_20.png +%%DATADIR%%/pixmaps/stock_effects-object-colorize_20_.png +%%DATADIR%%/pixmaps/stock_media-play.png +%%DATADIR%%/pixmaps/stock_media-stop.png +%%DATADIR%%/pixmaps/stock_palette_20.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%% +@dirrmtry share/pixmaps +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%REFDOC%%@dirrm %%DOCSDIR%%/APIreference +%%PORTDOCS%%@dirrm %%DOCSDIR%% |