From owner-freebsd-ports Mon Jul 2 1:50:15 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A73FC37B40B for ; Mon, 2 Jul 2001 01:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f628o1O10296; Mon, 2 Jul 2001 01:50:01 -0700 (PDT) (envelope-from gnats) Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id D5DA437B405 for ; Mon, 2 Jul 2001 01:42:24 -0700 (PDT) (envelope-from ari@osku.suutari.iki.fi) Received: (from ari@localhost) by osku.suutari.iki.fi (8.11.3/8.9.3) id f628fl310963; Mon, 2 Jul 2001 11:41:47 +0300 (EEST) (envelope-from ari) Message-Id: <200107020841.f628fl310963@osku.suutari.iki.fi> Date: Mon, 2 Jul 2001 11:41:47 +0300 (EEST) From: ari@suutari.iki.fi Reply-To: ar@suutari.iki.fi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28623: New port: Sun's java communication API Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28623 >Category: ports >Synopsis: New port: Sun's Java Communication API >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 02 01:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Ari Suutari >Release: FreeBSD 4.3-RELEASE i386 >Organization: Syncron Tech Oy >Environment: >Description: This new port allows serial and paraller communication for java programs using native FreeBSD jdk. It requires another port to work (freebsd-commapi), which contains FreeBSD-specific support for commapi (I'll submit that after this). >How-To-Repeat: >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: # # commapi # commapi/files # commapi/pkg-descr # commapi/pkg-comment # commapi/distinfo # commapi/Makefile # commapi/pkg-plist # echo c - commapi mkdir -p commapi > /dev/null 2>&1 echo c - commapi/files mkdir -p commapi/files > /dev/null 2>&1 echo x - commapi/pkg-descr sed 's/^X//' >commapi/pkg-descr << 'END-of-commapi/pkg-descr' XThe JavaTM Communications API can be used to write platform-independent Xcommunications applications for technologies such as Xvoice mail, fax, and smartcards. X XThis version of the Java Communications API contains support for XRS232 serial ports and IEEE 1284 parallel ports. XWith updated functionality, one can: X XEnumerate ports available on the system. XOpen and claim ownership of ports. XResolve port ownership contention between multiple applications. XPerform asynchronous and synchronous I/O on ports. XReceive Beans-style events describing communication port state changes. END-of-commapi/pkg-descr echo x - commapi/pkg-comment sed 's/^X//' >commapi/pkg-comment << 'END-of-commapi/pkg-comment' XSun's Java Communication API END-of-commapi/pkg-comment echo x - commapi/distinfo sed 's/^X//' >commapi/distinfo << 'END-of-commapi/distinfo' XMD5 (javax_comm-2_0_2-solsparc.tar.Z) = 00d3920f0587bf07efe52acb6b8ac842 END-of-commapi/distinfo echo x - commapi/Makefile sed 's/^X//' >commapi/Makefile << 'END-of-commapi/Makefile' X# New ports collection makefile for: Java Commapi X# Date created: 2001/07/01 X# Whom: Ari Suutari X# X# $FreeBSD$ X# X XPORTNAME= commapi XPORTVERSION= 2.0.2 XCATEGORIES= java XMASTER_SITES= XDISTNAME= javax_comm-2_0_2-solsparc XEXTRACT_SUFX= .tar.Z X XMAINTAINER= ari.suutari@syncrontech.com X XRUN_DEPENDS= ${PREFIX}/jdk1.2.2/bin/java:${PORTSDIR}/java/jdk12-beta X XNO_CDROM= "Sun has a funky license for this software" XRESTRICTED= "no commercial use" X XWRKSRC= ${WRKDIR}/commapi X X.if defined(BATCH) || defined(PACKAGE_BUILDING) XIGNORE= "Should be fetched manually" X.endif X Xdo-fetch: X @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ X ${ECHO} "=========================================================="; \ X ${ECHO} " You must a fetch the Java Communications API 2.0.2"; \ X ${ECHO} " (for Solaris/SPARC) archive from"; \ X ${ECHO} ""; \ X ${ECHO} " http://www.javasoft.com/products/javacomm/index.html"; \ X ${ECHO} ""; \ X ${ECHO} " And copy into ${DISTDIR}"; \ X ${ECHO} "=========================================================="; \ X fi X Xdo-build: X Xdo-install: X @${INSTALL_DATA} ${WRKSRC}/comm.jar ${PREFIX}/jdk1.2.2/jre/lib/ext X X.include END-of-commapi/Makefile echo x - commapi/pkg-plist sed 's/^X//' >commapi/pkg-plist << 'END-of-commapi/pkg-plist' Xjdk1.2.2/jre/lib/ext/comm.jar END-of-commapi/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message