5688627b315f45ad66717a8402afae837441e2a4
[pkgsrcv2.git] / graphics / PanoTools / files / mkpthelpers.sh
1 #!/bin/sh
2 #
3 #       $Id: mkpthelpers.sh,v 1.1 2003/04/20 06:58:20 rh Exp $
4 #
5 # This script creates a Helpers directory in the current directory.
6 # It will also create a Script.txt if it doesn't exist yet.
7 # Both are needed for the PanoTools helpers to work.
8 #
9 if mkdir Helpers ; then
10         for i in PTAverage PTInterpolate PTMorpher PTOptimizer PTStereo \
11             PTStitcher PTStripe ; do
12                 ln -s @@prefix@@/libexec/PanoTools/$i Helpers
13         done
14
15         cp -R @@prefix@@/share/PanoTools/Templates Helpers
16 fi
17
18 [ -f Script.txt ] ||                                                    \
19 cp @@prefix@@/share/doc/PanoTools/Stitcher_Script.txt Script.txt