javax.comm ports should use USE_JAVA
Java ports should use the new USE_JAVA infrastructure to auto-discover the installed JRE Informed maintainer. PR: ports/56927 Submitted by: Nick Sayer <nsayer@kfu.com>
This commit is contained in:
@@ -15,7 +15,7 @@ EXTRACT_SUFX= .tar.Z
|
||||
MAINTAINER= ari.suutari@syncrontech.com
|
||||
COMMENT= Sun's Java Communications API
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/jdk1.3.1/bin/java:${PORTSDIR}/java/jdk13
|
||||
USE_JAVA= 1.3+
|
||||
|
||||
NO_CDROM= "Sun has a funky license for this software"
|
||||
RESTRICTED= "no commercial use"
|
||||
@@ -24,10 +24,12 @@ NO_BUILD= YES
|
||||
WRKSRC= ${WRKDIR}/commapi
|
||||
DISTDESCR= "the Java Communications API ${PORTVERSION} for Solaris/SPARC"
|
||||
DOWNLOAD_URL= "http://java.sun.com/products/javacomm/"
|
||||
PORTDESTDIR= ${PREFIX}/jdk1.3.1/jre/lib/ext
|
||||
PORTDESTDIR= ${JAVA_HOME}/jre/lib/ext
|
||||
DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
|
||||
DISTPATH= ${DISTDIR}/${DISTFILE}
|
||||
|
||||
PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/${PREFIX}\///}
|
||||
|
||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
||||
IGNORE= "Should be fetched manually"
|
||||
.endif
|
||||
|
||||
@@ -1 +1 @@
|
||||
jdk1.3.1/jre/lib/ext/comm.jar
|
||||
%%JAVA_HOME%%/jre/lib/ext/comm.jar
|
||||
|
||||
Reference in New Issue
Block a user