New port: Java Communications API.
PR: 31688 Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
This commit is contained in:
45
comms/java-commapi/Makefile
Normal file
45
comms/java-commapi/Makefile
Normal file
@@ -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>
|
||||
1
comms/java-commapi/distinfo
Normal file
1
comms/java-commapi/distinfo
Normal file
@@ -0,0 +1 @@
|
||||
MD5 (javax_comm-2_0_2-solsparc.tar.Z) = 00d3920f0587bf07efe52acb6b8ac842
|
||||
1
comms/java-commapi/pkg-comment
Normal file
1
comms/java-commapi/pkg-comment
Normal file
@@ -0,0 +1 @@
|
||||
Sun's Java Communications API
|
||||
15
comms/java-commapi/pkg-descr
Normal file
15
comms/java-commapi/pkg-descr
Normal file
@@ -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/
|
||||
1
comms/java-commapi/pkg-plist
Normal file
1
comms/java-commapi/pkg-plist
Normal file
@@ -0,0 +1 @@
|
||||
jdk1.3.1/jre/lib/ext/comm.jar
|
||||
Reference in New Issue
Block a user