freebsd-ports/games/linux-nwnclient/Makefile
Dag-Erling Smørgrav e6fb5f3600 Upgrade to 1.65. A list of bugs fixed since 1.62 can be found here:
http://nwn.bioware.com/support/patchdetails164.html
http://nwn.bioware.com/support/patchdetails165.html

(there is no version 1.63)

PR:		ports/74639
Submitted by:	Sean Farley <sean-freebsd@farley.org>
2004-12-21 11:30:30 +00:00

52 lines
1.6 KiB
Makefile

# New ports collection makefile for: linux_nwnclient
# Date created: 1 April 2003
# Whom: Erik Olson <erikolson@olsonexpress.com>
#
# $FreeBSD$
#
PORTNAME= nwnclient
PORTVERSION= 1.65
CATEGORIES= games linux
MASTER_SITES= http://content.bioware.com/neverwinternights/linux/${PORTVERSION:S/.//}/
PKGNAMEPREFIX= linux-
DISTFILES= nwclient129.tar.gz \
linuxclientupdate1xxto${PORTVERSION:S/.//}eng.tar.gz
MAINTAINER= des@FreeBSD.org
COMMENT= Neverwinter Nights Linux (x86) Client
RUN_DEPENDS= ${LOCALBASE}/share/nwndata/NWNv129.txt:${PORTSDIR}/games/nwndata \
${LINUXBASE}/usr/X11R6/lib/libGL.so.1.2:${PORTSDIR}/graphics/linux_dri \
${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
USE_LINUX= yes
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
NWNDATADIR= ${LOCALBASE}/share/nwndata
PLIST_SUB+= NWNVERSION="${PORTVERSION:S/.//}"
do-extract:
${MKDIR} ${WRKSRC}
.for _distfile in ${DISTFILES}
(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${_distfile} ${EXTRACT_AFTER_ARGS})
.endfor
${RM} ${WRKSRC}/lib/libSDL* ${WRKSRC}/fixinstall ${WRKSRC}/nwn
do-configure:
${SED} -e 's|%%NWNDATADIR%%|${NWNDATADIR}|' \
-e 's|%%NWNCLIENTDIR%%|${DATADIR}|' \
<${FILESDIR}/nwn.sh >${WRKDIR}/nwn
do-install:
${MKDIR} ${DATADIR}
(cd ${WRKSRC} && ${FIND} . -print | \
${CPIO} -pdmuv -R${SHAREOWN}:${SHAREGRP} ${DATADIR})
${LN} -s ${LINUXBASE}/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so \
${DATADIR}/lib/libstdc++-libc6.1-2.so.3
${CHMOD} -R a+r ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/nwn ${PREFIX}/bin/
.include <bsd.port.mk>