1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-21 11:30:39 +00:00
parent 5d888a186c
commit 1ffeb794cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345374

View File

@ -17,7 +17,6 @@ FORTUNEFILES= adams banner computer definizioni formiche italia itatrek \
computer-o definizioni-o film-o italia-o jackfr-o leggi-o \
luttazzi-o obsc-o zuse-o
NO_STAGE= yes
pre-build:
.if !exists(${STRCMD})
@${ECHO_MSG} "Please install the games distribution"
@ -30,10 +29,11 @@ do-build:
.endfor
do-install:
@${MKDIR} ${PREFIX}/share/games
@${MKDIR} ${PREFIX}/share/games/fortune
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
.for f in ${FORTUNEFILES}
@${INSTALL_DATA} ${WRKSRC}/testi/${f}* ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/testi/${f}* \
${STAGEDIR}${PREFIX}/share/games/fortune
.endfor
post-install: