# $OpenBSD: Makefile,v 1.4 2008/09/16 09:04:36 jasper Exp $ COMMENT= configurable analog clock for X11 DISTNAME= xtu-1.3 PKGNAME= ${DISTNAME}p1 CATEGORIES= x11 sysutils MAINTAINER= Jasper Lievisse Adriaanse # BSD license PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= http://humppa.nl/distfiles/ WANTLIB= X11 Xext c USE_X11= Yes CONFIGURE_STYLE=imake NO_REGRESS= Yes FLAVORS= imlib FLAVOR?= .if ${FLAVOR:L:Mimlib} LIB_DEPENDS= Imlib::graphics/imlib WANTLIB+= ICE SM m z jpeg png tiff ungif XTUFLAGS= "-DUSE_IMLIB ${CFLAGS} `imlib-config --cflags`" MAKE_FLAGS+= LOCAL_LIBRARIES="`imlib-config --libs`" .else XTUFLAGS= "-DUSE_XPM ${CFLAGS} -I${X11BASE}/include" WANTLIB+= Xpm .endif MAKE_FLAGS+= CC=${CC} CDEBUGFLAGS= CFLAGS=${XTUFLAGS} .include