1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Support staging

This commit is contained in:
Frederic Culot 2014-02-28 10:21:05 +00:00
parent 31b263da9e
commit 998d04687a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346485

View File

@ -14,7 +14,6 @@ SUB_FILES= pkg-message
STRCMD= /usr/games/strfile
NO_STAGE= yes
pre-build:
.if !exists(${STRCMD})
@${ECHO_MSG} "Please install the games distribution"
@ -25,8 +24,8 @@ do-build:
@cd ${WRKSRC} && ${STRCMD} zarathoustra
do-install:
@${MKDIR} ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${PREFIX}/share/games/fortune
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/zarathoustra* ${STAGEDIR}${PREFIX}/share/games/fortune
post-install:
@${CAT} ${PKGMESSAGE}