# $Id: Portfile 45603 2009-01-18 20:52:41Z jeremyhu@macports.org $

PortSystem          1.0
name                xcursorgen
version             1.0.2
revision            1
categories          x11
maintainers         blb openmaintainer
description         Create an X11 cursor file from a collection of PNG images
long_description \
   xcursorgen takes a list of images, hotspot, and size information and \
   converts them to Xcursor format.

platforms           darwin

homepage            http://www.x.org/
master_sites        ${homepage}pub/individual/app/
use_bzip2           yes

checksums           md5     6fc90896b8c786cb1a2100b4167f7874 \
                    sha1    467b440779fe7dd34d35f0610ec977d3e51617bc \
                    rmd160  fc1a5a1cbc6d6abaec3fdc6098ba4a9f0642fd4a

depends_build       port:pkgconfig

depends_lib         port:xorg-libXcursor port:libpng

livecheck.check     regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       ${master_sites}

