Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2004 14:13:47 +0200 (CEST)
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        java@freebsd.org
Subject:   New port: rxtx: Native interface to serial ports in Java
Message-ID:  <20040410121347.E9DCADC@caraldi.com>

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

>Submitter-Id:	current-users
>Originator:	Jean-Baptiste Quenot
>Confidential:	no
>Synopsis:	New port: rxtx: Native interface to serial ports in Java
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 5.1-CURRENT i386
>Environment:
System: FreeBSD watt.intra.caraldi.com 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Tue Oct 14 19:03:28 CEST 2003 jbq@watt.intra.caraldi.com:/usr/obj/usr/src/sys/WATT i386
>Description:
RXTX  : serial  and  parallel  I/O libraries  supporting
Sun's CommAPI.   Open-source implementation of  the Java
Communications API.  Native interface to serial ports in
Java.

WWW: http://www.rxtx.org/
>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:
#
#	rxtx
#	rxtx/files
#	rxtx/files/patch-ab
#	rxtx/files/patch-aa
#	rxtx/pkg-descr
#	rxtx/distinfo
#	rxtx/pkg-plist
#	rxtx/Makefile
#
echo c - rxtx
mkdir -p rxtx > /dev/null 2>&1
echo c - rxtx/files
mkdir -p rxtx/files > /dev/null 2>&1
echo x - rxtx/files/patch-ab
sed 's/^X//' >rxtx/files/patch-ab << 'END-of-rxtx/files/patch-ab'
X--- Makefile.in.orig	Fri Apr  9 23:57:20 2004
X+++ Makefile.in	Fri Apr  9 23:58:06 2004
X@@ -451,7 +451,7 @@
X 			echo $$i; \
X 		fi; \
X 	done` $(RXTX_PATH)
X-	$(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
X+	$(INSTALL) $(JARTARGET) $(JHOME)/
X 
X clean-generic:
X 	rm -rf $(DEST) $(TOP)/$(CLASSTOP)
END-of-rxtx/files/patch-ab
echo x - rxtx/files/patch-aa
sed 's/^X//' >rxtx/files/patch-aa << 'END-of-rxtx/files/patch-aa'
X--- src/ParallelImp.c.orig	Fri Apr  9 23:31:09 2004
X+++ src/ParallelImp.c	Fri Apr  9 23:35:01 2004
X@@ -222,9 +222,6 @@
X #if defined(__linux__)
X 	return( status & LP_BUSY ? JNI_TRUE : JNI_FALSE );
X #endif
X-#if defined(__FreeBSD__)
X-	return( status & EBUSY ? JNI_TRUE : JNI_FALSE );
X-#endif
X 	return(JNI_FALSE);
X }
X /*----------------------------------------------------------
END-of-rxtx/files/patch-aa
echo x - rxtx/pkg-descr
sed 's/^X//' >rxtx/pkg-descr << 'END-of-rxtx/pkg-descr'
XRXTX  : serial  and  parallel  I/O libraries  supporting
XSun's CommAPI.   Open-source implementation of  the Java
XCommunications API.  Native interface to serial ports in
XJava.
X
XWWW: http://www.rxtx.org/
END-of-rxtx/pkg-descr
echo x - rxtx/distinfo
sed 's/^X//' >rxtx/distinfo << 'END-of-rxtx/distinfo'
XMD5 (rxtx-2.1-7pre17.tar.gz) = 1ae2a0fc82bfb3f7a911f2313c8cad44
XSIZE (rxtx-2.1-7pre17.tar.gz) = 985729
END-of-rxtx/distinfo
echo x - rxtx/pkg-plist
sed 's/^X//' >rxtx/pkg-plist << 'END-of-rxtx/pkg-plist'
Xlib/ext/RXTXcomm.jar
Xlib/i386/librxtxParallel-2.1-7pre17.so
Xlib/i386/librxtxParallel.la
Xlib/i386/librxtxParallel.so
Xlib/i386/librxtxSerial-2.1-7pre17.so
Xlib/i386/librxtxSerial.la
Xlib/i386/librxtxSerial.so
END-of-rxtx/pkg-plist
echo x - rxtx/Makefile
sed 's/^X//' >rxtx/Makefile << 'END-of-rxtx/Makefile'
X# New ports collection makefile for:   rxtx
X# Whom:                                Jean-Baptiste Quenot <jb.quenot@caraldi.com>
X# Date Created:                        2004-04-10 00:15:35
X#
X# ex:ts=18
X#
X# $FreeBSD$
X#
X
XPORTNAME=	rxtx
XPORTVERSION=	2.1.7p17
XCATEGORIES=	java comms
XMASTER_SITES=	ftp://jarvi.dsl.frii.com/pub/rxtx/
XODISTNAME=	${PORTNAME}-${PORTVERSION:C/\.([^\.]*)$/-\1/}
XDISTNAME=	${ODISTNAME:S/p/pre/}
X
XMAINTAINER=	jb.quenot@caraldi.com
XCOMMENT=	Native interface to serial ports in Java
X
XUSE_GMAKE=	yes
XUSE_JAVA=	1.1+
XUSE_LIBTOOL=	yes
XINSTALLS_SHLIB=	yes
XMAKE_ENV=	JAVA_HOME=${JAVA_HOME}
XPREFIX=	${JAVA_HOME}/jre
X
X.include <bsd.port.mk>
END-of-rxtx/Makefile
exit



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