aboutsummaryrefslogtreecommitdiff
path: root/games/joequake/Makefile
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-05-20 13:29:07 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-05-20 13:29:07 +0000
commit624ff389260361caf9d25712603a83871538cc24 (patch)
tree76d253266f0ec1dfd0184c2b3b3356efd2b5c247 /games/joequake/Makefile
parent6d24ec16df8d183320c8db32383c6acdb919657b (diff)
downloadports-624ff389260361caf9d25712603a83871538cc24.tar.gz
ports-624ff389260361caf9d25712603a83871538cc24.zip
Notes
Diffstat (limited to 'games/joequake/Makefile')
-rw-r--r--games/joequake/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/games/joequake/Makefile b/games/joequake/Makefile
index da4c01091f1f..cb9f78201a6b 100644
--- a/games/joequake/Makefile
+++ b/games/joequake/Makefile
@@ -34,9 +34,6 @@ OPTIONS= GLX "Build GLX client" on \
X11 "Build X11 client" on \
X86_ASM "Enable x86 assembly code" on
-DATADIR= ${Q1DIR}
-MAKE_ENV= DATADIR="${DATADIR}"
-
.include "${.CURDIR}/../quake-data/Makefile.include"
.include <bsd.port.pre.mk>
@@ -91,15 +88,15 @@ PLIST_SUB+= X11="@comment "
.endif
do-install:
- ${MKDIR} ${DATADIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/pak0.pak ${DATADIR}/${PORTNAME}
+ ${MKDIR} ${Q1DIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/pak0.pak ${Q1DIR}/${PORTNAME}
.if !defined(WITHOUT_GLX)
${INSTALL_PROGRAM} ${WRKSRC}/release_glx/joequake-gl.glx \
${PREFIX}/bin/joequake-glx
.endif
.if defined(WITH_HUD) || defined(WITH_HUD_SA)
- ${MKDIR} ${DATADIR}/${PORTNAME}/textures/wad
- ${INSTALL_DATA} ${WRKDIR}/wad/* ${DATADIR}/${PORTNAME}/textures/wad
+ ${MKDIR} ${Q1DIR}/${PORTNAME}/textures/wad
+ ${INSTALL_DATA} ${WRKDIR}/wad/* ${Q1DIR}/${PORTNAME}/textures/wad
.endif
.if !defined(WITHOUT_X11)
${INSTALL_PROGRAM} ${WRKSRC}/release_x11/joequake.x11 \