# $Id: Portfile 74160 2010-12-06 12:30:04Z jmr@macports.org $

PortSystem 1.0

name            wmclock
version         1.0.12.2
revision        4
categories      x11
maintainers     nomaintainer
description     A dockable clock applet
homepage        http://www.jmknoble.net/WindowMaker/wmclock/

long_description Wmclock is an applet which displays the date and time \
in a dockable tile in the same style as the clock from the NEXTSTEP(tm) \
operating system.  Wmclock is specially designed for the WindowMaker \
window manager.

platforms       darwin freebsd
master_sites    ${homepage}     
checksums       md5 97f6e82f55f216ba724859d4652586b4 \
                sha1 45176cc54c261a2fd79bf1fb4dad62f5bb5debde

patchfiles      wmclock_nopolling.patch

depends_build \
        port:imake \
        port:gccmakedep
depends_lib \
        port:xorg-libX11 \
        port:xorg-libXext \
        port:xpm

destroot.target install install.man

destroot.destdir \
        DESTDIR=${destroot} \
        BINDIR=${prefix}/bin \
        LIBDIR=${prefix}/lib/X11 \
        FONTDIR=${prefix}/lib/X11/fonts \
        MANPATH=${prefix}/share/man
