# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 77574 2011-04-04 18:12:50Z ryandesign@macports.org $

PortSystem                  1.0

name                        LibVNCServer
version                     0.9.8
categories                  devel
platforms                   darwin
maintainers                 ryandesign
license                     GPL-2+

description                 library for writing VNC servers and clients

long_description            ${name} is a library to make it easier to write \
                            programs that use the RFB (Remote Frame Buffer) \
                            protocol to implement a VNC server or client.

homepage                    http://libvncserver.sourceforge.net/
master_sites                sourceforge:libvncserver

checksums                   sha1    71e88ea95ad147185bbf6ca24ba7b0fbb8634421 \
                            rmd160  e2ee515623ad3bb065a87fa5a66e9ada77690cc3

depends_lib                 port:jpeg \
                            port:zlib

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS \
        COPYING \
        ChangeLog \
        NEWS \
        README \
        TODO \
        ${docdir}
}
