aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-02-24 10:11:11 +0800
committerhq <hq@FreeBSD.org>2005-02-24 10:11:11 +0800
commit3b84adef0197aca3f963d824df9e3cf2fa9b0364 (patch)
treee8c758fc1e79fe546d9db53fdb4525c6490de14c /java
parent80b6e63527486176e89b8fa7565499a766a4747a (diff)
downloadfreebsd-ports-gnome-3b84adef0197aca3f963d824df9e3cf2fa9b0364.tar.gz
freebsd-ports-gnome-3b84adef0197aca3f963d824df9e3cf2fa9b0364.tar.zst
freebsd-ports-gnome-3b84adef0197aca3f963d824df9e3cf2fa9b0364.zip
- Move WITH_EXTRAS knob explanation in pre-extract
- Move some useful information into PKGMESSAGE - ECHO -> ECHO_MSG PR: 77983 Submitted by: maintainer
Diffstat (limited to 'java')
-rw-r--r--java/java-tutorial/Makefile38
-rw-r--r--java/java-tutorial/files/pkg-message.in6
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
+*