aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2011-03-22 10:23:54 +0000
committerAlex Dupre <ale@FreeBSD.org>2011-03-22 10:23:54 +0000
commit2ba3bfa2b96746cdd69fefe3d60b6ecd9539b845 (patch)
tree38c2d6ea7eb22f3be81e570768e7e486c866619a /comms
parentc37c99154d08009ff13b7c0c5e99cf019f711c29 (diff)
Make it fetchable again.
Notes
Notes: svn path=/head/; revision=271474
Diffstat (limited to 'comms')
-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