View | Details | Raw Unified | Return to bug 153121
Collapse All | Expand All

(-)ufoai/Makefile (-4 / +6 lines)
Lines 2-13 Link Here
2
# Date created:		2006-09-03
2
# Date created:		2006-09-03
3
# Whom:			Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
3
# Whom:			Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
4
#
4
#
5
# $FreeBSD: ports/games/ufoai/Makefile,v 1.28 2010/10/16 11:52:07 ade Exp $
5
# $FreeBSD: ports/games/ufoai/Makefile,v 1.29 2010/12/04 07:31:50 ade Exp $
6
#
6
#
7
7
8
PORTNAME=	ufoai
8
PORTNAME=	ufoai
9
PORTVERSION=	2.3
9
PORTVERSION=	2.3.1
10
PORTREVISION=	1
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	SF/${PORTNAME}/UFO_AI%202.x/${PORTVERSION}
11
MASTER_SITES=	SF/${PORTNAME}/UFO_AI%202.x/${PORTVERSION}
13
DISTNAME=	${PORTNAME:S/$/-/}${PORTVERSION}-source
12
DISTNAME=	${PORTNAME:S/$/-/}${PORTVERSION}-source
Lines 25-31 Link Here
25
		xvidcore.4:${PORTSDIR}/multimedia/xvid
24
		xvidcore.4:${PORTSDIR}/multimedia/xvid
26
RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME}/base/default.cfg:${PORTSDIR}/games/ufoai-data
25
RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME}/base/default.cfg:${PORTSDIR}/games/ufoai-data
27
26
28
USE_AUTOTOOLS=	aclocal:111 autoconf:268
27
USE_AUTOTOOLS=	aclocal autoconf
29
USE_BZIP2=	yes
28
USE_BZIP2=	yes
30
USE_GL=		yes
29
USE_GL=		yes
31
USE_SDL=	sdl image mixer ttf
30
USE_SDL=	sdl image mixer ttf
Lines 81-86 Link Here
81
PLIST_SUB+=	UFORADIANT="@comment "
80
PLIST_SUB+=	UFORADIANT="@comment "
82
.endif
81
.endif
83
82
83
post-extract:
84
# Create missing base dir
85
	@${MKDIR} ${WRKSRC}/base
84
# Resolve name collision with jpeg-8 amd API png
86
# Resolve name collision with jpeg-8 amd API png
85
post-patch:
87
post-patch:
86
	${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
88
	${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
(-)ufoai/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (ufoai/ufoai-2.3-source.tar.bz2) = 9d180ed896a58fe0e514601cd7637dc1
1
SHA256 (ufoai/ufoai-2.3.1-source.tar.bz2) = 6f9fbe69c91843b48fc29efa3a3584aa2659b78be1a6a00d5868c5d77fec69d1
2
SHA256 (ufoai/ufoai-2.3-source.tar.bz2) = e9c231117b779bab94bcd82c6bbf2051b2b310d7a13eb4bba10085ce0b0e64dd
2
SIZE (ufoai/ufoai-2.3.1-source.tar.bz2) = 9847575
3
SIZE (ufoai/ufoai-2.3-source.tar.bz2) = 9839841
(-)ufoai/files/patch-build-platform_specific.mk (-10 lines)
Lines 1-10 Link Here
1
--- build/platform_specific.mk	2010-08-12 03:25:05.000000000 -0500
2
+++ build/platform_specific.mk	2010-08-12 03:25:19.000000000 -0500
3
@@ -55,6 +55,7 @@
4
 # FreeBSD like
5
 ifeq ($(TARGET_OS),freebsd)
6
 	CFLAGS+=-D_BSD_SOURCE -D_XOPEN_SOURCE
7
+	LDFLAGS+=-lexecinfo
8
 endif
9
 
10
 ifeq ($(TARGET_OS),netbsd)
(-)ufoai/files/patch-configure.ac (-21 lines)
Lines 1-21 Link Here
1
--- configure.ac	2010-08-12 02:24:51.000000000 -0500
2
+++ configure.ac	2010-08-12 02:26:11.000000000 -0500
3
@@ -21,6 +21,9 @@
4
 	cygwin*)
5
 		AC_MSG_RESULT([Win32 (cygwin)])
6
 		;;
7
+        freebsd*)
8
+                AC_MSG_RESULT([UNIX (FreeBSD)])
9
+                ;;
10
 	openbsd*)
11
 		AC_MSG_RESULT([UNIX (OpenBSD)])
12
 		;;
13
@@ -186,7 +189,7 @@
14
 #---------------------------------------------------------------------------------------------
15
 
16
 AC_MSG_CHECKING([target CPU])
17
-if test "$target_cpu" = "x86_64"
18
+if test "$target_cpu" = "x86_64" || test "$target_cpu" = "amd64" || test "$target_cpu" = "ia64"
19
 then
20
 	AC_SUBST([TARGET_CPU],[x86_64])
21
 elif test "$target_cpu" = "i386" || test "$target_cpu" = "i486" || test "$target_cpu" = "i586" || test "$target_cpu" = "i686"
(-)ufoai-data/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	data
8
PORTNAME=	data
9
PORTVERSION=	2.3
9
PORTVERSION=	2.3.1
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	SF/ufoai/UFO_AI%202.x/${PORTVERSION}
11
MASTER_SITES=	SF/ufoai/UFO_AI%202.x/${PORTVERSION}
12
PKGNAMEPREFIX=	ufoai-
12
PKGNAMEPREFIX=	ufoai-
(-)ufoai-data/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (ufoai/ufoai-2.3-data.tar) = 08fa6d5c80231468c4d5e886600c8dcf
1
SHA256 (ufoai/ufoai-2.3.1-data.tar) = 79b302351d22ea55e1d5c2fceed757a518908673c12ac3e7972f541f68c2a9ad
2
SHA256 (ufoai/ufoai-2.3-data.tar) = 0e535ce268e9a9ae08cee9b8b62ffed055bdb3182f86bf5c429ec4c54c9fa224
2
SIZE (ufoai/ufoai-2.3.1-data.tar) = 533196800
3
SIZE (ufoai/ufoai-2.3-data.tar) = 529571840

Return to bug 153121