summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-12-14 06:57:18 +0000
committerale <ale@FreeBSD.org>2006-12-14 06:57:18 +0000
commit803424413a1e42ce1dbe75b8b10526f6187be241 (patch)
tree53a9417cbfe4d0c746206bcf5e8e4f5ece5c873d
parent1d7e126517d58de6f08b067faca7b0b2d3cdacda (diff)
downloadFreeBSD-ports-803424413a1e42ce1dbe75b8b10526f6187be241.zip
FreeBSD-ports-803424413a1e42ce1dbe75b8b10526f6187be241.tar.gz
Make it fetchable again, pointing users to the correct distfile.
Approved by: maintainer
-rw-r--r--comms/java-commapi/Makefile7
-rw-r--r--comms/java-commapi/distinfo5
-rw-r--r--comms/java-commapi/pkg-plist1
3 files changed, 7 insertions, 6 deletions
diff --git a/comms/java-commapi/Makefile b/comms/java-commapi/Makefile
index 21db62e..d0ccce7 100644
--- a/comms/java-commapi/Makefile
+++ b/comms/java-commapi/Makefile
@@ -10,12 +10,12 @@ PORTVERSION= 2.0.3
PORTREVISION= 1
CATEGORIES= comms java
MASTER_SITES= #
-DISTNAME= javax_comm-${PORTVERSION:S/./_/g}-solsparc
-EXTRACT_SUFX= .tar.Z
+DISTNAME= comm${PORTVERSION}
MAINTAINER= ari.suutari@syncrontech.com
COMMENT= Sun's Java Communications API
+USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.3+
@@ -23,7 +23,7 @@ NO_CDROM= Sun has a funky license for this software
RESTRICTED= no commercial use
NO_BUILD= YES
-WRKSRC= ${WRKDIR}/commapi
+WRKSRC= ${WRKDIR}
DISTDESCR= "the Java Communications API ${PORTVERSION} for Solaris/SPARC"
DOWNLOAD_URL= "http://java.sun.com/products/javacomm/"
PORTDESTDIR= ${JAVA_HOME}/jre/lib/ext
@@ -31,6 +31,7 @@ DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
DISTPATH= ${DISTDIR}/${DISTFILE}
PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/${PREFIX}\///}
+PLIST_FILES+= %%JAVA_HOME%%/jre/lib/ext/comm.jar
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= should be fetched manually
diff --git a/comms/java-commapi/distinfo b/comms/java-commapi/distinfo
index 6c3e753..5f2aa48 100644
--- a/comms/java-commapi/distinfo
+++ b/comms/java-commapi/distinfo
@@ -1,2 +1,3 @@
-MD5 (javax_comm-2_0_3-solsparc.tar.Z) = b8eaa0ab5fa36edfae64194aeacb651b
-SIZE (javax_comm-2_0_3-solsparc.tar.Z) = 404249
+MD5 (comm2.0.3.zip) = 46d1e6941ce807ace24a40b59433e4ef
+SHA256 (comm2.0.3.zip) = 86e430d07aef32c6fe4fc0a1de40c54aeee6df154dbb8185399b30b6a78edd28
+SIZE (comm2.0.3.zip) = 32609
diff --git a/comms/java-commapi/pkg-plist b/comms/java-commapi/pkg-plist
deleted file mode 100644
index 7dd3d57..0000000
--- a/comms/java-commapi/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%JAVA_HOME%%/jre/lib/ext/comm.jar
OpenPOWER on IntegriCloud