diff options
author | edwin <edwin@FreeBSD.org> | 2003-09-28 20:51:30 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-09-28 20:51:30 +0800 |
commit | 1231591cc1f019775d84146cda69d191872f6d72 (patch) | |
tree | 69fce4b2a61336f277b68e54875dea20605c7363 /games/linux-nwnclient/Makefile | |
parent | 0ff5b1037284a9c4ed7d2ad1ef3ecb5b893d1716 (diff) | |
download | freebsd-ports-gnome-1231591cc1f019775d84146cda69d191872f6d72.tar.gz freebsd-ports-gnome-1231591cc1f019775d84146cda69d191872f6d72.tar.zst freebsd-ports-gnome-1231591cc1f019775d84146cda69d191872f6d72.zip |
[NEW PORT] games/linux_nwnclient: Neverwinter Nights Linux (x86) Client
This is the Neverwinter Nights Linux based client. It runs
under FreeBSD using the Linux emulation mode.
WWW: http://nwn.bioware.com/
PR: ports/53914
Submitted by: Erik Olson <erikolson@olsonexpress.com>
Diffstat (limited to 'games/linux-nwnclient/Makefile')
-rw-r--r-- | games/linux-nwnclient/Makefile | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/games/linux-nwnclient/Makefile b/games/linux-nwnclient/Makefile new file mode 100644 index 000000000000..61b50ac5ed42 --- /dev/null +++ b/games/linux-nwnclient/Makefile @@ -0,0 +1,75 @@ +# New ports collection makefile for: linux_nwnclient +# Date created: 1 April 2003 +# Whom: Erik Olson <erikolson@olsonexpress.com> +# +# $FreeBSD$ +# + +PORTNAME= linux_nwnclient +PORTVERSION= 1.30 +CATEGORIES= games linux +MASTER_SITES= http://nwdownloads.bioware.com/neverwinternights/linux/${PORTVERSION:S/.//}/ \ + http://nwdownloads.bioware.com/neverwinternights/linux/129/ +DISTFILES= nwclient129.tar.gz linuxclientupdate129to${PORTVERSION:S/.//}.tar.gz + +MAINTAINER= erikolson@olsonexpress.com +COMMENT= Neverwinter Nights Linux (x86) Client + +RUN_DEPENDS= /compat/linux/usr/games/nwn/nwm:${PORTSDIR}/games/linux_nwndata \ + /compat/linux/usr/X11R6/lib/libGL.so.1.2:${PORTSDIR}/graphics/linux_dri + +USE_LINUX= yes +USE_LINUX_PREFIX= yes +NO_BUILD= yes +ONLY_FOR_ARCHS= i386 +NWNDIR= usr/games/nwn +WRKSRC= ${WRKDIR} +INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 +PLIST_SUB+= NWNDIR="${NWNDIR}" +# Linux binary should not be stripped by INSTALL_PROGRAM +# because as a side effect it brands the binary as FreeBSD. +STRIP= + +do-install: + ${INSTALL_DIR} ${PREFIX}/${NWNDIR} + ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/miles + ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/override + ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/lib + ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/nwm + ${INSTALL_DIR} ${PREFIX}/${NWNDIR}/data +.for f in nwmain nwserver + ${INSTALL_PROGRAM} ${WRKDIR}/${f} ${PREFIX}/${NWNDIR} +.endfor +.for f in dmclient fixinstall nwn + ${INSTALL_SCRIPT} ${WRKDIR}/${f} ${PREFIX}/${NWNDIR} +.endfor +.for f in nwn.ini movies-OC.txt dialog.tlk patch.key + ${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/${NWNDIR} +.endfor +.for f in miles/mssdsp.flt miles/mssmp3.asi miles/msssoft.m3d miles/libmss.so.6.5.2 miles/libmss.so.6 miles/libmss.so + ${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/${NWNDIR}/miles +.endfor +.for f in data/patch.bif + ${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/${NWNDIR}/data +.endfor +.for f in nwm/Chapter1.nwm nwm/Chapter1E.nwm nwm/Chapter2.nwm nwm/Chapter3.nwm nwm/Prelude.nwm + ${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/${NWNDIR}/nwm +.endfor +.for f in override/soundprovider.2da override/load_legal2.tga override/load_legal.tga + # Removed - override/gui_srv_lst_pnl.tga + ${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/${NWNDIR}/override +.endfor +.for f in lib/libSDL-1.2.so.0 lib/libSDL-1.2.so.0.0.5 + ${INSTALL_PROGRAM} ${WRKDIR}/${f} ${PREFIX}/${NWNDIR}/lib +.endfor +.ifndef (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for f in readme.txt readme-SDL.txt EULA.txt NWNv130.txt readme.linuxserver.txt + ${INSTALL_DATA} ${WRKDIR}/${f} ${DOCSDIR} +.endfor +.endif +# cd ${PREFIX}/${NWNDIR}/ ; /compat/linux/bin/bash ./fixinstall + ${CHOWN} -R root:games ${PREFIX}/${NWNDIR}/ + ${CHMOD} -R 775 ${PREFIX}/${NWNDIR}/ + +.include <bsd.port.mk> |