----------------------------------------------------------------------
			SSWF UNDER MAC OS/X
----------------------------------------------------------------------

		SUMMARY

	  I. INSTALLING SSWF FROM THE .dmg PACKAGE
	 II. INSTALLING SSWF WITH FINK
	III. COMPILING SSWF WITH FINK


----------------------------------------------------------------------

I. INSTALLING SSWF FROM THE .dmg PACKAGE

The SSWF project now includes a disk image (the sswf-<version>.dmg
files). You can download this image directly to your Macintosh. It
should automatically be mounted. Otherwise you can just double click
or use the Mount Finder option.

In the root directory of this disk image you will find this INSTALL
file, an installation and an uninstallation set of scripts. You will
need a terminal console (Go to your Applications/Utilities and double
click on the application Terminal). You need to cd to the disk image
as follow:

	cd /Volumes/ScriptSWF-<version>

Where <version> is the version of SSWF that you downloaded (for
instance: 1.7.0). If you are not sure, you can do this:

	cd /Volumes
	ls

which will print out all the real and virtual disks currently mounted.
Then cd into the ScriptSWF-<version> that you have.

Once you are ready to install SSWF, type the following command:

	./install.sh

The script will ask you confirmation before to proceed.

Later, if you want to uninstall, cd to the same place and use the
following command:

	./uninstall.sh

Note 1: you can't recompile if you don't also have fink.


----------------------------------------------------------------------

II. INSTALLING SSWF WITH FINK

If you have fink, you can try a usual install with the fink tool.
If that doesn't work or doesn't grab the latest version, you can
download the packages directly from the SSWF website.

Download the pre-compiled .deb files as follow:
(Important: PowerPC processor only)

	sswf-bin_<version>-3_darwin-powerpc.deb
	sswf-dev_<version>-3_darwin-powerpc.deb
	sswf-docs_<version>-3_darwin-powerpc.deb
	sswf-shlibs_<version>-3_darwin-powerpc.deb
	sswf_<version>-3_darwin-powerpc.deb

Note 2: sswf-bin* appeared in 1.7.4

You need the dev package only if you want to develop with the SSWF
library. I suggest you install the docs. The shlibs will automatically
be installed when you install the sswf compiler.

If you can't yet find sswf 1.7.0+ in the Fink web pages, then it can
be installed by copying the .deb files in the directory /sw/fink/debs
and then typing:

	fink install sswf

----------------------------------------------------------------------

III. COMPILING SSWF WITH FINK

If you feel like recompiling, you have two ways: directly with the
tarballs or with fink.

With the tar balls, cd into sswf-<version> directoy once you decompressed
them (note that you don't need to -doc package, but I suggest you do get
it anyway) and do the following:

	# Without using the .info file
	./configure --prefix=/sw --mandir=/sw/share/man
	make
	sudo make install

(where /sw is the directory where Fink is installed)

You can also use fink. Fink downloads the tarballs automatically.
You need to download the .info file (sswf-<version>-<revision>.info)
and put it at the right place:

   /sw/fink/dists/local/main/finkinfo/sswf-<VERSION>-3.info

	# Build with Fink
	fink -k rebuild sswf-<version>-3;

For more information on recompiling look at the INSTALL.txt file.
It is available in the source tar ball of SSWF.


