Index: head/science/v_sim/Makefile =================================================================== --- head/science/v_sim/Makefile (revision 544175) +++ head/science/v_sim/Makefile (revision 544176) @@ -1,86 +1,87 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= v_sim PORTVERSION= 3.7.2 PORTREVISION= 12 CATEGORIES= science MASTER_SITES= http://inac.cea.fr/sp2m/L_Sim/V_Sim/download/ MAINTAINER= thierry@FreeBSD.org COMMENT= Visualization of atomic structures LICENSE= CeCILL LICENSE_NAME= CeCILL LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libftgl.so:graphics/ftgl USES= compiler:c11 fortran gl gmake gnome libtool localbase:ldflags \ pkgconfig tar:bzip2 xorg USE_XORG= x11 USE_GNOME= gtk20 intltool cairo USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc --disable-python-module CPPFLAGS+= ${CFLAGS} USE_LDCONFIG= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS NLS EXAMPLES .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else +USES+= gettext-tools PLIST_SUB+= NLS="@comment " .endif .if !defined(WITHOUT_CDF) LIB_DEPENDS+= libnetcdf.so:science/netcdf CONFIGURE_ARGS+=--with-netcdf=${LOCALBASE} PLIST_SUB+= CDF="" .else CONFIGURE_ARGS+=--without-netcdf PLIST_SUB+= CDF="@comment " .endif .if !defined(WITHOUT_BABEL) LIB_DEPENDS+= libopenbabel.so:science/openbabel CONFIGURE_ARGS+=--with-openbabel PLIST_SUB+= BABEL="" .else CONFIGURE_ARGS+=--without-openbabel PLIST_SUB+= BABEL="@comment " .endif pre-configure: - ${REINPLACE_CMD} -e 's|$$datadir/doc/$$PACKAGE/examples|${EXAMPLESDIR}|' \ + @${REINPLACE_CMD} -e 's|$$datadir/doc/$$PACKAGE/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 ||' \ + +pre-configure-NLS-off: + @${REINPLACE_CMD} -e '/^ po /d' \ ${WRKSRC}/Makefile.in -.endif -.if ! ${PORT_OPTIONS:MDOCS} - ${REINPLACE_CMD} -e 's|Documentation||' \ + +pre-configure-DOCS-off: + @${REINPLACE_CMD} -e '/^ Documentation/d' \ ${WRKSRC}/Makefile.in -.endif -.if ! ${PORT_OPTIONS:MEXAMPLES} - ${REINPLACE_CMD} -e 's|pixmaps \\|pixmaps|;s|examples$$||' \ + +pre-configure-EXAMPLES-off: + @${REINPLACE_CMD} -e '/^ examples/d' \ ${WRKSRC}/Makefile.in - ${FIND} ${WRKSRC}/lib/plug-ins -name Makefile.in | ${XARGS} \ - ${REINPLACE_CMD} -e \ - 's|install-v_simexamplesDATA install-v_simpixmapsDATA|install-v_simpixmapsDATA|' - ${REINPLACE_CMD} -e 's|: install-v_simexamplesDATA|:|' \ + @${FIND} ${WRKSRC}/lib/plug-ins -name Makefile.in | ${XARGS} \ + ${REINPLACE_CMD} -e \ + 's|install-v_simexamplesDATA install-v_simpixmapsDATA|install-v_simpixmapsDATA|' + @${REINPLACE_CMD} -e 's|: install-v_simexamplesDATA|:|' \ ${WRKSRC}/lib/python/Makefile.in -.endif .include Index: head/science/v_sim/pkg-plist =================================================================== --- head/science/v_sim/pkg-plist (revision 544175) +++ head/science/v_sim/pkg-plist (revision 544176) @@ -1,237 +1,237 @@ bin/v_sim lib/libv_sim-3.a lib/libv_sim-3.so lib/libv_sim-3.so.7 lib/libv_sim-3.so.7.0.0 %%BABEL%%lib/v_sim/plug-ins/libobloader.a %%BABEL%%lib/v_sim/plug-ins/libobloader.so %%BABEL%%lib/v_sim/plug-ins/libobloader.so.7 %%BABEL%%lib/v_sim/plug-ins/libobloader.so.7.0.0 %%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 %%PORTDOCS%%%%DOCSDIR%%/api-3.3.html %%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 %%PORTDOCS%%%%DOCSDIR%%/ch01.html %%PORTDOCS%%%%DOCSDIR%%/ch02.html %%PORTDOCS%%%%DOCSDIR%%/ch03.html %%PORTDOCS%%%%DOCSDIR%%/ch04.html %%PORTDOCS%%%%DOCSDIR%%/ch05.html %%PORTDOCS%%%%DOCSDIR%%/ch06.html %%PORTDOCS%%%%DOCSDIR%%/ch07.html %%PORTDOCS%%%%DOCSDIR%%/ch08.html %%PORTDOCS%%%%DOCSDIR%%/ch09.html %%PORTDOCS%%%%DOCSDIR%%/ch10.html %%PORTDOCS%%%%DOCSDIR%%/ch11.html %%PORTDOCS%%%%DOCSDIR%%/core.html %%PORTDOCS%%%%DOCSDIR%%/gtkInterface.html %%PORTDOCS%%%%DOCSDIR%%/home.png %%PORTDOCS%%%%DOCSDIR%%/index.html %%PORTDOCS%%%%DOCSDIR%%/index.sgml %%PORTDOCS%%%%DOCSDIR%%/left.png %%PORTDOCS%%%%DOCSDIR%%/licence.en.txt %%PORTDOCS%%%%DOCSDIR%%/licence.fr.txt %%PORTDOCS%%%%DOCSDIR%%/miscInfo.html %%PORTDOCS%%%%DOCSDIR%%/object-tree.html %%PORTDOCS%%%%DOCSDIR%%/pot2surf_help %%PORTDOCS%%%%DOCSDIR%%/readme %%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-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-dumpToPsAndPdf.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToSVG.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToTiff.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-dumpToXyz.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-extraNode.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-geometry.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-about.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-colorComboBoxWidget.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-curveWidget.html %%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 %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-move.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-numericalEntryWidget.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-openGLWidget.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-orientationChooser.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-pairs.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-pick.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-renderingWindowWidget.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-save.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-shadeComboBoxWidget.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-stippleComboBoxWidget.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-toolPanelWidget.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-valueIOWidget.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtk-wire.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtkAtomic.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-gtkSpin.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-interactive.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-isoline.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-light.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-map.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-marks.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-objectList.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-opengl.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelAxes.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelBrowser.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelConfig.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelDataFile.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelElements.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelFogBgColor.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelGeometry.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelMap.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelMethod.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelOpenGL.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelPlanes.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelSurfaces.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelSurfacesTools.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-panelVibration.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-plane.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-pot2surf.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-renderingAtomic-ascii.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-renderingAtomic-d3.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-renderingAtomic.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-renderingMode.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-renderingSpin.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-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-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-dump.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-elements.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-gtk.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-openGL.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-visu-plugins.html %%PORTDOCS%%%%DOCSDIR%%/v-sim-wire.html %%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 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo.d3 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo.xyz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_spin.d3 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo_spin.spin %%PORTEXAMPLES%%%%EXAMPLESDIR%%/density-sih4.dat %%PORTEXAMPLES%%%%EXAMPLESDIR%%/diff.ascii %%PORTEXAMPLES%%%%EXAMPLESDIR%%/diff.dat %%PORTEXAMPLES%%%%EXAMPLESDIR%%/planes.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_isosurfaces.ascii %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_isosurfaces.surf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/values.xml share/icons/hicolor/16x16/apps/v_sim.png share/icons/hicolor/22x22/apps/v_sim.png 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 -share/locale/fr/LC_MESSAGES/v_sim.mo +%%NLS%%share/locale/fr/LC_MESSAGES/v_sim.mo share/pixmaps/v_sim.xpm %%DATADIR%%/pixmaps/axes-angles.png %%DATADIR%%/pixmaps/axes-box.png %%DATADIR%%/pixmaps/axes-button.png %%DATADIR%%/pixmaps/axes-ortho.png %%DATADIR%%/pixmaps/icone-about.png %%DATADIR%%/pixmaps/icone-dialog.png %%DATADIR%%/pixmaps/icone-observe.png %%DATADIR%%/pixmaps/icone-observe.xpm %%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/openbabel.png %%DATADIR%%/pixmaps/save-bandeau.png %%DATADIR%%/pixmaps/stock-atomic.png %%DATADIR%%/pixmaps/stock-axes_20.png %%DATADIR%%/pixmaps/stock-browser_20.png %%DATADIR%%/pixmaps/stock-data_20.png %%DATADIR%%/pixmaps/stock-elements_20.png %%DATADIR%%/pixmaps/stock-fog_20.png %%DATADIR%%/pixmaps/stock-four-lights_20.png %%DATADIR%%/pixmaps/stock-geometry_20.png %%DATADIR%%/pixmaps/stock-go-and-back.png %%DATADIR%%/pixmaps/stock-go-around.png %%DATADIR%%/pixmaps/stock-go-once.png %%DATADIR%%/pixmaps/stock-inter.png %%DATADIR%%/pixmaps/stock-isosurfaces_20.png %%DATADIR%%/pixmaps/stock-map_20.png %%DATADIR%%/pixmaps/stock-masking.png %%DATADIR%%/pixmaps/stock-menu-detach.png %%DATADIR%%/pixmaps/stock-method_20.png %%DATADIR%%/pixmaps/stock-one-light_20.png %%DATADIR%%/pixmaps/stock-opengl_20.png %%DATADIR%%/pixmaps/stock-phonons.png %%DATADIR%%/pixmaps/stock-planes_20.png %%DATADIR%%/pixmaps/stock-select-all_20.png %%DATADIR%%/pixmaps/stock-spin.png %%DATADIR%%/pixmaps/stock-union.png %%DATADIR%%/pixmaps/stock-unselect-all_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_rotate_20.png %%DATADIR%%/v_sim.par %%DATADIR%%/v_sim.rc %%DATADIR%%/v_sim.res