aboutsummaryrefslogtreecommitdiff
path: root/science/v_sim
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-04-24 21:31:15 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-04-24 21:31:15 +0000
commitc79d7c5e3d7abb90d8d216ca1b78b5afbf5283f2 (patch)
treeb58b5489120c473f34a6ff64c206e97e1b21641f /science/v_sim
parent426609747158c6b7ed1c6076d9f0611cbfeeb11a (diff)
downloadports-c79d7c5e3d7abb90d8d216ca1b78b5afbf5283f2.tar.gz
ports-c79d7c5e3d7abb90d8d216ca1b78b5afbf5283f2.zip
Notes
Diffstat (limited to 'science/v_sim')
-rw-r--r--science/v_sim/Makefile26
-rw-r--r--science/v_sim/distinfo4
-rw-r--r--science/v_sim/files/patch-lib_plug-ins_Makefile.in10
-rw-r--r--science/v_sim/pkg-plist77
4 files changed, 70 insertions, 47 deletions
diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile
index d26d5560e324..ab18ec380e2f 100644
--- a/science/v_sim/Makefile
+++ b/science/v_sim/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= v_sim
-PORTVERSION= 3.6.1.1
-PORTREVISION= 3
+PORTVERSION= 3.7.1
CATEGORIES= science
MASTER_SITES= http://www-drfmc.cea.fr/sp2m/L_Sim/V_Sim/download/
@@ -15,29 +14,20 @@ LICENSE_NAME= CeCILL
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
-
-USES= fortran gmake pkgconfig
-USE_BZIP2= yes
-USE_GNOME= gtk20
+USES= fortran gmake pkgconfig tar:bzip2
+USE_GNOME= gtk20 cairo
USE_GL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc
+CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc --disable-python-module
CPPFLAGS+= ${CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS NLS EXAMPLES
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS}
-MAN1= v_sim.1
-.endif
-
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
@@ -46,7 +36,7 @@ PLIST_SUB+= NLS="@comment "
.endif
.if !defined(WITHOUT_CDF)
-LIB_DEPENDS+= netcdf.4:${PORTSDIR}/science/netcdf
+LIB_DEPENDS+= libnetcdf.so:${PORTSDIR}/science/netcdf
CONFIGURE_ARGS+=--with-netcdf=${LOCALBASE}
PLIST_SUB+= CDF=""
.else
@@ -55,7 +45,7 @@ PLIST_SUB+= CDF="@comment "
.endif
.if !defined(WITHOUT_BABEL)
-LIB_DEPENDS+= openbabel:${PORTSDIR}/science/openbabel
+LIB_DEPENDS+= libopenbabel.so:${PORTSDIR}/science/openbabel
CONFIGURE_ARGS+=--with-openbabel
PLIST_SUB+= BABEL=""
.else
@@ -65,8 +55,8 @@ PLIST_SUB+= BABEL="@comment "
pre-configure:
${REINPLACE_CMD} -e 's|$$datadir/doc/$$PACKAGE/examples|${EXAMPLESDIR}|' \
- -e 's|CFLAGS="-O2"|#CFLAGS="-O2"|;s|Werror ansi pedantic-errors||' \
- -e 's|$${docdir}/examples|${EXAMPLESDIR}|' \
+ -e 's| CFLAGS="-O2"|#CFLAGS="-O2"|;s|Werror ansi pedantic-errors||' \
+ -e 's| FCFLAGS="-O2"|FCFLAGS=${FFLAGS}|;s|$${docdir}/examples|${EXAMPLESDIR}|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
.if ! ${PORT_OPTIONS:MNLS}
${REINPLACE_CMD} -e 's| po ||' \
diff --git a/science/v_sim/distinfo b/science/v_sim/distinfo
index 72bb2664ddf7..e33fe59cbd7c 100644
--- a/science/v_sim/distinfo
+++ b/science/v_sim/distinfo
@@ -1,2 +1,2 @@
-SHA256 (v_sim-3.6.1.1.tar.bz2) = 4e8c5ae6a86d92d42c7fdbdb55940bc96780d5ec25d10f03c812be42facb2f67
-SIZE (v_sim-3.6.1.1.tar.bz2) = 2955604
+SHA256 (v_sim-3.7.1.tar.bz2) = cd9311914aa73244808124cedd00fdd319ff58abaed3d856c8f4658d896fba74
+SIZE (v_sim-3.7.1.tar.bz2) = 3101449
diff --git a/science/v_sim/files/patch-lib_plug-ins_Makefile.in b/science/v_sim/files/patch-lib_plug-ins_Makefile.in
new file mode 100644
index 000000000000..98de8b3394bb
--- /dev/null
+++ b/science/v_sim/files/patch-lib_plug-ins_Makefile.in
@@ -0,0 +1,10 @@
+--- lib/plug-ins/Makefile.in.orig 2014-04-09 09:37:31.000000000 +0200
++++ lib/plug-ins/Makefile.in 2014-04-24 23:23:33.000000000 +0200
+@@ -341,7 +341,6 @@
+ xsf \
+ cube \
+ abinit \
+- python-gi \
+ archives \
+ bigdft
+
diff --git a/science/v_sim/pkg-plist b/science/v_sim/pkg-plist
index d174c89cca9e..1c434656437e 100644
--- a/science/v_sim/pkg-plist
+++ b/science/v_sim/pkg-plist
@@ -2,15 +2,40 @@ bin/v_sim
lib/libv_sim-3.a
lib/libv_sim-3.la
lib/libv_sim-3.so
-lib/libv_sim-3.so.6
+lib/libv_sim-3.so.7
%%BABEL%%lib/v_sim/plug-ins/libobloader.a
%%BABEL%%lib/v_sim/plug-ins/libobloader.la
%%BABEL%%lib/v_sim/plug-ins/libobloader.so
-%%BABEL%%lib/v_sim/plug-ins/libobloader.so.6
-%%DOCSDIR%%/ChangeLog.en
-%%DOCSDIR%%/ChangeLog.fr
+%%BABEL%%lib/v_sim/plug-ins/libobloader.so.7
+%%PORTDOCS%%man/man1/v_sim.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.en
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.fr
+%%PORTDOCS%%%%DOCSDIR%%/ToolFileFormat.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuBox.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuData.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExt.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtAxes.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtBg.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtBoxLegend.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtForces.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtFrame.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtInfos.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtLegend.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtMaps.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtNodeVectors.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtNodes.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtPairs.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtPaths.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtPlanes.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtScale.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtShade.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlExtSurfaces.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuGlView.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuNodeArray.html
%%PORTDOCS%%%%DOCSDIR%%/VisuObject.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuPairLink.html
%%PORTDOCS%%%%DOCSDIR%%/VisuRendering.html
+%%PORTDOCS%%%%DOCSDIR%%/VisuScalarField.html
%%PORTDOCS%%%%DOCSDIR%%/annotation-glossary.html
%%PORTDOCS%%%%DOCSDIR%%/api-3.1.html
%%PORTDOCS%%%%DOCSDIR%%/api-3.2.html
@@ -18,6 +43,7 @@ lib/libv_sim-3.so.6
%%PORTDOCS%%%%DOCSDIR%%/api-3.4.html
%%PORTDOCS%%%%DOCSDIR%%/api-3.5.html
%%PORTDOCS%%%%DOCSDIR%%/api-3.6.html
+%%PORTDOCS%%%%DOCSDIR%%/api-3.7.html
%%PORTDOCS%%%%DOCSDIR%%/api-index-full.html
%%PORTDOCS%%%%DOCSDIR%%/authors
%%PORTDOCS%%%%DOCSDIR%%/axesTransform.png
@@ -47,23 +73,20 @@ lib/libv_sim-3.so.6
%%PORTDOCS%%%%DOCSDIR%%/right.png
%%PORTDOCS%%%%DOCSDIR%%/style.css
%%PORTDOCS%%%%DOCSDIR%%/up.png
+%%PORTDOCS%%%%DOCSDIR%%/v-sim-VisuBoxed.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-atomic-xyz.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-axes.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-box.html
+%%PORTDOCS%%%%DOCSDIR%%/v-sim-atomic-yaml.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-cylinder.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dataFile.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dataNode.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpThroughGdkPixbuf.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToABINIT.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToAscii.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToGif.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToPsAndPdf.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToSVG.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToTiff.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToXyz.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-extInfos.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-extraNode.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-fogAndBGColor.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-geometry.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-about.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-colorComboBoxWidget.html
@@ -71,6 +94,7 @@ lib/libv_sim-3.so.6
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-cylinder.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-dumpDialogWidget.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-elementComboBox.html
+%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-fieldChooser.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-interactive.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-lineObjectWidget.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-main.html
@@ -91,7 +115,6 @@ lib/libv_sim-3.so.6
%%PORTDOCS%%%%DOCSDIR%%/v-sim-gtkSpin.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-interactive.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-isoline.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-legend.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-light.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-map.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-marks.html
@@ -118,40 +141,31 @@ lib/libv_sim-3.so.6
%%PORTDOCS%%%%DOCSDIR%%/v-sim-renderingAtomic.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-renderingMode.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-renderingSpin.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-rings.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-scalarFields.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-scale.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-surfaces-points.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-surfaces-resources.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-surfaces.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-text.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-toolColor.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-toolConfigFile.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-toolFileFormat.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-toolFortran.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-toolMatrix.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-toolOptions.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-toolPhysic.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-toolShade.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-vibration.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-view.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-actionInterface.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-basic.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-commandLine.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-configFile.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-data.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-dump.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-elements.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-extension.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-gtk.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-nodes.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-openGL.html
-%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-pairs.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-plugins.html
%%PORTDOCS%%%%DOCSDIR%%/v-sim-wire.html
-%%PORTDOCS%%%%DOCSDIR%%/v_sim.devhelp
%%PORTDOCS%%%%DOCSDIR%%/v_sim.devhelp2
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aluminium.d3
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cinchonidine.yaml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coord_vib_g_co.xyz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo-browser.tar.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo.ascii
@@ -172,7 +186,7 @@ share/icons/hicolor/24x24/apps/v_sim.png
share/icons/hicolor/32x32/apps/v_sim.png
share/icons/hicolor/48x48/apps/v_sim.png
share/icons/hicolor/scalable/apps/v_sim.svg
-%%NLS%%share/locale/fr/LC_MESSAGES/v_sim.mo
+share/locale/fr/LC_MESSAGES/v_sim.mo
share/pixmaps/v_sim.xpm
%%DATADIR%%/pixmaps/axes-angles.png
%%DATADIR%%/pixmaps/axes-box.png
@@ -223,12 +237,21 @@ share/pixmaps/v_sim.xpm
%%DATADIR%%/v_sim.res
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%
+@dirrmtry share/icons/hicolor/scalable/apps
+@dirrmtry share/icons/hicolor/scalable
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor/32x32/apps
+@dirrmtry share/icons/hicolor/32x32
+@dirrmtry share/icons/hicolor/24x24/apps
+@dirrmtry share/icons/hicolor/24x24
+@dirrmtry share/icons/hicolor/22x22/apps
+@dirrmtry share/icons/hicolor/22x22
+@dirrmtry share/icons/hicolor/16x16/apps
+@dirrmtry share/icons/hicolor/16x16
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/v_sim/plug-ins
@dirrm lib/v_sim
-@dirrmtry lib/python/site-packages/gtk-2.0/gi/overrides
-@dirrmtry lib/python/site-packages/gtk-2.0/gi
-@dirrmtry lib/python/site-packages/gtk-2.0
-@dirrmtry lib/python/site-packages
-@dirrmtry lib/python