summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-06-18 08:38:46 +0000
committerPatrick Li <pat@FreeBSD.org>2002-06-18 08:38:46 +0000
commit1f1e674e205efe9dbf8d169894cdaa8a6f58e637 (patch)
treef1bc89190be43afb3469cceac8b0cd4e992dc58f /sysutils
parentUpdate to 0.34 (diff)
Add new port lcdproc - A client/server suite for all kinds of nifty
LCD devices
Notes
Notes: svn path=/head/; revision=61491
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/lcdproc/Makefile35
-rw-r--r--sysutils/lcdproc/distinfo1
-rw-r--r--sysutils/lcdproc/files/LCDd.sh.sample18
-rw-r--r--sysutils/lcdproc/pkg-comment1
-rw-r--r--sysutils/lcdproc/pkg-descr18
-rw-r--r--sysutils/lcdproc/pkg-plist10
7 files changed, 84 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 93bf512ab036..09bfa7a469d1 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -89,6 +89,7 @@
SUBDIR += kdeadmin3
SUBDIR += koncd
SUBDIR += lavaps
+ SUBDIR += lcdproc
SUBDIR += lfm
SUBDIR += libretto-config
SUBDIR += lmmon
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile
new file mode 100644
index 000000000000..e81ef387ac48
--- /dev/null
+++ b/sysutils/lcdproc/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: lcdproc
+# Date created: Sat Jun 1 20:03:41 EDT 2002
+# Whom: pat
+#
+# $FreeBSD$
+#
+
+PORTNAME= lcdproc
+PORTVERSION= 0.4.3
+CATEGORIES= sysutils
+MASTER_SITES= http://lcdproc.omnipotent.net/download/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+ONLY_FOR_ARCHS= i386
+GNU_CONFIGURE= yes
+
+MAN1= lcdproc.1
+MAN8= LCDd.8
+
+pre-patch:
+ @${CP} ${WRKSRC}/configure ${WRKSRC}/configure.orig
+ @${SED} -e 's|CFLAGS=\"-O3\"||' ${WRKSRC}/configure.orig \
+ > ${WRKSRC}/configure
+ @${CP} ${FILESDIR}/LCDd.sh.sample ${WRKSRC}/LCDd.sh.sample.orig
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/LCDd.sh.sample.orig \
+ > ${WRKSRC}/LCDd.sh.sample
+
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/LCDd.conf ${PREFIX}/etc/LCDd.conf.sample
+ @${INSTALL_SCRIPT} ${WRKSRC}/LCDd.sh.sample ${PREFIX}/etc/rc.d
+
+.include <bsd.port.mk>
diff --git a/sysutils/lcdproc/distinfo b/sysutils/lcdproc/distinfo
new file mode 100644
index 000000000000..a44efdbddd21
--- /dev/null
+++ b/sysutils/lcdproc/distinfo
@@ -0,0 +1 @@
+MD5 (lcdproc-0.4.3.tar.gz) = 77228a346a1f4347eb0db7383c76c988
diff --git a/sysutils/lcdproc/files/LCDd.sh.sample b/sysutils/lcdproc/files/LCDd.sh.sample
new file mode 100644
index 000000000000..0dd134129a0d
--- /dev/null
+++ b/sysutils/lcdproc/files/LCDd.sh.sample
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ %%PREFIX%%/bin/LCDd -c %%PREFIX%%/etc/LCDd.conf
+ echo -n " drm-kmod"
+ ;;
+ stop)
+ killall LCDd
+ echo -n " drm-kmod"
+ ;;
+ *)
+ echo ""
+ echo "Usage: `basename $0` { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac
diff --git a/sysutils/lcdproc/pkg-comment b/sysutils/lcdproc/pkg-comment
new file mode 100644
index 000000000000..9e9693993362
--- /dev/null
+++ b/sysutils/lcdproc/pkg-comment
@@ -0,0 +1 @@
+A client/server suite for all kinds of nifty LCD devices
diff --git a/sysutils/lcdproc/pkg-descr b/sysutils/lcdproc/pkg-descr
new file mode 100644
index 000000000000..ac24d39a2a68
--- /dev/null
+++ b/sysutils/lcdproc/pkg-descr
@@ -0,0 +1,18 @@
+[from README]
+LCDproc is a client/server suite including drivers for all kinds
+of nifty LCD devices. The server works with different display sizes
+and supports several serial devices: Matrix Orbital, Crystal Fontz,
+Bayrad, LB216, LCDM001 (kernelconcepts.de), Wirz-SLI and PIC-an-LCD;
+and some devices connected to the parallel port: HD44780, STV5730,
+T6963, SED1520 and SED1330. Various clients are available that
+display things like CPU load, system load, memory usage, uptime,
+and a lot more.
+
+LCDproc also supports key or remote control input for controlling
+the clients.
+
+The client and the server use a TCP connection to communicate, so
+it is possible to have a client on a box in Sweden showing its stats
+on a LCD display in the United States.
+
+WWW: http://lcdproc.omnipotent.net/
diff --git a/sysutils/lcdproc/pkg-plist b/sysutils/lcdproc/pkg-plist
new file mode 100644
index 000000000000..f1662b783843
--- /dev/null
+++ b/sysutils/lcdproc/pkg-plist
@@ -0,0 +1,10 @@
+bin/fortune.pl
+bin/iosock.pl
+bin/lcdheadlines
+bin/lcdmetar.pl
+bin/lcdproc
+bin/tail.pl
+bin/x11amp.pl
+etc/LCDd.conf.sample
+etc/rc.d/LCDd.sh.sample
+sbin/LCDd