aboutsummaryrefslogtreecommitdiff
path: root/games/ufoai
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-12-13 17:37:45 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-12-13 17:37:45 +0000
commitcb7e1cf64acc555a7a4537daff70520905d4f52b (patch)
treea07a50d68c2454877ac166808677fa1f517176f4 /games/ufoai
parent08acd2a9c3f538cdede6e078989227353e60b023 (diff)
downloadports-cb7e1cf64acc555a7a4537daff70520905d4f52b.tar.gz
ports-cb7e1cf64acc555a7a4537daff70520905d4f52b.zip
Notes
Diffstat (limited to 'games/ufoai')
-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
4 files changed, 6 insertions, 36 deletions
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"