mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 12:29:16 -04:00
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. PR: 65396 Submitted by: Jean-Baptiste Quenot <jb.quenot@caraldi.com> Reviewed by: glewis Approved by: glewis (mentor)
This commit is contained in:
parent
d636ca9b79
commit
8520c470d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119844
8 changed files with 83 additions and 0 deletions
|
@ -71,6 +71,7 @@
|
|||
SUBDIR += qtpcr
|
||||
SUBDIR += ruby-serialport
|
||||
SUBDIR += ruby-termios
|
||||
SUBDIR += rxtx
|
||||
SUBDIR += scmxx
|
||||
SUBDIR += scud
|
||||
SUBDIR += seyon
|
||||
|
|
28
comms/rxtx/Makefile
Normal file
28
comms/rxtx/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# New ports collection makefile for: rxtx
|
||||
# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
|
||||
# Date Created: 2004-04-10 00:15:35
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= rxtx
|
||||
PORTVERSION= 2.1.7p17
|
||||
CATEGORIES= comms java
|
||||
MASTER_SITES= ftp://jarvi.dsl.frii.com/pub/rxtx/
|
||||
PKGNAMESUFFIX= -${JAVA_PORT:S/java\///}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.([^\.]*)$/-\1/:S/p/pre/}
|
||||
|
||||
MAINTAINER= jb.quenot@caraldi.com
|
||||
COMMENT= Native interface to serial ports in Java
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.2+
|
||||
JAVA_OS= native
|
||||
USE_LIBTOOL_VER=13
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
MAKE_ENV= JAVA_HOME=${JAVA_HOME}
|
||||
PREFIX= ${JAVA_HOME}/jre
|
||||
|
||||
.include <bsd.port.mk>
|
2
comms/rxtx/distinfo
Normal file
2
comms/rxtx/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (rxtx-2.1-7pre17.tar.gz) = 1ae2a0fc82bfb3f7a911f2313c8cad44
|
||||
SIZE (rxtx-2.1-7pre17.tar.gz) = 985729
|
13
comms/rxtx/files/patch-Makefile.in
Normal file
13
comms/rxtx/files/patch-Makefile.in
Normal file
|
@ -0,0 +1,13 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- Makefile.in.orig Fri Apr 9 23:57:20 2004
|
||||
+++ Makefile.in Fri Apr 9 23:58:06 2004
|
||||
@@ -451,7 +451,7 @@
|
||||
echo $$i; \
|
||||
fi; \
|
||||
done` $(RXTX_PATH)
|
||||
- $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
|
||||
+ $(BSD_INSTALL_DATA) $(JARTARGET) $(JHOME)/
|
||||
|
||||
clean-generic:
|
||||
rm -rf $(DEST) $(TOP)/$(CLASSTOP)
|
14
comms/rxtx/files/patch-ParallelImp.c
Normal file
14
comms/rxtx/files/patch-ParallelImp.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- src/ParallelImp.c.orig Fri Apr 9 23:31:09 2004
|
||||
+++ src/ParallelImp.c Fri Apr 9 23:35:01 2004
|
||||
@@ -222,9 +222,6 @@
|
||||
#if defined(__linux__)
|
||||
return( status & LP_BUSY ? JNI_TRUE : JNI_FALSE );
|
||||
#endif
|
||||
-#if defined(__FreeBSD__)
|
||||
- return( status & EBUSY ? JNI_TRUE : JNI_FALSE );
|
||||
-#endif
|
||||
return(JNI_FALSE);
|
||||
}
|
||||
/*----------------------------------------------------------
|
13
comms/rxtx/files/patch-SerialImp.h
Normal file
13
comms/rxtx/files/patch-SerialImp.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- src/SerialImp.h.orig Sat Apr 24 23:31:27 2004
|
||||
+++ src/SerialImp.h Sat Apr 24 23:31:38 2004
|
||||
@@ -126,7 +126,7 @@
|
||||
#endif /* __sgi__ || sgi */
|
||||
#if defined(__FreeBSD__)
|
||||
# define DEVICEDIR "/dev/"
|
||||
-# define LOCKDIR "/var/spool/uucp"
|
||||
+# define LOCKDIR "/var/spool/lock"
|
||||
# define LOCKFILEPREFIX "LK."
|
||||
# define UUCP
|
||||
#endif
|
5
comms/rxtx/pkg-descr
Normal file
5
comms/rxtx/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
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/
|
7
comms/rxtx/pkg-plist
Normal file
7
comms/rxtx/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
|||
lib/ext/RXTXcomm.jar
|
||||
lib/i386/librxtxParallel-2.1-7pre17.so
|
||||
lib/i386/librxtxParallel.la
|
||||
lib/i386/librxtxParallel.so
|
||||
lib/i386/librxtxSerial-2.1-7pre17.so
|
||||
lib/i386/librxtxSerial.la
|
||||
lib/i386/librxtxSerial.so
|
Loading…
Add table
Reference in a new issue