summaryrefslogtreecommitdiff
path: root/java/java-tutorial/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/java-tutorial/Makefile')
-rw-r--r--java/java-tutorial/Makefile38
1 files changed, 18 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>