# $Id: Portfile,v 1.6 2006/04/05 19:03:39 yves Exp $

PortSystem       1.0
name             wmcalclock
version          1.25
distname         wmCalClock-${version}
categories       x11
maintainers      yves@opendarwin.org
description      WindowMaker clock docklet
long_description \
    Clock docklet for WindowMaker that displays the time and date.
homepage         http://dockapps.org/file.php/id/9
platforms        darwin
master_sites     http://dockapps.org/download.php/id/16/
depends_lib      lib:libX11.6:XFree86
checksums        md5 70c47ec1d8f8ec7e3ed7eb2d3105d371
extract.cmd     cat
extract.pre_args    ""
worksrcdir       ${distname}/Src
patch {
    reinplace s|man/man1|share/man/man1| ${worksrcpath}/Makefile
}
use_configure    no
destroot.destdir DESTDIR=${destroot}${prefix}
