diff options
author | danfe <danfe@FreeBSD.org> | 2008-06-19 03:38:27 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2008-06-19 03:38:27 +0800 |
commit | 7ac393a71e78ec2be89d62ad0b15dc74d8c4b978 (patch) | |
tree | 8dfd8c05ac08c7ef973e990809726428091e2663 /games | |
parent | 347fc983ab050aa1495e3d6a735dc209495757ea (diff) | |
download | freebsd-ports-gnome-7ac393a71e78ec2be89d62ad0b15dc74d8c4b978.tar.gz freebsd-ports-gnome-7ac393a71e78ec2be89d62ad0b15dc74d8c4b978.tar.zst freebsd-ports-gnome-7ac393a71e78ec2be89d62ad0b15dc74d8c4b978.zip |
- Better separate extracting and patching
- Minor textual nit in comment
Diffstat (limited to 'games')
-rw-r--r-- | games/nexuiz/Makefile | 6 | ||||
-rw-r--r-- | 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: |