blob: c38d021fa7a23fa192efac761468aaf9cafbf83d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.13 2013/06/04 22:17:04 tron Exp $
#
DISTNAME= conky-1.9.0
PKGREVISION= 10
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
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"
.if ${OPSYS} == "NetBSD"
CPPFLAGS+= -D_KMEMUSER
.endif
# 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"
|