diff -ruN java-tutorial/Makefile java-tutorial_2/Makefile --- java-tutorial/Makefile Fri Feb 18 08:41:03 2005 +++ java-tutorial_2/Makefile Sun Feb 20 10:58:28 2005 @@ -5,14 +5,17 @@ # $FreeBSD: ports/java/java-tutorial/Makefile,v 1.33 2005/02/17 19:21:00 hq Exp $ # -# Install size for version 2004.03.11 is ~22827 kB. - PORTNAME= jdk-tutorial -PORTVERSION= 2004.03.11 -PORTREVISION= 1 +PORTVERSION= 2005.02.17 +PORTREVISION= 0 CATEGORIES= java -MASTER_SITES= http://java.sun.com/docs/books/tutorial/download/ +MASTER_SITES= http://java.sun.com/docs/books/tutorialNB/download/ +.if defined(WITH_EXTRAS) +DISTNAME= tutorial.zip tut-examples.zip tut-swing.zip tut-bookstore-21.zip \ + tut-bookstore-tomcat.zip tut-bingo +.else DISTNAME= tutorial +.endif MAINTAINER= ringworm01@gmail.com COMMENT= Official Java 2 SDK tutorial @@ -34,5 +37,27 @@ @${CP} -R ${WRKSRC}/* ${DOCSDIR} @${CHOWN} -h -R ${DOCOWN}:${DOCGRP} ${DOCSDIR} @${ECHO_MSG} " [ DONE ]" + +post-install: + @${ECHO} "***********************************************************************" + @${ECHO} "* *" +.if !defined(WITH_EXTRAS) + @${ECHO} "* make install WITH_EXTRAS=1 will add to the installation: *" + @${ECHO} "* *" + @${ECHO} "* 1) source files for all the tutorial examples *" + @${ECHO} "* *" + @${ECHO} "* 2) Some examples such as the BINGO and Servlets Bookstore examples *" + @${ECHO} "* include many source files in a rather complex directory structure, *" + @${ECHO} "* so these examples are separate files. *" + @${ECHO} "* *" + @${ECHO} "* 3) The JFC/Swing trail *" + @${ECHO} "* *" +.endif + @${ECHO} "* Set your browser to ${DOCSDIR}/index.html and enjoy! *" + @${ECHO} "* *" + @${ECHO} "* Michael C. Shultz (port maintainer) *" + @${ECHO} "* ringworm01@gmail.com *" + @${ECHO} "* *" + @${ECHO} "***********************************************************************" .include diff -ruN java-tutorial/distinfo java-tutorial_2/distinfo --- java-tutorial/distinfo Thu Feb 17 10:02:43 2005 +++ java-tutorial_2/distinfo Sun Feb 20 09:47:23 2005 @@ -1,2 +1,12 @@ -MD5 (tutorial.zip) = 5b48a3679d6871e65856dc17cdae61c6 -SIZE (tutorial.zip) = 14199235 +MD5 (tutorial.zip) = 0a27eb4244e6a40f6572239813fcec66 +SIZE (tutorial.zip) = 14689562 +MD5 (tut-examples.zip) = 88917388e41ef50cb4e064a3d0c46adf +SIZE (tut-examples.zip) = 5953512 +MD5 (tut-swing.zip) = fe3a2dbc1442106631b944df37804e8b +SIZE (tut-swing.zip) = 7433266 +MD5 (tut-bookstore-21.zip) = cfd834d8a03dde7e34860f62f05e5f89 +SIZE (tut-bookstore-21.zip) = 18252 +MD5 (tut-bookstore-tomcat.zip) = bdc9413498ccb7104192b0db3820619f +SIZE (tut-bookstore-tomcat.zip) = 31353 +MD5 (tut-bingo.zip) = 2ef5f5d39e462fa1da01b17d30e362bf +SIZE (tut-bingo.zip) = 38158 diff -ruN java-tutorial/pkg-descr java-tutorial_2/pkg-descr --- java-tutorial/pkg-descr Thu Feb 17 10:02:43 2005 +++ java-tutorial_2/pkg-descr Sun Feb 20 11:00:18 2005 @@ -1,4 +1,13 @@ +The Java(tm) Tutorial + +A practical guide for programmers with hundreds of complete, working +examples and dozens of trails--groups of lessons on a particular +subject. + Tutorial for Sun's Java Developers Kit (JDK). For more information about the JDK for FreeBSD see http://www.freebsd.org/java/ WWW: http://www.freebsd.org/java/ + +Michael C. Shultz (port maintainer) +ringworm01@gmail.com