1: Stagify.
2: move post-install messages to pkg-message. Approved by: portmgr@
This commit is contained in:
parent
8bf9130c1e
commit
47d5088c99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357887
2 changed files with 8 additions and 7 deletions
|
@ -16,18 +16,15 @@ USE_PHP= gd mysql
|
|||
USES= perl5 zip
|
||||
USE_PERL5= run
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
HLSTATSX?= www/${PORTNAME}
|
||||
PLIST_SUB+= HLSTATSX=${HLSTATSX}
|
||||
SUB_LIST+= HLSTATSX=${HLSTATSX}
|
||||
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@ ${MKDIR} ${PREFIX}/${HLSTATSX}
|
||||
@ ${CP} -R ${WRKSRC}/* ${PREFIX}/${HLSTATSX}
|
||||
@ ${ECHO_MSG} "*"
|
||||
@ ${ECHO_MSG} "* Files have been installed in"
|
||||
@ ${ECHO_MSG} "* ${PREFIX}/${HLSTATSX}"
|
||||
@ ${ECHO_MSG} "*"
|
||||
@ ${MKDIR} ${STAGEDIR}${PREFIX}/${HLSTATSX}
|
||||
@ ${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${HLSTATSX}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
4
games/hlstatsx/files/pkg-message.in
Normal file
4
games/hlstatsx/files/pkg-message.in
Normal file
|
@ -0,0 +1,4 @@
|
|||
*
|
||||
* Files have been installed in
|
||||
* %%PREFIX%%/%%HLSTATSX%%
|
||||
*
|
Loading…
Reference in a new issue