diff options
Diffstat (limited to 'games/quake/Makefile')
-rw-r--r-- | games/quake/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/games/quake/Makefile b/games/quake/Makefile index a0fb5db0c2f..c5958704736 100644 --- a/games/quake/Makefile +++ b/games/quake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2001/09/27 23:18:08 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2002/01/02 10:01:34 hubertf Exp $ DISTNAME= q1source PKGNAME= quake-2.30 @@ -27,28 +27,29 @@ USE_MESA= yes EVAL_PREFIX+= MESA_DIR=Mesa MAKE_ENV+= MESA_DIR=${MESA_DIR} +MAKE_ENV+= X11BASE=${X11BASE} do-configure: - cd ${WRKSRC}/QW && ${LN} -fs Makefile.Linux ${MAKEFILE} - cd ${WRKSRC}/WinQuake && ${LN} -fs Makefile.linuxi386 ${MAKEFILE} + cd ${WRKSRC}/qw && ${LN} -fs makefile.linux ${MAKEFILE} + cd ${WRKSRC}/winquake && ${LN} -fs makefile.linuxi386 ${MAKEFILE} #pre-build: -# cd ${WRKSRC}/WinQuake && \ +# cd ${WRKSRC}/winquake && \ # ${MV} common.c common.c.orig && \ # ${SED} "s@GAMENAME, basedir@GAMENAME, \"${PREFIX}/share/quake/\"@" \ # < common.c.orig > common.c do-build: - @( cd ${WRKSRC}/QW ; ${GMAKE} MAINDIR=`pwd` CFLAGS="${CFLAGS}" all) - @( cd ${WRKSRC}/WinQuake ; ${GMAKE} MAINDIR=`pwd` CFLAGS="${CFLAGS}" \ + ( cd ${WRKSRC}/qw ; ${SETENV} ${MAKE_ENV} ${GMAKE} MAINDIR=`pwd` CFLAGS="${CFLAGS}" all) + ( cd ${WRKSRC}/winquake ; ${SETENV} ${MAKE_ENV} ${GMAKE} MAINDIR=`pwd` CFLAGS="${CFLAGS}" \ WRKSRC="${WRKSRC}" all) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/QW/release_version/qwsv ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/QW/release_version/qwcl.x11 ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/QW/release_version/glqwcl.glx ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/WinQuake/release_version/bin/glquake.glx ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/WinQuake/release_version/bin/quake.x11 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/qw/release_version/qwsv ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/qw/release_version/qwcl.x11 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/qw/release_version/glqwcl.glx ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/winquake/release_version/bin/glquake.glx ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/winquake/release_version/bin/quake.x11 ${PREFIX}/bin post-install: @ ${ECHO} |