diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-02-24 02:11:11 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-02-24 02:11:11 +0000 |
commit | 35306eaa3983face78528b2e6e2d4b6dffc92713 (patch) | |
tree | 5b64626bd24cfd00c80be7caba2544738fe1a640 /java/java-tutorial | |
parent | - Update to 0.7.0 with the following changes: (diff) |
- Move WITH_EXTRAS knob explanation in pre-extract
- Move some useful information into PKGMESSAGE
- ECHO -> ECHO_MSG
PR: 77983
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=129632
Diffstat (limited to 'java/java-tutorial')
-rw-r--r-- | java/java-tutorial/Makefile | 38 | ||||
-rw-r--r-- | java/java-tutorial/files/pkg-message.in | 6 |
2 files changed, 24 insertions, 20 deletions
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 <bsd.port.pre.mk> @@ -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 <bsd.port.post.mk> 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 +* |