From c79c04ae1f76450c712880fab1964593984bd34b Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Mon, 21 Feb 2005 00:58:30 +0000 Subject: - Update to version 2005.02.17 - Add WITH_EXTRAS knob to include source code examples - Improve pkg-descr PR: 77796 Submitted by: maintainer --- java/java-tutorial/Makefile | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'java/java-tutorial/Makefile') diff --git a/java/java-tutorial/Makefile b/java/java-tutorial/Makefile index 20e1fdf72ccc..4cbbbfbc34f4 100644 --- a/java/java-tutorial/Makefile +++ b/java/java-tutorial/Makefile @@ -5,14 +5,16 @@ # $FreeBSD$ # -# Install size for version 2004.03.11 is ~22827 kB. - PORTNAME= jdk-tutorial -PORTVERSION= 2004.03.11 -PORTREVISION= 1 +PORTVERSION= 2005.02.17 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 @@ -35,4 +37,26 @@ do-install: @${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 -- cgit v1.3