PortSystem       1.0
name             eyeclock
version          2.0
revision         2
categories       x11
maintainers      nomaintainer
description      A clock with eyes following the mouse pointer
long_description \
    EyeClock is a simple clock application for X11. You can put \
    your favorite picture on the face of the clock. And you can \
    move the eyes of the picture following the mouse pointer.
homepage         http://web.ffn.ne.jp/~hsakai/myfreesoft/index.html#3
platforms        darwin
master_sites     http://ftp8.ua.freebsd.org/FreeBSD/distfiles/
checksums        md5 bd2a6c70c9a13cb80efd7893ece4acbf
patchfiles       patch-Makefile

depends_lib \
	port:xpm \
	port:xorg-libXt

use_configure    no
use_parallel_build yes

build.args       PREFIX=${prefix}
destroot.destdir PREFIX=${destroot}${prefix}

build.target-append OCFLAGS="${configure.cflags}" OLDFLAGS="${configure.ldflags}" X11BASE=${prefix}

variant universal {
	build.target-append OCFLAGS="${configure.cflags} ${configure.universal_cflags}" OLDFLAGS="${configure.ldflags} ${configure.universal_ldflags}"
}

