aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/ufoai-data/Makefile2
-rw-r--r--games/ufoai-data/distinfo5
-rw-r--r--games/ufoai/Makefile6
-rw-r--r--games/ufoai/distinfo5
-rw-r--r--games/ufoai/files/patch-build-platform_specific.mk10
-rw-r--r--games/ufoai/files/patch-configure.ac21
6 files changed, 9 insertions, 40 deletions
diff --git a/games/ufoai-data/Makefile b/games/ufoai-data/Makefile
index ed69f3f4c950..5245569b9b2f 100644
--- a/games/ufoai-data/Makefile
+++ b/games/ufoai-data/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= data
-PORTVERSION= 2.3
+PORTVERSION= 2.3.1
CATEGORIES= games
MASTER_SITES= SF/ufoai/UFO_AI%202.x/${PORTVERSION}
PKGNAMEPREFIX= ufoai-
diff --git a/games/ufoai-data/distinfo b/games/ufoai-data/distinfo
index 27b4083f794a..7cdcc7517e0c 100644
--- a/games/ufoai-data/distinfo
+++ b/games/ufoai-data/distinfo
@@ -1,3 +1,2 @@
-MD5 (ufoai/ufoai-2.3-data.tar) = 08fa6d5c80231468c4d5e886600c8dcf
-SHA256 (ufoai/ufoai-2.3-data.tar) = 0e535ce268e9a9ae08cee9b8b62ffed055bdb3182f86bf5c429ec4c54c9fa224
-SIZE (ufoai/ufoai-2.3-data.tar) = 529571840
+SHA256 (ufoai/ufoai-2.3.1-data.tar) = 79b302351d22ea55e1d5c2fceed757a518908673c12ac3e7972f541f68c2a9ad
+SIZE (ufoai/ufoai-2.3.1-data.tar) = 533196800
diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile
index 01d6ebee3494..d89c133f40a2 100644
--- a/games/ufoai/Makefile
+++ b/games/ufoai/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ufoai
-PORTVERSION= 2.3
-PORTREVISION= 1
+PORTVERSION= 2.3.1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/UFO_AI%202.x/${PORTVERSION}
DISTNAME= ${PORTNAME:S/$/-/}${PORTVERSION}-source
@@ -81,6 +80,9 @@ CONFIGURE_ARGS+=--disable-uforadiant
PLIST_SUB+= UFORADIANT="@comment "
.endif
+post-extract:
+ @${MKDIR} ${WRKSRC}/base/maps ${WRKSRC}/base/models
+
# Resolve name collision with jpeg-8 amd API png
post-patch:
${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
diff --git a/games/ufoai/distinfo b/games/ufoai/distinfo
index ed19580a7b1d..546d5f93d4ba 100644
--- a/games/ufoai/distinfo
+++ b/games/ufoai/distinfo
@@ -1,3 +1,2 @@
-MD5 (ufoai/ufoai-2.3-source.tar.bz2) = 9d180ed896a58fe0e514601cd7637dc1
-SHA256 (ufoai/ufoai-2.3-source.tar.bz2) = e9c231117b779bab94bcd82c6bbf2051b2b310d7a13eb4bba10085ce0b0e64dd
-SIZE (ufoai/ufoai-2.3-source.tar.bz2) = 9839841
+SHA256 (ufoai/ufoai-2.3.1-source.tar.bz2) = 6f9fbe69c91843b48fc29efa3a3584aa2659b78be1a6a00d5868c5d77fec69d1
+SIZE (ufoai/ufoai-2.3.1-source.tar.bz2) = 9847575
diff --git a/games/ufoai/files/patch-build-platform_specific.mk b/games/ufoai/files/patch-build-platform_specific.mk
deleted file mode 100644
index 48fbe10fdbf4..000000000000
--- a/games/ufoai/files/patch-build-platform_specific.mk
+++ /dev/null
@@ -1,10 +0,0 @@
---- build/platform_specific.mk 2010-08-12 03:25:05.000000000 -0500
-+++ build/platform_specific.mk 2010-08-12 03:25:19.000000000 -0500
-@@ -55,6 +55,7 @@
- # FreeBSD like
- ifeq ($(TARGET_OS),freebsd)
- CFLAGS+=-D_BSD_SOURCE -D_XOPEN_SOURCE
-+ LDFLAGS+=-lexecinfo
- endif
-
- ifeq ($(TARGET_OS),netbsd)
diff --git a/games/ufoai/files/patch-configure.ac b/games/ufoai/files/patch-configure.ac
deleted file mode 100644
index 2ef89933af1c..000000000000
--- a/games/ufoai/files/patch-configure.ac
+++ /dev/null
@@ -1,21 +0,0 @@
---- configure.ac 2010-08-12 02:24:51.000000000 -0500
-+++ configure.ac 2010-08-12 02:26:11.000000000 -0500
-@@ -21,6 +21,9 @@
- cygwin*)
- AC_MSG_RESULT([Win32 (cygwin)])
- ;;
-+ freebsd*)
-+ AC_MSG_RESULT([UNIX (FreeBSD)])
-+ ;;
- openbsd*)
- AC_MSG_RESULT([UNIX (OpenBSD)])
- ;;
-@@ -186,7 +189,7 @@
- #---------------------------------------------------------------------------------------------
-
- AC_MSG_CHECKING([target CPU])
--if test "$target_cpu" = "x86_64"
-+if test "$target_cpu" = "x86_64" || test "$target_cpu" = "amd64" || test "$target_cpu" = "ia64"
- then
- AC_SUBST([TARGET_CPU],[x86_64])
- elif test "$target_cpu" = "i386" || test "$target_cpu" = "i486" || test "$target_cpu" = "i586" || test "$target_cpu" = "i686"