# $OpenBSD: Makefile,v 1.15 2010/07/05 20:37:30 espie Exp $ ONLY_FOR_ARCHS= ${APM_ARCHS} COMMENT= light-weight system monitor DISTNAME= conky-1.7.2 PKGNAME= ${DISTNAME}p0 CATEGORIES= sysutils HOMEPAGE= http://conky.sourceforge.net/ MAINTAINER= Benoit Lecocq MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=conky/} # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c crypto kvm idn m ossaudio pthread ssl z MODULES= devel/gettext LIB_DEPENDS= glib-2.0::devel/glib2 \ pcre::devel/pcre \ curl::net/curl \ xml2::textproc/libxml \ lua.>=5.1::lang/lua USE_LIBTOOL= Yes FLAVORS= no_x11 FLAVOR?= .if ${FLAVOR:L:Mno_x11} CONFIGURE_ARGS+=--disable-double-buffer \ --disable-x11 \ --disable-own-window .else WANTLIB+= X11 Xau Xdamage Xdmcp Xext Xfixes Xft Xrender \ expat fontconfig freetype pthread-stubs xcb USE_X11= Yes .endif CONFIGURE_STYLE=gnu CONFIGURE_ARGS+=--enable-mpd \ --enable-rss \ --disable-config-output \ --disable-portmon \ --enable-lua \ --enable-curl post-install: #fix garbage in manpage @perl -pi -e 's,\\\*\(T.,,g' ${PREFIX}/man/man1/conky.1 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/conky ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/conky ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/conky FAKE_FLAGS= configdir=${PREFIX}/share/examples/conky .include