# $Id: Portfile,v 1.7 2005/02/03 06:01:32 rshaw Exp $

PortSystem 1.0
name                fox
version             1.2.13
revision			1
description         The FOX GUI toolkit
long_description    FOX is a C++ based Toolkit for developing Graphical \
                    User Interfaces easily and effectively.
maintainers         tristan@opendarwin.org
categories          x11
platforms           darwin 
homepage            http://www.fox-toolkit.org/
master_sites        http://www.fox-toolkit.org/ftp/
checksums           md5 497a6c5880501e502d87a2e4a7c36d29
depends_lib         lib:libtiff.3:tiff  lib:libpng12.0:libpng \
                    lib:libjpeg.62:jpeg lib:libX11.6:XFree86
configure.env       CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib -lstdc++"
configure.pre_args  --prefix=${prefix} --mandir=${prefix}/share/man
configure.args      --with-opengl=no --enable-cups 
post-configure      {
                        reinplace "s;fox/html;share/doc/fox-1.2/html;" ${worksrcpath}/doc/art/Makefile
                        reinplace "s;fox/html;share/doc/fox-1.2/html;" ${worksrcpath}/doc/screenshots/Makefile
                    }

