aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/conky
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-08-31 15:45:52 +0800
committernovel <novel@FreeBSD.org>2005-08-31 15:45:52 +0800
commit933c7903730ff2fd4a7abd1923071a6eb7fc754e (patch)
treee695136c137f80696dd0241b83a9323f081f52bf /sysutils/conky
parent7b6a0144e1a019777fafef86b8ab338924e7c4b3 (diff)
downloadfreebsd-ports-gnome-933c7903730ff2fd4a7abd1923071a6eb7fc754e.tar.gz
freebsd-ports-gnome-933c7903730ff2fd4a7abd1923071a6eb7fc754e.tar.zst
freebsd-ports-gnome-933c7903730ff2fd4a7abd1923071a6eb7fc754e.zip
Add conky, light-weight system monitor under active development.
WWW: http://conky.sourceforge.net/
Diffstat (limited to 'sysutils/conky')
-rw-r--r--sysutils/conky/Makefile73
-rw-r--r--sysutils/conky/distinfo2
-rw-r--r--sysutils/conky/pkg-descr3
-rw-r--r--sysutils/conky/pkg-plist4
4 files changed, 82 insertions, 0 deletions
diff --git a/sysutils/conky/Makefile b/sysutils/conky/Makefile
new file mode 100644
index 000000000000..cb4519bdf22e
--- /dev/null
+++ b/sysutils/conky/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: conky
+# Date created: 2005-08-27
+# Whom: Roman Bogorodskiy <novel@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= conky
+PORTVERSION= 1.3.0
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= novel@FreeBSD.org
+COMMENT= An advanced, highly configurable system monitor for X
+
+USE_BZIP2= yes
+HAS_CONFIGURE= yes
+USE_X_PREFIX= yes
+
+MAN1= conky.1
+
+PORTDOCS= README AUTHORS ChangeLog TODO \
+ docs.html variables.html config_settings.html
+
+.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_OWN_WINDOW)
+CONFIGURE_ARGS+= --enable-own-window
+.else
+CONFIGURE_ARGS+= --disable-own-widnow
+.endif
+
+.if defined(WITH_MPD)
+CONFIGURE_ARGS+= --enable-mpd
+.else
+CONFIGURE_ARGS+= --disable-mpd
+.endif
+
+.if defined(WITHOUT_DOUBLE_BUFFER)
+CONFIGURE_ARGS+= --disable-double-buffer
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/conky ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/conky.1 ${PREFIX}/man/man1
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/conkyrc.sample ${EXAMPLESDIR}
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in README AUTHORS ChangeLog TODO
+ ${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 <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Doesn't compile on 4.x"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/conky/distinfo b/sysutils/conky/distinfo
new file mode 100644
index 000000000000..e4945a4f6ae6
--- /dev/null
+++ b/sysutils/conky/distinfo
@@ -0,0 +1,2 @@
+MD5 (conky-1.3.0.tar.bz2) = 9dc6da652411798d6315effdfd7a8a1e
+SIZE (conky-1.3.0.tar.bz2) = 308242
diff --git a/sysutils/conky/pkg-descr b/sysutils/conky/pkg-descr
new file mode 100644
index 000000000000..c03c8a338d4d
--- /dev/null
+++ b/sysutils/conky/pkg-descr
@@ -0,0 +1,3 @@
+Conky is an advanced, highly configurable system monitor for X
+
+WWW: http://conky.sf.net
diff --git a/sysutils/conky/pkg-plist b/sysutils/conky/pkg-plist
new file mode 100644
index 000000000000..b9484c49cce2
--- /dev/null
+++ b/sysutils/conky/pkg-plist
@@ -0,0 +1,4 @@
+@comment $FreeBSD$
+bin/conky
+%%EXAMPLESDIR%%/conkyrc.sample
+@dirrm %%EXAMPLESDIR%%