Changeset View
Changeset View
Standalone View
Standalone View
head/games/legends/Makefile
Show All 26 Lines | |||||
# Standard map pack used in official servers. | # Standard map pack used in official servers. | ||||
MAP_PACK= BTMappack-1.05.unf | MAP_PACK= BTMappack-1.05.unf | ||||
PLIST_SUB= MAP_PACK="${MAP_PACK}" | PLIST_SUB= MAP_PACK="${MAP_PACK}" | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
post-extract: | post-extract: | ||||
@cd ${WRKDIR} && ${TAR} xf legends.tar | @cd ${WRKSRC} && ${TAR} xf legends.tar | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|; \ | @${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|; \ | ||||
s|`dirname $$0`|${DATADIR}|; s|./LinLegends|exec &|; s| &$$||' \ | s|`dirname $$0`|${DATADIR}|; s|./LinLegends|exec &|; s| &$$||' \ | ||||
${WRKSRC}/bin/runlegends | ${WRKSRC}/bin/runlegends | ||||
do-install: | do-install: | ||||
@${MKDIR} ${STAGEDIR}${DATADIR} | @${MKDIR} ${STAGEDIR}${DATADIR} | ||||
Show All 13 Lines |