- Update to 2.3.1

PR:	153121
Submitted by:	Mikhail T. <m.tsatsenko at mail.ru>
This commit is contained in:
Jose Alonso Cardenas Marquez 2010-12-13 17:37:45 +00:00
parent 08acd2a9c3
commit cb7e1cf64a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266240
6 changed files with 9 additions and 40 deletions

View File

@ -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-

View File

@ -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

View File

@ -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|' \

View File

@ -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

View File

@ -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)

View File

@ -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"