# $Id: Portfile,v 1.7 2006/05/03 21:31:08 markd Exp $

PortSystem 1.0
name             abclock
version          1.0d
categories       x11
maintainers      darwinports@opendarwin.org
description      analog clock for X
long_description \
    Analogue Bitmap Clock displays the current time with \
    hours and minutes in an analogue fashion but unlike \
    the traditional clock\; unlike ordinary analogue clocks, \
    this design is clear even in very small bitmaps.
homepage         http://odur.let.rug.nl/~kleiweg/abclock/
platforms        darwin
master_sites     ${homepage}
checksums        md5 a0175114294c63e13a061535823db1bf

patch {
    reinplace "s|#include <values.h>||" ${worksrcpath}/abclock.c
}
configure        {}
build.target     all
destroot {
    xinstall -m 555 ${worksrcpath}/abclock ${destroot}${prefix}/bin
    xinstall -m 555 ${worksrcpath}/abc_img ${destroot}${prefix}/bin
}
