Fetching contributors…
Cannot retrieve contributors at this time
37 lines (32 sloc) 1.2 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name abclock
version 1.0d
revision 3
categories x11
license GPL-2+
maintainers nomaintainer
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.
platforms darwin
master_sites ${homepage}
checksums md5 a0175114294c63e13a061535823db1bf
patch {
reinplace "s|#include <values.h>||" ${worksrcpath}/abclock.c
use_configure no all XLIBDIR="-L${prefix}/lib" XINCLUDEDIR="-I${prefix}/include" OPT="${configure.cflags}"
destroot {
xinstall -m 755 ${worksrcpath}/abclock ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/abc_img ${destroot}${prefix}/bin
depends_lib \
variant universal { OPT="${configure.cflags} ${configure.universal_cflags}"