Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 22:41:38 GMT
From:      Markus Dolze <mmdolze@users.sourceforge.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/92332: New port: sysutils/lcdproc-devel - CVS version of lcdproc
Message-ID:  <200601252241.k0PMfc77058421@www.freebsd.org>
Resent-Message-ID: <200601252250.k0PMo3E1046840@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92332
>Category:       ports
>Synopsis:       New port: sysutils/lcdproc-devel - CVS version of lcdproc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 25 22:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Markus Dolze
>Release:        FreeBSD-6.0
>Organization:
>Environment:
>Description:
This port of lcdproc uses one of the current nightly snapshots of the CVS sources (version 0.5dev).

It has several advantages over the existing 0.4.5 port:
- rcNG style startup scripts
- a working lcdproc client
- hd44780 drivers do not core dump anymore

>How-To-Repeat:
              
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lcdproc-devel
#	lcdproc-devel/Makefile
#	lcdproc-devel/pkg-descr
#	lcdproc-devel/distinfo
#	lcdproc-devel/files
#	lcdproc-devel/files/LCDd.sh.in
#	lcdproc-devel/files/lcdproc.sh.in
#	lcdproc-devel/files/patch-server__drivers__pylcd.c
#	lcdproc-devel/pkg-plist
#
echo c - lcdproc-devel
mkdir -p lcdproc-devel > /dev/null 2>&1
echo x - lcdproc-devel/Makefile
sed 's/^X//' >lcdproc-devel/Makefile << 'END-of-lcdproc-devel/Makefile'
X# New ports collection makefile for:	LCDproc-devel
X# Date created:				29 December 2005
X# Whom:					Markus Dolze
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lcdproc
XPORTVERSION=	20060124
XCATEGORIES=	sysutils
XMASTER_SITES=	http://mdolze.gmxhome.de/files/
XPKGNAMESUFFIX=	-devel
XDISTNAME=	lcdproc-CVS-current-20060124
X
XMAINTAINER=	mmdolze@users.sourceforge.net
XCOMMENT=	A client/server suite for LCD devices (CVS version)
X
XCONFLICTS=	lcdproc-[0-9]*
X
XONLY_FOR_ARCHS=	i386
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--enable-drivers=all \
X		--disable-ldap \
X		--disable-doxygen
XCONFIGURE_ENV=	CFLAGS="${CFLAGS}"
XUSE_REINPLACE=	yes
XSUB_FILES=	LCDd.sh lcdproc.sh
X
XMAN1=		lcdexec.1 lcdproc.1
XMAN8=		LCDd.8
X
X.if defined(WITH_USB)
XLIB_DEPENDS+=	usb-0.1.8:${PORTSDIR}/devel/libusb
XCONFIGURE_ARGS+=--enable-libusb
XPLIST_SUB+=	USB=""
X.else
XCONFIGURE_ARGS+=--disable-libusb
XPLIST_SUB+=	USB="@comment "
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's!server/drivers!${PREFIX}/lib/lcdproc!' ${WRKSRC}/LCDd.conf
X
Xpost-install:
X	@${INSTALL_DATA} ${WRKSRC}/LCDd.conf ${PREFIX}/etc/LCDd.conf.sample
X	@${INSTALL_DATA} ${WRKSRC}/LCDclients.conf ${PREFIX}/etc/LCDclients.conf.sample
X	@${INSTALL_SCRIPT} ${WRKDIR}/LCDd.sh ${WRKDIR}/lcdproc.sh ${PREFIX}/etc/rc.d
X
X.include <bsd.port.mk>
END-of-lcdproc-devel/Makefile
echo x - lcdproc-devel/pkg-descr
sed 's/^X//' >lcdproc-devel/pkg-descr << 'END-of-lcdproc-devel/pkg-descr'
X[from README]
XLCDproc is a client/server suite including drivers for all kinds
Xof nifty LCD devices. The server works with different display sizes
Xand supports several serial devices: Matrix Orbital, Crystal Fontz,
XBayrad, LB216, LCDM001 (kernelconcepts.de), Wirz-SLI and PIC-an-LCD;
Xand some devices connected to the parallel port: HD44780, STV5730,
XT6963, SED1520 and SED1330. Various clients are available that
Xdisplay things like CPU load, system load, memory usage, uptime,
Xand a lot more.
X
XThis port uses the latest development version (currently 0.5dev) of LCDproc.
X
XWWW: http://www.lcdproc.org/
END-of-lcdproc-devel/pkg-descr
echo x - lcdproc-devel/distinfo
sed 's/^X//' >lcdproc-devel/distinfo << 'END-of-lcdproc-devel/distinfo'
XMD5 (lcdproc-CVS-current-20060124.tar.gz) = bf529e6b748906be68a0435ead406dfa
XSHA256 (lcdproc-CVS-current-20060124.tar.gz) = 9fc7a851e710fa96b835beb1cfdcc7c0d4f42f31b5b0655f6675e0365df20218
XSIZE (lcdproc-CVS-current-20060124.tar.gz) = 596568
END-of-lcdproc-devel/distinfo
echo c - lcdproc-devel/files
mkdir -p lcdproc-devel/files > /dev/null 2>&1
echo x - lcdproc-devel/files/LCDd.sh.in
sed 's/^X//' >lcdproc-devel/files/LCDd.sh.in << 'END-of-lcdproc-devel/files/LCDd.sh.in'
X#!/bin/sh
X#
X# PROVIDE: LCDd
X# REQUIRE: DAEMON
X
X#
X# DO NOT CHANGE THESE DEFAULT VALUES HERE
X# SET THEM IN THE /etc/rc.conf FILE
X#
Xprefix="%%PREFIX%%"
X
Xconfigfile="${prefix}/etc/LCDd.conf"
X
XLCDd_enable=${LCDd_enable-"NO"}
XLCDd_flags=${LCDd_flags-"-c "${configfile}}
X
X. /etc/rc.subr
X
Xrequired_files=${configfile}
Xname="LCDd"
Xrcvar=`set_rcvar`
Xcommand="${prefix}/sbin/LCDd"
X
Xload_rc_config $name
Xrun_rc_command "$1"
END-of-lcdproc-devel/files/LCDd.sh.in
echo x - lcdproc-devel/files/lcdproc.sh.in
sed 's/^X//' >lcdproc-devel/files/lcdproc.sh.in << 'END-of-lcdproc-devel/files/lcdproc.sh.in'
X#!/bin/sh
X#
X# PROVIDE: lcdproc
X# REQUIRE: LCDd
X
X#
X# DO NOT CHANGE THESE DEFAULT VALUES HERE
X# SET THEM IN THE /etc/rc.conf FILE
X#
Xprefix="%%PREFIX%%"
X
Xlcdproc_enable=${lcdproc_enable-"NO"}
Xlcdproc_flags=${lcdproc_flags-"-d C S M U"}
X
X. /etc/rc.subr
X
Xname="lcdproc"
Xrcvar=`set_rcvar`
Xcommand="${prefix}/bin/lcdproc"
X
Xload_rc_config $name
Xrun_rc_command "$1"
END-of-lcdproc-devel/files/lcdproc.sh.in
echo x - lcdproc-devel/files/patch-server__drivers__pylcd.c
sed 's/^X//' >lcdproc-devel/files/patch-server__drivers__pylcd.c << 'END-of-lcdproc-devel/files/patch-server__drivers__pylcd.c'
X--- ./server/drivers/pylcd.c.orig	Thu Dec 15 10:39:26 2005
X+++ ./server/drivers/pylcd.c	Tue Jan  3 14:47:09 2006
X@@ -29,6 +29,7 @@
X #include <errno.h>
X #include <termios.h>
X #include <stdio.h>
X+#include <stdlib.h>
X #include <string.h>
X #include <sys/time.h>
X #include <time.h>
X@@ -174,7 +175,9 @@
X 
X     if (tcgetattr(FD, &tty_mode) == 0) {
X         cfmakeraw(&tty_mode);
X+#ifdef CBAUDEX
X         tty_mode.c_cflag |= CBAUDEX;
X+#endif
X         cfsetospeed(&tty_mode, B115200);
X         cfsetispeed(&tty_mode, 0);
X         tty_mode.c_cc[VMIN] = 1;
END-of-lcdproc-devel/files/patch-server__drivers__pylcd.c
echo x - lcdproc-devel/pkg-plist
sed 's/^X//' >lcdproc-devel/pkg-plist << 'END-of-lcdproc-devel/pkg-plist'
Xbin/fortune.pl
Xbin/iosock.pl
Xbin/lcdexec
Xbin/lcdheadlines
Xbin/lcdmetar.pl
Xbin/lcdproc
Xbin/tail.pl
Xbin/x11amp.pl
Xetc/LCDclients.conf.sample
Xetc/LCDd.conf.sample
Xetc/rc.d/LCDd.sh
Xetc/rc.d/lcdproc.sh
Xlib/lcdproc/CFontz.so
Xlib/lcdproc/CFontz633.so
Xlib/lcdproc/CwLnx.so
X%%USB%%lib/lcdproc/IOWarrior.so
Xlib/lcdproc/MtxOrb.so
Xlib/lcdproc/NoritakeVFD.so
Xlib/lcdproc/bayrad.so
Xlib/lcdproc/curses.so
Xlib/lcdproc/glk.so
Xlib/lcdproc/hd44780.so
Xlib/lcdproc/icp_a106.so
Xlib/lcdproc/imon.so
Xlib/lcdproc/lb216.so
Xlib/lcdproc/lcdm001.so
Xlib/lcdproc/lcterm.so
Xlib/lcdproc/ms6931.so
Xlib/lcdproc/mtc_s16209x.so
Xlib/lcdproc/pylcd.so
Xlib/lcdproc/sed1330.so
Xlib/lcdproc/sed1520.so
Xlib/lcdproc/stv5730.so
Xlib/lcdproc/t6963.so
Xlib/lcdproc/text.so
Xlib/lcdproc/tyan.so
Xlib/lcdproc/wirz_sli.so
Xsbin/LCDd
X@dirrm lib/lcdproc
END-of-lcdproc-devel/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601252241.k0PMfc77058421>