games/iortcw: Add desktop entries
This commit is contained in:
parent
ec76d0ea6a
commit
001afd2ce3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463861
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= iortcw
|
||||
DISTVERSION= 1.51
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= games
|
||||
|
||||
@ -43,9 +44,13 @@ MP_DESC= Build multiplayer support
|
||||
SP_DESC= Build singleplayer support
|
||||
|
||||
SP_ALL_TARGET= sp
|
||||
SP_DESKTOP_ENTRIES= "Return to Castle Wolfenstein" "Return to Castle Wolfenstein" \
|
||||
"${DATADIR}/wolf512.png" "iowolfsp" "Game;" false
|
||||
SP_INSTALL_TARGET= sp-install
|
||||
|
||||
MP_ALL_TARGET= mp
|
||||
MP_DESKTOP_ENTRIES= "Return to Castle Wolfenstein (MP)" "Return to Castle Wolfenstein Multiplayer" \
|
||||
"${DATADIR}/wolf512.png" "iowolfmp" "Game;" false
|
||||
MP_INSTALL_TARGET= mp-install
|
||||
|
||||
post-extract:
|
||||
@ -55,6 +60,10 @@ post-patch:
|
||||
@${REINPLACE_CMD} '/\.git\/index/d' ${WRKSRC}/SP/Makefile
|
||||
@${REINPLACE_CMD} '/\.git\/index/d' ${WRKSRC}/MP/Makefile
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/MP/misc/wolf512.png ${STAGEDIR}${DATADIR}
|
||||
|
||||
post-install-MP-on:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/iowolfmp ${STAGEDIR}${PREFIX}/bin/iowolfmp
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/iowolfded ${STAGEDIR}${PREFIX}/bin/iowolfded
|
||||
|
@ -15,3 +15,4 @@
|
||||
%%SP%%%%WOLFDIR%%/renderer_sp_opengl1_%%ARCH%%.so
|
||||
%%SP%%%%WOLFDIR%%/renderer_sp_rend2_%%ARCH%%.so
|
||||
%%SP%%bin/iowolfsp
|
||||
%%DATADIR%%/wolf512.png
|
||||
|
Loading…
Reference in New Issue
Block a user