Info2: <<
Package: vrml-oct%type_pkg[oct]
Version: 1.0.13
Type: oct (3.8.2), forge (vrml)
Revision: 3
# dist restricted by freewrl
Distribution: 10.9, 10.10, 10.11, 10.12, 10.13, 10.14, 10.14.5, 10.15, 11.0, 11.3, 12.0
Maintainer: Alexander Hansen <alexkhansen@users.sourceforge.net>
# unfortunately, Homepage won't do types
Homepage:  http://octave.sourceforge.net/vrml/index.html 
Description: VRML for Octave
DescDetail: <<
3D graphics using VRML.

This package provides the following functions:

3D visualization:
        vmesh
        select_3D_points
        vrml_browse
        vrml_kill
        vrml_anim
Create 3D objects:
        vrml_surf
        vrml_points
        vrml_select_points
        vrml_faces
        vrml_cyl
        vrml_frame
        vrml_flatten
        vrml_transfo
        vrml_Background
        vrml_PointLight
        vrml_text
        vrml_arrow
        vrml_lines
        vrml_group
Support Functions:
        data2vrml
        save_vrml
        best_dir
        best_dir_cov
        proplan
        bound_convex
        vrml_DirectionalLight
        vrml_ROUTE
        vrml_TimeSensor
        vrml_ellipsoid
        vrml_interp
        vrml_material
        vrml_newname
        vrml_parallelogram
        vrml_thick_surf
Demos:
        test_vmesh
        test_vrml_faces
        vrml_demo_tutorial_1
        vrml_demo_tutorial_2
        vrml_demo_tutorial_3
        vrml_demo_tutorial_4
<<

License: GPL3+/GFDL

Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz
Source-Checksum: SHA256(c45357d47382b22a37dded72888c34a3839ff608baedbfea11ed2950c21ca9d7)
SourceDirectory: %type_pkg[forge]
Source2: mirror:master:%type_pkg[forge]-doc.tar.bz2
Source2-Checksum: SHA256(e0b5a8af4e54c9672e3b3f833028e0307b4bbb6bde41251b4deb6ab325eadd2f)

BuildDepends: <<
  liboctave%type_pkg[oct]-dev, 
  fftw3,
  hdf5.9,
  fink (>=0.32)
<<
RuntimeDepends: <<
  freewrl-x11,
  linear-algebra-oct%type_pkg[oct] | linear-algebra-atlas-oct%type_pkg[oct] | linear-algebra-ref-oct%type_pkg[oct],
  miscellaneous-oct%type_pkg[oct],
  struct-oct%type_pkg[oct],
  statistics-oct%type_pkg[oct]
<<
Depends: octave%type_pkg[oct]-interpreter
Conflicts: octave-forge

PatchFile: %{ni}.patch
PatchFile-MD5: 963ef358c747a6f280059a3b71c96930

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
UseMaxBuildJobs: false
BuildAsNobody: false

CompileScript: <<
#!/bin/sh -ev

pkgsrc=%type_raw[forge]

%p/share/fink-octave-scripts/octave-forge-patch.sh %type_raw[forge] %v %type_raw[oct] %b %i $pkgsrc
./octave-forge-compile.sh
<<

InstallScript: ./octave-forge-install.sh
PostInstScript:  %p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-postinst.sh
PreRmScript: %p/share/octave/%type_raw[oct]/%type_raw[forge]/octave-forge-prerm.sh

DescPackaging: <<
This package:
Apply fix from Launchpad and Debian to vrml_material.m.
Build .dvi and .pdf docs as Source2 to include in the package since forcing
users to have TeX to build the docs is just cruel. :-)

Common for all octave-forge packages:
Preinst and postinst scripts are dynamically set up via 
%p/share/fink-octave-scripts/octave-forge-patch.sh because Octave's package manager 
can't cope with non-literal arguments.

The Type: forge (pkgname) is used to minimize what needs to be changed when
using this .info file as a template.
<<
<<