- Move WITH_EXTRAS knob explanation in pre-extract

- Move some useful information into PKGMESSAGE
- ECHO -> ECHO_MSG

PR:		77983
Submitted by:	maintainer
This commit is contained in:
Herve Quiroz
2005-02-24 02:11:11 +00:00
parent 453ac91de6
commit 35306eaa39
2 changed files with 24 additions and 20 deletions

View File

@@ -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>