zphoto-1.2-1013 stable port information

Info2: <<
Package: zphoto%type_pkg[-gui]
Description: Zooming photo album generator
Version: 1.2
Revision: 1013
GCC: 4.0
Type: -gui (-wxgtk)
License: LGPL
Maintainer: None

BuildDepends: <<
libiconv-dev, libgettext3-dev, gettext-bin, gettext-tools,
ming (>=0.2a), imlib2 (>=1.1.0), popt (>=1.6.3), freetype219,
(%type_raw[-gui] = -wxgtk) wxgtk (>=2.5.2.8-1003), (%type_raw[-gui] = -wxmac) wxmac (>=2.4.1), fink (>= 0.24.12-1)
<<
Depends: <<
libiconv, libgettext3-shlibs,
ming-shlibs (>=0.2a), imlib2-shlibs (>=1.1.0), popt-shlibs (>=1.6.3), freetype219-shlibs,
(%type_raw[-gui] = -wxgtk) wxgtk-shlibs (>=2.5.2.8-1003), (%type_raw[-gui] = -wxmac) wxmac-shlibs (>=2.4.1)
<<
Conflicts: wxzphoto (<< 1.2-4), (%type_raw[-gui] != .) zphoto, (%type_raw[-gui] != -wxgtk) zphoto-wxgtk, (%type_raw[-gui] != -wxmac) zphoto-wxmac
Replaces: wxzphoto (<< 1.2-4), (%type_raw[-gui] != .) zphoto, (%type_raw[-gui] != -wxgtk) zphoto-wxgtk, (%type_raw[-gui] != -wxmac) zphoto-wxmac
Provides: (%type_raw[-gui] != .) zphoto

Source: http://namazu.org/~satoru/zphoto/zphoto-%v.tar.gz
Source-MD5: 636a9cffec9131043e29c1f5812a6c3c

PatchFile: zphoto.patch
PatchFile-MD5: 0869b6b5d00565d7e84ce167a1e6ccce

CompileScript: <<
#!/bin/sh -ev
case "x%type_raw[-gui]" in
x.) args="--disable-wx";;
x-wxgtk|x-wxmac) args="--with-wx-config=%p/bin/wx-config";;
esac
./configure %c $args
make
<<
InstallScript: <<
#!/bin/sh -ev
%{default_script}
if [ "x%type_raw[-gui]" = "x-wxmac" ]; then
/bin/mkdir -p %i/Applications/Zphoto.app/Contents/MacOS
/bin/mv %I/bin/wxzphoto %i/Applications/Zphoto.app/Contents/MacOS/Zphoto
/bin/mkdir -p %i/Applications/Zphoto.app/Contents/Resources
/bin/cp %p/share/wxmac/wxmac.icns %i/Applications/Zphoto.app/Contents/Resources
/usr/bin/printf 'APPL????' > %i/Applications/Zphoto.app/Contents/PkgInfo
/bin/cp Info.plist %i/Applications/Zphoto.app/Contents/Info.plist
fi
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
PostInstScript: <<
if [ "x%type_raw[-gui]" = "x-wxmac" ]; then
/usr/bin/install -m 775 -d /Applications/Fink
/bin/ln -fs %p/Applications/Zphoto.app /Applications/Fink/Zphoto.app
fi
<<
PreRmScript: [ "x%type_raw[-gui]" = "x-wxmac" ] && /bin/rm -f /Applications/Fink/Zphoto.app

DescPackaging: <<
We have split the zphoto-wxgtk variant into a separate file so that the
other variants can be updated to g++-4.0. If this package is updated some
day, it is likely that the variants can once again be handled by a single
.info file.
<<
DescDetail: <<
zphoto is a zooming photo album generator.
zphoto creates a flash-based web page.
<<
Homepage: http://zphoto.sourceforge.net/
<<