PortSystem       1.0

name             wmcalclock
version          1.26
revision         1
categories       x11
license          GPL-2+
maintainers      nomaintainer
description      WindowMaker clock docklet
long_description \
    Clock docklet for WindowMaker that displays the time and date.
homepage         http://jmpacquet.free.fr/wmcalclock/
platforms        darwin
distname         wmCalClock-${version}
master_sites     http://jmpacquet.free.fr/wmcalclock/
depends_lib      port:xorg-libXext port:xpm
checksums        md5 ea8df8a238cce22721eafbe2ea2b1ae7
worksrcdir       ${distname}/Src
patch {
    reinplace s|man/man1|share/man/man1| ${worksrcpath}/Makefile
}
use_configure    no
destroot.destdir DESTDIR=${destroot}${prefix}

build.args INCDIR="-I${prefix}/include" LIBDIR="-L${prefix}/lib"
