aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-08-09 21:19:52 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-08-09 21:19:52 +0800
commit1530f0664cf97e23b11fea5e6be8e015ebe3b4c8 (patch)
tree3342c69bd7d3bd4d42a7d8a0d5bdeef168393405
parent1c81fe3d65d89ec9e93f0cea9f106515fc76e954 (diff)
downloadfreebsd-ports-graphics-1530f0664cf97e23b11fea5e6be8e015ebe3b4c8.tar.gz
freebsd-ports-graphics-1530f0664cf97e23b11fea5e6be8e015ebe3b4c8.tar.zst
freebsd-ports-graphics-1530f0664cf97e23b11fea5e6be8e015ebe3b4c8.zip
- Fix MASTER_SITES
- Chase rerolled tarball (difference is one renamed file): Old: %%HW_MODS%%%%DATADIR%%/rk/models/sk-thr~1.mdl New: %%HW_MODS%%%%DATADIR%%/rk/models/sk-throne.mdl PR: 159460 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--games/uhexen2-extras/Makefile24
-rw-r--r--games/uhexen2-extras/distinfo4
-rw-r--r--games/uhexen2-extras/pkg-plist2
3 files changed, 16 insertions, 14 deletions
diff --git a/games/uhexen2-extras/Makefile b/games/uhexen2-extras/Makefile
index e9e2285d5b1..77a662be164 100644
--- a/games/uhexen2-extras/Makefile
+++ b/games/uhexen2-extras/Makefile
@@ -7,7 +7,7 @@
PORTNAME= uhexen2
PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/HoT%20-%20Other%20content/extra%20data
PKGNAMESUFFIX= -extras
@@ -44,20 +44,22 @@ PLIST_SUB+= HEXEN2_LITS="@comment "
.endif
.if defined(WITH_HEXEN2_MODS)
-DISTFILES+= apocbot-0.2.0${EXTRACT_SUFX} \
- fo4d${EXTRACT_SUFX} \
- hcbots-1.0.4${EXTRACT_SUFX}
+MASTER_SITES+= SF/${PORTNAME}/HoT%20-%20Other%20content/hexen2%20mods:mods
+DISTFILES+= apocbot-0.2.0${EXTRACT_SUFX}:mods \
+ fo4d${EXTRACT_SUFX}:mods \
+ hcbots-1.0.4${EXTRACT_SUFX}:mods
PLIST_SUB+= HEXEN2_MODS=""
.else
PLIST_SUB+= HEXEN2_MODS="@comment "
.endif
.if defined(WITH_HW_MODS)
-DISTFILES+= dungeonbreak${EXTRACT_SUFX} \
- hexarena${EXTRACT_SUFX} \
- hwctf${EXTRACT_SUFX} \
- rivalkingdoms${EXTRACT_SUFX} \
- siege${EXTRACT_SUFX}
+MASTER_SITES+= SF/${PORTNAME}/HoT%20-%20Other%20content/hexenworld%20mods:hw_mods
+DISTFILES+= dungeonbreak${EXTRACT_SUFX}:hw_mods \
+ hexarena${EXTRACT_SUFX}:hw_mods \
+ hwctf${EXTRACT_SUFX}:hw_mods \
+ rivalkingdoms${EXTRACT_SUFX}:hw_mods \
+ siege${EXTRACT_SUFX}:hw_mods
PLIST_SUB+= HW_MODS=""
.else
PLIST_SUB+= HW_MODS="@comment "
@@ -77,12 +79,12 @@ do-install:
.endif
.if defined(WITH_HEXEN2_MODS)
.for f in apocbot fo4d hcbots
- ${CP} -R ${WRKDIR}/${f} ${DATADIR}
+ @(cd ${WRKDIR} && ${COPYTREE_SHARE} ${f} ${DATADIR})
.endfor
.endif
.if defined(WITH_HW_MODS)
.for f in db hexarena hwctf rk siege
- ${CP} -R ${WRKDIR}/${f} ${DATADIR}
+ @(cd ${WRKDIR} && ${COPYTREE_SHARE} ${f} ${DATADIR})
.endfor
.for f in hexarena hwctf rk siege
${INSTALL_DATA} ${WRKDIR}/data1/${f}.cfg ${DATADIR}/data1
diff --git a/games/uhexen2-extras/distinfo b/games/uhexen2-extras/distinfo
index 004ddad0e92..cb6d72f3e88 100644
--- a/games/uhexen2-extras/distinfo
+++ b/games/uhexen2-extras/distinfo
@@ -6,8 +6,8 @@ SHA256 (uhexen2/hexarena.tgz) = 404327b040a52d26e6dc3497e72f1b7b88c73028cf1d4ba2
SIZE (uhexen2/hexarena.tgz) = 4537611
SHA256 (uhexen2/hwctf.tgz) = fdd42d88a2f9fbda1dc0c237251112d1be222801f4c4c71a64073af7b28a85b2
SIZE (uhexen2/hwctf.tgz) = 9171004
-SHA256 (uhexen2/rivalkingdoms.tgz) = 42859155e4885ad6c65b87c9fbd8a04f9eb29e810916473f177eeb15676c6733
-SIZE (uhexen2/rivalkingdoms.tgz) = 12034886
+SHA256 (uhexen2/rivalkingdoms.tgz) = c87c8e4dba2aa410fbe37766303659081bd226932b2ecc9b754d4e481d92e1e2
+SIZE (uhexen2/rivalkingdoms.tgz) = 12026172
SHA256 (uhexen2/siege.tgz) = 00e0fe0cc41ed26c2af230f3cfb36d38a577fffc42436a597703827f9548c004
SIZE (uhexen2/siege.tgz) = 8616438
SHA256 (uhexen2/hexen2-lit_files.tgz) = 1932cba4af209c7b3a9ee89f1e985297ccc8daaf1ad3c0e3b71bccee14593100
diff --git a/games/uhexen2-extras/pkg-plist b/games/uhexen2-extras/pkg-plist
index 8b9f7ab55e6..21417d4e40b 100644
--- a/games/uhexen2-extras/pkg-plist
+++ b/games/uhexen2-extras/pkg-plist
@@ -498,7 +498,7 @@
%%HW_MODS%%%%DATADIR%%/rk/models/ripple.mdl
%%HW_MODS%%%%DATADIR%%/rk/models/ripple.spr
%%HW_MODS%%%%DATADIR%%/rk/models/samurai.mdl
-%%HW_MODS%%%%DATADIR%%/rk/models/sk-thr~1.mdl
+%%HW_MODS%%%%DATADIR%%/rk/models/sk-throne.mdl
%%HW_MODS%%%%DATADIR%%/rk/models/snowcrnr.mdl
%%HW_MODS%%%%DATADIR%%/rk/models/snowpile.mdl
%%HW_MODS%%%%DATADIR%%/rk/models/stchain.mdl