summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-07-05 08:33:58 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-07-05 08:33:58 +0000
commit2676aa9874c48dcf2757955ff180b98d7774ade1 (patch)
tree11edd8c36faca9ae75eaabc5f1fcba9d1f73d5fe /comms
parentoaf requires gtk12, orbit and libxml, not gnomelibs (diff)
New port: Java Communications API.
PR: 31688 Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
Notes
Notes: svn path=/head/; revision=62466
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/java-commapi/Makefile45
-rw-r--r--comms/java-commapi/distinfo1
-rw-r--r--comms/java-commapi/pkg-comment1
-rw-r--r--comms/java-commapi/pkg-descr15
-rw-r--r--comms/java-commapi/pkg-plist1
6 files changed, 64 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 23badfda78f7..6dd828103e04 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -18,6 +18,7 @@
SUBDIR += gsmlib
SUBDIR += hylafax
SUBDIR += ixj
+ SUBDIR += java-commapi
SUBDIR += kermit
SUBDIR += lrzsz
SUBDIR += ltmdm
diff --git a/comms/java-commapi/Makefile b/comms/java-commapi/Makefile
new file mode 100644
index 000000000000..ff540d3c46fd
--- /dev/null
+++ b/comms/java-commapi/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: Java Commapi
+# Date created: 2001/07/01
+# Whom: Ari Suutari <ari.suutari@syncrontech.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= java-commapi
+PORTVERSION= 2.0.2
+CATEGORIES= comms java
+MASTER_SITES= #
+DISTNAME= javax_comm-${PORTVERSION:S/./_/g}-solsparc
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= ari.suutari@syncrontech.com
+
+RUN_DEPENDS= ${LOCALBASE}/jdk1.3.1/bin/java:${PORTSDIR}/java/jdk13
+
+NO_CDROM= "Sun has a funky license for this software"
+RESTRICTED= "no commercial use"
+NO_BUILD= YES
+
+WRKSRC= ${WRKDIR}/commapi
+DISTDESCR= "the Java Communications API ${PORTVERSION} for Solaris/SPARC archive"
+DOWNLOAD_URL= "http://java.sun.com/Download4?config-file=javacomm-${PORTVERSION:S/./_/g}.config&platform=solsparc&button=continue"
+PORTDESTDIR= ${PREFIX}/jdk1.3.1/jre/lib/ext
+DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
+DISTPATH= ${DISTDIR}/${DISTFILE}
+
+.if defined(BATCH) || defined(PACKAGE_BUILDING)
+IGNORE= "Should be fetched manually"
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTPATH})
+IGNORE=You must manually fetch ${DISTDESCR} (${DISTFILE}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again.
+.endif
+
+do-install:
+ @${ECHO} -n ">> Copying comm.jar to ${PORTDESTDIR}..."
+ @${INSTALL_DATA} ${WRKSRC}/comm.jar ${PORTDESTDIR}
+ @${ECHO} " [ DONE ]"
+
+.include <bsd.port.post.mk>
diff --git a/comms/java-commapi/distinfo b/comms/java-commapi/distinfo
new file mode 100644
index 000000000000..40e95e0c05ea
--- /dev/null
+++ b/comms/java-commapi/distinfo
@@ -0,0 +1 @@
+MD5 (javax_comm-2_0_2-solsparc.tar.Z) = 00d3920f0587bf07efe52acb6b8ac842
diff --git a/comms/java-commapi/pkg-comment b/comms/java-commapi/pkg-comment
new file mode 100644
index 000000000000..6f5914a4f6b0
--- /dev/null
+++ b/comms/java-commapi/pkg-comment
@@ -0,0 +1 @@
+Sun's Java Communications API
diff --git a/comms/java-commapi/pkg-descr b/comms/java-commapi/pkg-descr
new file mode 100644
index 000000000000..a7b772db7596
--- /dev/null
+++ b/comms/java-commapi/pkg-descr
@@ -0,0 +1,15 @@
+The JavaTM Communications API can be used to write
+platform-independent communications applications for applications
+like voice mail, fax and smartcards.
+
+This version of the Java Communications API contains support for
+RS232 serial ports and IEEE 1284 parallel ports.
+With updated functionality, one can:
+
+Enumerate ports available on the system.
+Open and claim ownership of ports.
+Resolve port ownership contention between multiple applications.
+Perform asynchronous and synchronous I/O on ports.
+Receive Beans-style events describing communication port state changes.
+
+WWW: http://java.sun.com/products/javacomm/
diff --git a/comms/java-commapi/pkg-plist b/comms/java-commapi/pkg-plist
new file mode 100644
index 000000000000..e5e606b12690
--- /dev/null
+++ b/comms/java-commapi/pkg-plist
@@ -0,0 +1 @@
+jdk1.3.1/jre/lib/ext/comm.jar