ports/50443: New port for libirman 0.4.2
Douglas K. Rand
rand at meridian-enviro.com
Sun Mar 30 04:40:08 UTC 2003
>Number: 50443
>Category: ports
>Synopsis: New port for libirman 0.4.2
>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: Sat Mar 29 20:40:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Douglas K. Rand
>Release: FreeBSD 4.6.2-RELEASE-p12 i386
>Organization:
Meridian Environmental Technology, Inc.
>Environment:
System: FreeBSD delta.meridian-enviro.com 4.6.2-RELEASE-p12 FreeBSD 4.6.2-RELEASE-p12 #11: Tue Mar 25 22:45:14 CST 2003 rand at delta.meridian-enviro.com:/usr/obj/usr/src/sys/DELTA i386
>Description:
This is a new port for the libirman library for use with
Evation's Irman infrared reciever.
>How-To-Repeat:
NA
>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:
#
# comms/libirman
# comms/libirman/Makefile
# comms/libirman/distinfo
# comms/libirman/pkg-descr
# comms/libirman/files
# comms/libirman/files/patch-no-flock-of-serial-ports
# comms/libirman/files/patch-irman.conf-location
# comms/libirman/files/patch-Makefile.in
# comms/libirman/pkg-plist
#
echo c - comms/libirman
mkdir -p comms/libirman > /dev/null 2>&1
echo x - comms/libirman/Makefile
sed 's/^X//' >comms/libirman/Makefile << 'END-of-comms/libirman/Makefile'
X# New ports collection makefile for: libirman
X# Date created: 2003-03-29
X# Whom: Douglas K. Rand <rand at meridian-enviro.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= libirman
XPORTVERSION= 0.4.2
XCATEGORIES= comms
XMASTER_SITES= http://mars.wiwi.uni-halle.de/lirc/software/snapshots/
X
XMAINTAINER= ports at FreeBSD.org
XCOMMENT= Library for Evation's Irman infrared reciever
X
XHAS_CONFIGURE= YES
XUSE_GMAKE= YES
X
X.include <bsd.port.mk>
END-of-comms/libirman/Makefile
echo x - comms/libirman/distinfo
sed 's/^X//' >comms/libirman/distinfo << 'END-of-comms/libirman/distinfo'
XMD5 (libirman-0.4.2.tar.gz) = b99017d049685cb84a95098190a89de8
END-of-comms/libirman/distinfo
echo x - comms/libirman/pkg-descr
sed 's/^X//' >comms/libirman/pkg-descr << 'END-of-comms/libirman/pkg-descr'
Xlibirman is a library for accessing the IRMAN hardware from Linux
Xand other Unix systems.
X
XCurrently the package is mainly for advanced users and developers; this
Xdoes not mean that less experienced users will not be able to use it, but
Xthat there are not a lot of applications for libirman at the moment, and
Xthat if you run into problems you may have difficulty fixing things.
X
XWWW: http://www.evation.com/libirman/
END-of-comms/libirman/pkg-descr
echo c - comms/libirman/files
mkdir -p comms/libirman/files > /dev/null 2>&1
echo x - comms/libirman/files/patch-no-flock-of-serial-ports
sed 's/^X//' >comms/libirman/files/patch-no-flock-of-serial-ports << 'END-of-comms/libirman/files/patch-no-flock-of-serial-ports'
X--- irio.c-orig Sat Mar 29 20:26:57 2003
X+++ irio.c Sat Mar 29 20:27:12 2003
X@@ -91,14 +91,6 @@
X return -1;
X }
X
X- /* lock the file for ourselves */
X- if (flock(portfd, LOCK_EX | LOCK_NB) < 0) {
X- /* unable to get lock */
X- close(portfd);
X- portfd = 0;
X- return -1;
X- }
X-
X /* get port attributes, store in oldterm */
X if (tcgetattr(portfd, &oldterm) < 0) {
X close(portfd);
END-of-comms/libirman/files/patch-no-flock-of-serial-ports
echo x - comms/libirman/files/patch-irman.conf-location
sed 's/^X//' >comms/libirman/files/patch-irman.conf-location << 'END-of-comms/libirman/files/patch-irman.conf-location'
X--- irman.h-orig Sat Mar 29 20:42:50 2003
X+++ irman.h Sat Mar 29 20:43:00 2003
X@@ -48,7 +48,7 @@
X
X /* filename for system irmanrc */
X #ifndef IR_SYSCONF_DIR
X-# define IR_SYSCONF_DIR "/etc"
X+# define IR_SYSCONF_DIR "/usr/local/etc"
X #endif
X #define IR_SYSTEM_IRMANRC IR_SYSCONF_DIR "/irman.conf"
X /* filename for users irmanrc */
END-of-comms/libirman/files/patch-irman.conf-location
echo x - comms/libirman/files/patch-Makefile.in
sed 's/^X//' >comms/libirman/files/patch-Makefile.in << 'END-of-comms/libirman/files/patch-Makefile.in'
X--- Makefile.in-orig Sat Mar 29 20:56:03 2003
X+++ Makefile.in Sat Mar 29 21:38:07 2003
X@@ -103,7 +103,6 @@
X
X
X install: @NORMAL@ install-dirs install-normal @INSTALL_SWTEST@
X- @echo notice: the test programs are only installed in the current directory \(`pwd`\)
X
X install-dirs:
X $(top_srcdir)/mkinstalldirs $(libdir)
X@@ -114,7 +113,7 @@
X install-normal:
X $(INSTALL) -m 755 workmanir $(bindir)/workmanir
X $(INSTALL) -m 755 libirman.a $(libdir)/libirman.a
X- $(INSTALL) -m 644 irman.conf $(sysconfdir)/irman.conf
X+ $(INSTALL) -m 644 irman.conf $(sysconfdir)/irman.conf.sample
X $(INSTALL) -m 644 irman.h $(includedir)/irman.h
X
X install-swtest:
END-of-comms/libirman/files/patch-Makefile.in
echo x - comms/libirman/pkg-plist
sed 's/^X//' >comms/libirman/pkg-plist << 'END-of-comms/libirman/pkg-plist'
Xbin/workmanir
Xetc/irman.conf.sample
Xinclude/irman.h
Xlib/libirman.a
END-of-comms/libirman/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list