# New ports collection makefile for: conky # Date created: 2005-08-27 # Whom: Roman Bogorodskiy # # $FreeBSD$ # PORTNAME= conky PORTVERSION= 1.8.1 PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= SF MAINTAINER= ntarmos@cs.uoi.gr COMMENT= An advanced, highly configurable system monitor for X CONFLICTS?= conky-awesome-[0-9]* SLAVEDIRS= sysutils/conky-awesome USE_ICONV= yes USE_BZIP2= yes GNU_CONFIGURE= yes USE_XORG?= x11 xext xdamage USE_GNOME?= pkgconfig USE_ICONV= yes USE_GMAKE= yes CONFIGURE_ARGS+= --disable-portmon \ --disable-hddtemp \ --disable-alsa \ --disable-bmpx CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAN1= conky.1 PLIST_FILES= bin/conky PORTEXAMPLES= conkyrc.sample PORTDOCS= README AUTHORS ChangeLog TODO NEWS \ docs.html variables.html config_settings.html OPTIONS+= APCUPSD "Enable APCUPSD support" Off \ AUDACIOUS "Enable Audacious support" Off \ MPD "Enable MPD support" Off \ NCURSES "Enable ncurses support" Off \ RSS "Enable RSS support" Off \ METAR "Enable METAR Weather support" Off \ XOAP "Enable XOAP Weather support" Off \ XMMS2 "Enable XMMS2 support" Off .if !empty(USE_XORG) OPTIONS+= DOUBLE_BUFFER "Enable double buffering" On \ IMLIB2 "Enable Imlib2 support" Off \ LUA "Enable Lua support" Off \ LUA_CAIRO "Enable Lua-Cairo binding (impl. Lua)" Off \ LUA_IMLIB2 "Enable Lua-Imlib2 binding (impl. Lua/Imlib2)" Off \ XFT "Enable Xft support" Off .else OPTIONS+= LUA "Enable Lua support" Off .endif .include .if empty(USE_XORG) WITHOUT_DOUBLE_BUFFER= On CONFIGURE_ARGS+= --disable-x11 --disable-own-window .undef WITH_IMLIB2 .undef WITH_LUA_CAIRO .undef WITH_LUA_IMLIB2 .undef WITH_XFT .endif .if defined(WITH_APCUPSD) RUN_DEPENDS+= ${LOCALBASE}/sbin/apcupsd:${PORTSDIR}/sysutils/apcupsd CONFIGURE_ARGS+= --enable-apcupsd .else CONFIGURE_ARGS+= --disable-apcupsd .endif .if defined(WITH_AUDACIOUS) LIB_DEPENDS+= audclient.2:${PORTSDIR}/multimedia/audacious CONFIGURE_ARGS+= --enable-audacious .else CONFIGURE_ARGS+= --disable-audacious .endif .if defined(WITH_LUA) || defined(WITH_LUA_CAIRO) || defined(WITH_LUA_IMLIB2) USE_LUA= 5.1+ CONFIGURE_ARGS+= --enable-lua .else CONFIGURE_ARGS+= --disable-lua .endif .if defined(WITH_LUA_CAIRO) LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo BUILD_DEPENDS+= tolua++-5.1:${PORTSDIR}/lang/tolua++ RUN_DEPENDS+= tolua++-5.1:${PORTSDIR}/lang/tolua++ CONFIGURE_ARGS+= --enable-lua-cairo .endif .if defined(WITH_IMLIB2) || defined(WITH_LUA_IMLIB2) LIB_DEPENDS+= Imlib2.5:${PORTSDIR}/graphics/imlib2 CONFIGURE_ARGS+= --enable-imlib2 .else CONFIGURE_ARGS+= --disable-imlib2 .endif .if defined(WITH_LUA_IMLIB2) BUILD_DEPENDS+= tolua++-5.1:${PORTSDIR}/lang/tolua++ RUN_DEPENDS+= tolua++-5.1:${PORTSDIR}/lang/tolua++ CONFIGURE_ARGS+= --enable-lua-imlib2 .endif .if defined(WITH_NCURSES) CONFIGURE_ARGS+= --enable-ncurses .else CONFIGURE_ARGS+= --disable-ncurses .endif .if defined(WITH_XFT) LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft CONFIGURE_ARGS+= --enable-xft .else CONFIGURE_ARGS+= --disable-xft .endif .if defined(WITHOUT_MPD) CONFIGURE_ARGS+= --disable-mpd .endif .if defined(WITH_RSS) LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl \ xml2.5:${PORTSDIR}/textproc/libxml2 CONFIGURE_ARGS+= --enable-rss USE_GNOME+= glib20 .endif .if defined(WITH_METAR) LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl CONFIGURE_ARGS+= --enable-weather-metar .endif .if defined(WITH_XOAP) LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl \ xml2.5:${PORTSDIR}/textproc/libxml2 CONFIGURE_ARGS+= --enable-weather-xoap .endif .if defined(WITH_XMMS2) LIB_DEPENDS+= xmmsclient.6:${PORTSDIR}/audio/xmms2 CONFIGURE_ARGS+= --enable-xmms2 .else CONFIGURE_ARGS+= --disable-xmms2 .endif .if defined(WITHOUT_DOUBLE_BUFFER) CONFIGURE_ARGS+= --disable-double-buffer .endif post-patch: @${REINPLACE_CMD} -e 's,lua5\.1,lua-5.1,g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,imlib_context_disconnect_display();,,g' \ ${WRKSRC}/src/imlib2.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/conky ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/conky.1 ${PREFIX}/man/man1 post-install: .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} . if !empty(USE_XORG) @${INSTALL_DATA} ${WRKSRC}/data/conky.conf ${EXAMPLESDIR}/conkyrc.sample . else @${INSTALL_DATA} ${WRKSRC}/data/conky_no_x11.conf ${EXAMPLESDIR}/conkyrc.sample . endif .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in README AUTHORS ChangeLog TODO NEWS ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .for i in docs.html variables.html config_settings.html ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR} .endfor .endif .include value='mate-1.18'>mate-1.18 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Readd p5-IP-Anonymous port in a correct directorypav2011-03-191-1/+1
* - Fix INDEXmiwi2011-03-181-1/+1
* - Add missing RUN_DEPSmiwi2011-03-182-2/+5
* - Update to 1.6.0sahil2010-07-293-31/+42
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-2/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1