pkgsrc/sysutils/conky/Makefile
imil 8946b5dc81 Initial import of conky, version 1.9.0, into the NetBSD Packages Collection.
Conky is a system monitor for X originally based on torsmo. Since
its inception, Conky has changed significantly from its predecessor,
while maintaining simplicity and configurability.  Conky can display
just about anything, either on your root desktop or in its own
window.  Not only does Conky have many built-in objects, it can
also display just about any piece of information by using scripts
and other external programs.

Conky has more than 250 built in objects, including support for a
plethora of OS stats (uname, uptime, CPU usage, mem usage, disk
usage, "top" like process stats, and network monitoring, just to
name a few), built in IMAP and POP3 support, built in support for
many popular music players (MPD, XMMS2, BMPx, Audacious), and much
much more.  Conky can display this info either as text, or using
simple progress bars and graph widgets, with different fonts
and colours.
2012-05-13 08:42:20 +00:00

53 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2012/05/13 08:42:20 imil Exp $
#
DISTNAME= conky-1.9.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=conky/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= imil@NetBSD.org
HOMEPAGE= http://conky.sourceforge.net/
COMMENT= Free, light-weight system monitor for X
LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config aclocal autoconf autoheader automake
CONFIGURE_ARGS+= --enable-imlib2 --enable-lua-imlib2
CONFIGURE_ARGS+= --enable-lua-cairo
CONFIGURE_ARGS+= --enable-curl --enable-rss
CONFIGURE_ARGS+= --enable-weather-metar --enable-weather-xoap
EGDIR= share/examples/conky
OWN_DIRS= ${PKG_SYSCONFDIR}/conky
CONF_FILES= ${EGDIR}/conky.conf ${PKG_SYSCONFDIR}/conky/conky.conf
CONF_FILES+= ${EGDIR}/conky_no_x11.conf ${PKG_SYSCONFDIR}/conky/conky_no_x11.conf
.include "../../mk/bsd.prefs.mk"
# conky segfaults on system's curses
PREFER_PKGSRC+= ncurses
pre-configure:
set -e; cd ${WRKSRC}; \
aclocal; autoheader; automake -a --foreign -i; autoconf
post-install:
${INSTALL_DATA} files/conkyrc ${DESTDIR}${PREFIX}/${EGDIR}
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/tolua++/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"