PortSystem        1.0
PortGroup         cmake 1.0

name              playerstage-stage
version           3.2.2
revision          7
categories        science
platforms         darwin
maintainers       nomaintainer
description       Player/Stage robotic platform
long_description  The Player Project creates Free Software\
				  that enables research in robot and sensor\
				  systems. The Player robot server is probably\
				  the most widely used robot control interface\
				  in the world. Its simulation backends, \
				  Stage and Gazebo, are also very widely used.
				  
homepage          http://playerstage.sourceforge.net
master_sites      sourceforge:playerstage

distname                Stage-${version}-Source

checksums               md5     ca93c7c9746354679829092640c49ec6 \
                        sha1    783e16c179c76a65b64ad352c500f8ef6f3f1f2c \
                        rmd160  c0143cbcb5365110f7990fee27c3537cdad3a433

depends_build-append    port:pkgconfig \
                        path:lib/libfltk.dylib:fltk

depends_lib             port:playerstage-player \
                        port:libtool \
                        port:libpng \
                        path:include/turbojpeg.h:libjpeg-turbo

post-build {
    reinplace "s|${configure.cc_archflags}||g" ${worksrcpath}/stage.pc
}
