40 lines
857 B
Makefile
40 lines
857 B
Makefile
# $OpenBSD: Makefile,v 1.8 2010/10/19 08:14:01 espie Exp $
|
|
|
|
COMMENT= configurable analog clock for X11
|
|
DISTNAME= xtu-1.3
|
|
REVISION= 2
|
|
CATEGORIES= x11 sysutils
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
# BSD license
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
|
|
WANTLIB= X11 Xext c
|
|
USE_X11= Yes
|
|
USE_GROFF = Yes
|
|
CONFIGURE_STYLE=imake
|
|
NO_REGRESS= Yes
|
|
|
|
FLAVORS= imlib
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L:Mimlib}
|
|
LIB_DEPENDS= ::graphics/imlib
|
|
WANTLIB+= ICE SM m z jpeg png tiff ungif Imlib
|
|
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 <bsd.port.mk>
|