From 35306eaa3983face78528b2e6e2d4b6dffc92713 Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Thu, 24 Feb 2005 02:11:11 +0000 Subject: - Move WITH_EXTRAS knob explanation in pre-extract - Move some useful information into PKGMESSAGE - ECHO -> ECHO_MSG PR: 77983 Submitted by: maintainer --- java/java-tutorial/Makefile | 38 ++++++++++++++++----------------- java/java-tutorial/files/pkg-message.in | 6 ++++++ 2 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 java/java-tutorial/files/pkg-message.in (limited to 'java/java-tutorial') diff --git a/java/java-tutorial/Makefile b/java/java-tutorial/Makefile index 4cbbbfbc34f4..e4eda3725b5e 100644 --- a/java/java-tutorial/Makefile +++ b/java/java-tutorial/Makefile @@ -24,6 +24,23 @@ RESTRICTED= "This software is under license and export control." NO_BUILD= yes USE_ZIP= yes PORTDOCS= * +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +pre-extract: +.if !defined(WITH_EXTRAS) + @${ECHO_MSG} "*" + @${ECHO_MSG} "* make install WITH_EXTRAS=yes will add to the installation:" + @${ECHO_MSG} "*" + @${ECHO_MSG} "* 1) source files for all the tutorial examples" + @${ECHO_MSG} "*" + @${ECHO_MSG} "* 2) Some examples such as the BINGO and Servlets Bookstore examples" + @${ECHO_MSG} "* include many source files in a rather complex directory structure," + @${ECHO_MSG} "* so these examples are separate files." + @${ECHO_MSG} "*" + @${ECHO_MSG} "* 3) The JFC/Swing trail" + @${ECHO_MSG} "*" +.endif .include @@ -38,25 +55,6 @@ do-install: @${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} "***********************************************************************" + @${CAT} ${PKGMESSAGE} .include diff --git a/java/java-tutorial/files/pkg-message.in b/java/java-tutorial/files/pkg-message.in new file mode 100644 index 000000000000..2a3cb3c93ddf --- /dev/null +++ b/java/java-tutorial/files/pkg-message.in @@ -0,0 +1,6 @@ +* +* Set your browser to %%DOCSDIR%%/index.html and enjoy!" +* +* Michael C. Shultz (port maintainer)" +* ringworm01@gmail.com +* -- cgit v1.2.3