aboutsummaryrefslogtreecommitdiffstats
path: root/games/xonotic
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-06-19 03:38:27 +0800
committerdanfe <danfe@FreeBSD.org>2008-06-19 03:38:27 +0800
commit7ac393a71e78ec2be89d62ad0b15dc74d8c4b978 (patch)
tree8dfd8c05ac08c7ef973e990809726428091e2663 /games/xonotic
parent347fc983ab050aa1495e3d6a735dc209495757ea (diff)
downloadfreebsd-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/xonotic')
-rw-r--r--games/xonotic/Makefile6
1 files changed, 4 insertions, 2 deletions
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: