aboutsummaryrefslogtreecommitdiffstats
path: root/comms/java-commapi
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2011-03-22 18:23:54 +0800
committerale <ale@FreeBSD.org>2011-03-22 18:23:54 +0800
commitf83e1b2af1ae360a82df9d4c37f579bcb9c2ab6a (patch)
treea188969acc303db3ae2ac044fcf069b2c47a775c /comms/java-commapi
parent24fbf43e8f90cffb8782fa1472a717e15754fde5 (diff)
downloadfreebsd-ports-gnome-f83e1b2af1ae360a82df9d4c37f579bcb9c2ab6a.tar.gz
freebsd-ports-gnome-f83e1b2af1ae360a82df9d4c37f579bcb9c2ab6a.tar.zst
freebsd-ports-gnome-f83e1b2af1ae360a82df9d4c37f579bcb9c2ab6a.zip
Make it fetchable again.
Diffstat (limited to 'comms/java-commapi')
-rw-r--r--comms/java-commapi/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/comms/java-commapi/Makefile b/comms/java-commapi/Makefile
index c0d79c4df82c..0ff3b6a837b1 100644
--- a/comms/java-commapi/Makefile
+++ b/comms/java-commapi/Makefile
@@ -24,8 +24,8 @@ RESTRICTED= no commercial use
NO_BUILD= YES
WRKSRC= ${WRKDIR}
-DISTDESCR= "the Java Communications API ${PORTVERSION} for Solaris/SPARC"
-DOWNLOAD_URL= "http://java.sun.com/products/javacomm/"
+DISTDESCR= "the Java Communications API ${PORTVERSION} for Generic Platform"
+DOWNLOAD_URL= "https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=JAVACOMM-3.0.1-LX-SP-G-F@CDS-CDS_SMI"
PORTDESTDIR= ${JAVA_HOME}/jre/lib/ext
DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
DISTPATH= ${DISTDIR}/${DISTFILE}
@@ -33,13 +33,9 @@ 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
-.endif
-
.include <bsd.port.pre.mk>
-.if !exists(${DISTPATH})
+.if !exists(${DISTPATH}) && !defined(PACKAGE_BUILDING)
IGNORE=You must manually fetch ${DISTDESCR} (${DISTFILE}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif