From 4384aa7dd60c4c0157776f1e7e0c880316d15b16 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Wed, 18 Jun 2008 19:38:27 +0000 Subject: [PATCH] - Better separate extracting and patching - Minor textual nit in comment --- games/nexuiz/Makefile | 6 ++++-- games/xonotic/Makefile | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile index e4d5e4e62d6a..5279181254a8 100644 --- a/games/nexuiz/Makefile +++ b/games/nexuiz/Makefile @@ -40,7 +40,7 @@ PLIST_SUB+= MAPPACK="@comment " .endif .if !(defined(WITHOUT_CLIENT) && defined(WITHOUT_SDL_CLIENT)) -# Loads libraries on run-time, thus RUN_DEPENDS +# Loads libraries at run-time, thus RUN_DEPENDS RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:${PORTSDIR}/audio/libvorbis \ ${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg \ ${LOCALBASE}/lib/libpng.so:${PORTSDIR}/graphics/png \ @@ -71,9 +71,11 @@ PLIST_SUB+= SERVER="" PLIST_SUB+= SERVER="@comment " .endif -post-patch: +post-extract: @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/enginesource20080511.zip \ -d ${WRKDIR}/Nexuiz/sources + +post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' ${WRKSRC}/${MAKEFILE} do-build: diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile index e4d5e4e62d6a..5279181254a8 100644 --- a/games/xonotic/Makefile +++ b/games/xonotic/Makefile @@ -40,7 +40,7 @@ PLIST_SUB+= MAPPACK="@comment " .endif .if !(defined(WITHOUT_CLIENT) && defined(WITHOUT_SDL_CLIENT)) -# Loads libraries on run-time, thus RUN_DEPENDS +# Loads libraries at run-time, thus RUN_DEPENDS RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:${PORTSDIR}/audio/libvorbis \ ${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg \ ${LOCALBASE}/lib/libpng.so:${PORTSDIR}/graphics/png \ @@ -71,9 +71,11 @@ PLIST_SUB+= SERVER="" PLIST_SUB+= SERVER="@comment " .endif -post-patch: +post-extract: @${EXTRACT_CMD} ${WRKDIR}/Nexuiz/sources/enginesource20080511.zip \ -d ${WRKDIR}/Nexuiz/sources + +post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' ${WRKSRC}/${MAKEFILE} do-build: