diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-03-08 15:35:17 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-03-08 15:35:17 +0000 |
commit | 4144ba20093887d04e5b8bc1e971caa22bf6b1d3 (patch) | |
tree | acdcf61a5d4f4f77fab0e0c048aef31abd9409df /www | |
parent | 49ec09b62e68b755133dbf580c29727cfe44db82 (diff) | |
download | pkgsrc-4144ba20093887d04e5b8bc1e971caa22bf6b1d3.tar.gz |
The distfile has moved. Tell the user to fetch it from the new
location (the automatic fetch has been removed, because Sun want
the user to click "accept" to a license agreement before downloading).
Diffstat (limited to 'www')
-rw-r--r-- | www/jsdk20/Makefile | 42 |
1 files changed, 14 insertions, 28 deletions
diff --git a/www/jsdk20/Makefile b/www/jsdk20/Makefile index 31564f50ed8..0e3be3efeca 100644 --- a/www/jsdk20/Makefile +++ b/www/jsdk20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2004/01/20 12:27:59 agc Exp $ +# $NetBSD: Makefile,v 1.24 2004/03/08 15:35:17 kristerw Exp $ # STOP! Don't update this to a later version of this software. # The JSDK and Apache Jakarta projects have merged, making the # jakarta-tomcat package the current version of this software. @@ -15,7 +15,7 @@ MAINTAINER= jwise@NetBSD.org HOMEPAGE= http://java.sun.com/products/servlet/index.html COMMENT= Sun's Java Servlet Development Kit, version 2.0 -BUILD_DEPENDS+= urlget>=1.3:../../www/urlget +ARCHIVE= http://java.sun.com/products/servlet/archive.html LICENSE= sun-jsdk20-license USE_JAVA= run @@ -31,33 +31,19 @@ NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} -.include "../../mk/bsd.prefs.mk" - -TEMPDIR?= /tmp -TEMPFILE!= echo ${TEMPDIR}/jsdk20.location.$$$$ -URLGET?= ${LOCALBASE}/bin/urlget +_FETCH_MESSAGE= \ + ${ECHO} "======================================================================"; \ + ${ECHO} ; \ + ${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing"; \ + ${ECHO} " ${COMMENT} must be fetched"; \ + ${ECHO} " into:"; \ + ${ECHO} " ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \ + ${ECHO} " from:"; \ + ${ECHO} " ${ARCHIVE}"; \ + ${ECHO} ; \ + ${ECHO} "======================================================================" -pre-fetch: - @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ - if [ ! -x ${URLGET} ]; then \ - ${MAKE} install-depends DEPENDS=; \ - fi; \ - fi - -do-fetch: - -@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ - ${URLGET} -p http://java.sun.com/cgi-bin/download2.cgi \ - referer= \ - protocol="FTP Download" \ - download-name=${DISTNAME}${EXTRACT_SUFX} \ - config-file=jsdk20.config \ - platform=solaris2-sparc \ - domain-checked= \ - > ${TEMPFILE}; \ - ${FETCH_CMD} -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ - `${GREP} ftp:// ${TEMPFILE} | \ - ${SED} -e 's|.*\(ftp://.*.tar.Z\).*|\1|'`; \ - fi +.include "../../mk/bsd.prefs.mk" do-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/java |