diff options
author | znerd <znerd@FreeBSD.org> | 2002-07-05 16:33:58 +0800 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2002-07-05 16:33:58 +0800 |
commit | 76db54db5efbcf051b461d106c14e932e3f18131 (patch) | |
tree | 45185b7ee2bf4339e777a640b9b843269b105ea3 /comms/java-commapi | |
parent | 2b383b18341d5ddb2c2573811a37dc3162baf886 (diff) | |
download | freebsd-ports-gnome-76db54db5efbcf051b461d106c14e932e3f18131.tar.gz freebsd-ports-gnome-76db54db5efbcf051b461d106c14e932e3f18131.tar.zst freebsd-ports-gnome-76db54db5efbcf051b461d106c14e932e3f18131.zip |
New port: Java Communications API.
PR: 31688
Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
Diffstat (limited to 'comms/java-commapi')
-rw-r--r-- | comms/java-commapi/Makefile | 45 | ||||
-rw-r--r-- | comms/java-commapi/distinfo | 1 | ||||
-rw-r--r-- | comms/java-commapi/pkg-comment | 1 | ||||
-rw-r--r-- | comms/java-commapi/pkg-descr | 15 | ||||
-rw-r--r-- | comms/java-commapi/pkg-plist | 1 |
5 files changed, 63 insertions, 0 deletions
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 |