Date: Mon, 2 Jul 2001 11:41:47 +0300 (EEST) From: ari@suutari.iki.fi To: FreeBSD-gnats-submit@freebsd.org Subject: ports/28623: New port: Sun's java communication API Message-ID: <200107020841.f628fl310963@osku.suutari.iki.fi>
next in thread | raw e-mail | index | archive | help
>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 <ari.suutari@syncrontech.com> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107020841.f628fl310963>