aboutsummaryrefslogtreecommitdiff
path: root/games/linux-nwnclient
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-12-21 11:30:30 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-12-21 11:30:30 +0000
commite6fb5f3600da6fdff34ce0d08e88fc6212ae8203 (patch)
treec2e34e53d9bbc8657a476bdae4dfcd0765acb2ba /games/linux-nwnclient
parent742f0ba96470ddd59d147778787d353348804347 (diff)
downloadports-e6fb5f3600da6fdff34ce0d08e88fc6212ae8203.tar.gz
ports-e6fb5f3600da6fdff34ce0d08e88fc6212ae8203.zip
Notes
Diffstat (limited to 'games/linux-nwnclient')
-rw-r--r--games/linux-nwnclient/Makefile12
-rw-r--r--games/linux-nwnclient/distinfo4
-rw-r--r--games/linux-nwnclient/pkg-plist2
3 files changed, 10 insertions, 8 deletions
diff --git a/games/linux-nwnclient/Makefile b/games/linux-nwnclient/Makefile
index 2956f2b585cd..dc993d5984e8 100644
--- a/games/linux-nwnclient/Makefile
+++ b/games/linux-nwnclient/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= nwnclient
-PKGNAMEPREFIX= linux-
-PORTVERSION= 1.62
+PORTVERSION= 1.65
CATEGORIES= games linux
-MASTER_SITES= http://nwdownloads.bioware.com/neverwinternights/linux/${PORTVERSION:S/.//}/ \
- http://nwdownloads.bioware.com/neverwinternights/linux/129/
+MASTER_SITES= http://content.bioware.com/neverwinternights/linux/${PORTVERSION:S/.//}/
+PKGNAMEPREFIX= linux-
DISTFILES= nwclient129.tar.gz \
- linuxclientupdate129to${PORTVERSION:S/.//}eng.tar.gz
+ linuxclientupdate1xxto${PORTVERSION:S/.//}eng.tar.gz
MAINTAINER= des@FreeBSD.org
COMMENT= Neverwinter Nights Linux (x86) Client
@@ -26,6 +25,8 @@ NO_BUILD= yes
ONLY_FOR_ARCHS= i386
NWNDATADIR= ${LOCALBASE}/share/nwndata
+PLIST_SUB+= NWNVERSION="${PORTVERSION:S/.//}"
+
do-extract:
${MKDIR} ${WRKSRC}
.for _distfile in ${DISTFILES}
@@ -45,6 +46,7 @@ do-install:
${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>
diff --git a/games/linux-nwnclient/distinfo b/games/linux-nwnclient/distinfo
index c7197e846ea4..f30e983678b0 100644
--- a/games/linux-nwnclient/distinfo
+++ b/games/linux-nwnclient/distinfo
@@ -1,4 +1,4 @@
MD5 (nwclient129.tar.gz) = 73c6515fd6aa5f860802098a55000ae8
SIZE (nwclient129.tar.gz) = 5504342
-MD5 (linuxclientupdate129to162eng.tar.gz) = 89f373e0a5e0042912a3a214ebf4436b
-SIZE (linuxclientupdate129to162eng.tar.gz) = 71917130
+MD5 (linuxclientupdate1xxto165eng.tar.gz) = 920e498efc0763b6a4f03d22ad689db7
+SIZE (linuxclientupdate1xxto165eng.tar.gz) = 80623755
diff --git a/games/linux-nwnclient/pkg-plist b/games/linux-nwnclient/pkg-plist
index 3bf9d785a115..acc1e159e075 100644
--- a/games/linux-nwnclient/pkg-plist
+++ b/games/linux-nwnclient/pkg-plist
@@ -1,6 +1,6 @@
bin/nwn
%%DATADIR%%/EULA.txt
-%%DATADIR%%/NWNv162.txt
+%%DATADIR%%/NWNv%%NWNVERSION%%.txt
%%DATADIR%%/data/patch.bif
%%DATADIR%%/dialog.tlk
%%DATADIR%%/dmclient