Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 12:29:53 +0200 (EET)
From:      ari.suutari@syncrontech.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31688: Update for Sun's Java Communication API port 
Message-ID:  <200111011029.fA1ATrN41478@pommac.syncrontech.com>

next in thread | raw e-mail | index | archive | help

>Number:         31688
>Category:       ports
>Synopsis:       JDK 1.3.1 Update for Sun's Java Communication API port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 01 02:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Release Manager
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
Syncron Tech Oy
>Environment:
System: FreeBSD pommac.syncrontech.com 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Mon Sep 17 12:14:30 EEST 2001 root@pommac.syncrontech.com:/usr/src/sys/compile/POMMAC i386


>Description:
	This port is an update for my previously submitted
	Java Communication API port(PR#28623). It is the same
	as the original one except that it has been updated
	to use JDK 1.3.1.
>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/files/CVS
#	commapi/files/CVS/Root
#	commapi/files/CVS/Repository
#	commapi/files/CVS/Entries
#	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 c - commapi/files/CVS
mkdir -p commapi/files/CVS > /dev/null 2>&1
echo x - commapi/files/CVS/Root
sed 's/^X//' >commapi/files/CVS/Root << 'END-of-commapi/files/CVS/Root'
X:pserver:ari@guinness:/opt/cvs
END-of-commapi/files/CVS/Root
echo x - commapi/files/CVS/Repository
sed 's/^X//' >commapi/files/CVS/Repository << 'END-of-commapi/files/CVS/Repository'
XSyncWare/ports/commapi/files
END-of-commapi/files/CVS/Repository
echo x - commapi/files/CVS/Entries
sed 's/^X//' >commapi/files/CVS/Entries << 'END-of-commapi/files/CVS/Entries'
XD
END-of-commapi/files/CVS/Entries
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
XPORTREVISION=	1
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.3.1/bin/java:${PORTSDIR}/java/jdk13
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.3.1/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.3.1/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?200111011029.fA1ATrN41478>