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

(-)games/adgali/Makefile (-13 / +11 lines)
Lines 7-39 Link Here
7
#
7
#
8
8
9
PORTNAME=	adgali
9
PORTNAME=	adgali
10
PORTVERSION=	0.1.0
10
PORTVERSION=	0.2.2
11
PORTREVISION=	1
12
CATEGORIES=	games devel
11
CATEGORIES=	games devel
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	http://savannah.nongnu.org/download/adgali/
14
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
15
14
16
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	An open source game library useful for 2D games programmation
16
COMMENT=	An open source game library useful for 2D games programmation
18
17
19
LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
18
LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
20
		jpeg:${PORTSDIR}/graphics/jpeg \
19
		jpeg.9:${PORTSDIR}/graphics/jpeg \
21
		tiff:${PORTSDIR}/graphics/tiff \
20
		png.5:${PORTSDIR}/graphics/png \
22
		png:${PORTSDIR}/graphics/png \
21
		tiff.4:${PORTSDIR}/graphics/tiff \
23
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
22
		freetype.9:${PORTSDIR}/print/freetype2
24
23
25
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
24
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
26
25
26
USE_GNOME=	gnometarget
27
USE_REINPLACE=	yes
27
USE_REINPLACE=	yes
28
USE_FREETYPE=	yes
29
USE_GMAKE=	yes
28
USE_GMAKE=	yes
30
USE_LIBTOOL=	yes
29
USE_LIBTOOL=	yes
31
LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
30
LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
32
CONFIGURE_ENV=	SDL_CONFIG=${SDL_CONFIG} \
31
CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}" \
33
		CPPFLAGS="-I${LOCALBASE}/include/freetype1 \
32
		CPPFLAGS="-I${LOCALBASE}/include" \
34
			  -I${LOCALBASE}/include" \
35
		LDFLAGS="-L${LOCALBASE}/lib"
33
		LDFLAGS="-L${LOCALBASE}/lib"
36
CONFIGURE_ARGS=	--enable-compile-type=optim
37
INSTALLS_SHLIB=	yes
34
INSTALLS_SHLIB=	yes
38
35
39
post-patch:
36
post-patch:
Lines 42-48 Link Here
42
post-install:
39
post-install:
43
.if !defined(NOPORTDOCS)
40
.if !defined(NOPORTDOCS)
44
	@${MKDIR} ${DOCSDIR}
41
	@${MKDIR} ${DOCSDIR}
45
	${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
42
	cd ${WRKSRC}/doc/html && ${FIND} . | \
43
		cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
46
.endif
44
.endif
47
45
48
.include <bsd.port.mk>
46
.include <bsd.port.mk>
(-)games/adgali/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (adgali-0.1.0.tar.gz) = 3b2da9d88437260710623c37111812de
1
MD5 (adgali-0.2.2.tar.gz) = 941207803fc4772c34889bf68fb77373
(-)games/adgali/files/patch-configure (+10 lines)
Line 0 Link Here
1
--- configure.orig	Fri May 23 02:22:11 2003
2
+++ configure	Sat Jun 21 15:20:22 2003
3
@@ -7893,6 +7893,7 @@
4
 
5
 # This can be used to rebuild libtool when needed
6
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
8
 
9
 # Always use our own libtool.
10
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
(-)games/adgali/files/patch-src::core::agl_subr.c (+22 lines)
Line 0 Link Here
1
--- src/core/agl_subr.c.orig	Sun May  4 07:20:06 2003
2
+++ src/core/agl_subr.c	Sat Jun 21 14:56:41 2003
3
@@ -103,8 +103,7 @@
4
 					type = NUMBER_TOKEN;
5
 					break;
6
 				default:
7
-					if isdigit
8
-						(c)
9
+					if (isdigit(c))
10
 					{
11
 						type = INT_TOKEN;
12
 						uval = c - '0';
13
@@ -120,8 +119,7 @@
14
 				}
15
 				else
16
 				{
17
-					if isdigit
18
-						(c)
19
+					if (isdigit(c))
20
 					{
21
 						type = INT_TOKEN;
22
 						uval = c - '0';
(-)games/adgali/files/patch-src::manage::agl_gramcode.c (+22 lines)
Line 0 Link Here
1
--- src/manage/agl_gramcode.c.orig	Thu Apr 17 06:15:13 2003
2
+++ src/manage/agl_gramcode.c	Sat Jun 21 14:55:49 2003
3
@@ -465,8 +465,7 @@
4
 					type = SKIP_TOKEN;
5
 					break;
6
 				default:
7
-					if isdigit
8
-						(c)
9
+					if (isdigit(c))
10
 					{
11
 						type = INT_TOKEN;
12
 						uval = c - '0';
13
@@ -600,8 +599,7 @@
14
 				}
15
 				else
16
 				{
17
-					if isdigit
18
-						(c)
19
+					if (isdigit(c))
20
 					{
21
 						type = INT_TOKEN;
22
 						uval = c - '0';
(-)games/adgali/files/patch-tools::agl_bfont.c (+10 lines)
Line 0 Link Here
1
--- tools/agl_bfont.c.orig	Sun May 11 02:44:58 2003
2
+++ tools/agl_bfont.c	Sat Jun 21 15:18:43 2003
3
@@ -40,7 +40,6 @@
4
 #include <sys/types.h>
5
 #include <sys/time.h>
6
 #include <unistd.h>
7
-#include <getopt.h>
8
 #include <string.h>
9
 #include <ctype.h>
10
 #include "../config.h"
(-)games/adgali/pkg-descr (-1 / +1 lines)
Lines 6-9 Link Here
6
game GUI, sound events and music, generic AI engine, network management and
6
game GUI, sound events and music, generic AI engine, network management and
7
video streaming. 
7
video streaming. 
8
8
9
WWW: http://adgali.sourceforge.net/
9
WWW: http://www.nongnu.org/adgali/
(-)games/adgali/pkg-plist (-19 / +4 lines)
Lines 1-9 Link Here
1
bin/adgali-config
1
bin/adgali-config
2
bin/create_font
2
bin/agl_bfont
3
bin/create_imglist
4
include/agl.h
3
include/agl.h
4
include/agl_endian.h
5
include/agl_gui.h
5
include/agl_gui.h
6
include/agl_ios.h
6
include/agl_ios.h
7
include/agl_object.h
7
include/agl_video.h
8
include/agl_video.h
8
lib/libagl.a
9
lib/libagl.a
9
lib/libagl.so
10
lib/libagl.so
Lines 17-36 Link Here
17
%%PORTDOCS%%share/doc/adgali/annotated.html
18
%%PORTDOCS%%share/doc/adgali/annotated.html
18
%%PORTDOCS%%share/doc/adgali/classes.html
19
%%PORTDOCS%%share/doc/adgali/classes.html
19
%%PORTDOCS%%share/doc/adgali/doxygen.css
20
%%PORTDOCS%%share/doc/adgali/doxygen.css
20
%%PORTDOCS%%share/doc/adgali/doxygen.gif
21
%%PORTDOCS%%share/doc/adgali/doxygen.png
21
%%PORTDOCS%%share/doc/adgali/files.html
22
%%PORTDOCS%%share/doc/adgali/files.html
22
%%PORTDOCS%%share/doc/adgali/ftv2blank.gif
23
%%PORTDOCS%%share/doc/adgali/ftv2doc.gif
24
%%PORTDOCS%%share/doc/adgali/ftv2folderclosed.gif
25
%%PORTDOCS%%share/doc/adgali/ftv2folderopen.gif
26
%%PORTDOCS%%share/doc/adgali/ftv2lastnode.gif
27
%%PORTDOCS%%share/doc/adgali/ftv2link.gif
28
%%PORTDOCS%%share/doc/adgali/ftv2mlastnode.gif
29
%%PORTDOCS%%share/doc/adgali/ftv2mnode.gif
30
%%PORTDOCS%%share/doc/adgali/ftv2node.gif
31
%%PORTDOCS%%share/doc/adgali/ftv2plastnode.gif
32
%%PORTDOCS%%share/doc/adgali/ftv2pnode.gif
33
%%PORTDOCS%%share/doc/adgali/ftv2vertline.gif
34
%%PORTDOCS%%share/doc/adgali/functions.html
23
%%PORTDOCS%%share/doc/adgali/functions.html
35
%%PORTDOCS%%share/doc/adgali/globals.html
24
%%PORTDOCS%%share/doc/adgali/globals.html
36
%%PORTDOCS%%share/doc/adgali/graph_legend.dot
25
%%PORTDOCS%%share/doc/adgali/graph_legend.dot
Lines 40-46 Link Here
40
%%PORTDOCS%%share/doc/adgali/index.hhk
29
%%PORTDOCS%%share/doc/adgali/index.hhk
41
%%PORTDOCS%%share/doc/adgali/index.hhp
30
%%PORTDOCS%%share/doc/adgali/index.hhp
42
%%PORTDOCS%%share/doc/adgali/index.html
31
%%PORTDOCS%%share/doc/adgali/index.html
43
%%PORTDOCS%%share/doc/adgali/main.html
44
%%PORTDOCS%%share/doc/adgali/structagl__channel.html
32
%%PORTDOCS%%share/doc/adgali/structagl__channel.html
45
%%PORTDOCS%%share/doc/adgali/structagl__channel__coll__graph.gif
33
%%PORTDOCS%%share/doc/adgali/structagl__channel__coll__graph.gif
46
%%PORTDOCS%%share/doc/adgali/structagl__ios.html
34
%%PORTDOCS%%share/doc/adgali/structagl__ios.html
Lines 49-55 Link Here
49
%%PORTDOCS%%share/doc/adgali/structagl__pos.html
37
%%PORTDOCS%%share/doc/adgali/structagl__pos.html
50
%%PORTDOCS%%share/doc/adgali/structagl__rect.html
38
%%PORTDOCS%%share/doc/adgali/structagl__rect.html
51
%%PORTDOCS%%share/doc/adgali/structagl__size.html
39
%%PORTDOCS%%share/doc/adgali/structagl__size.html
52
%%PORTDOCS%%share/doc/adgali/tree.html
53
%%PORTDOCS%%share/doc/adgali/tree.js
54
%%PORTDOCS%%share/doc/adgali/treeview.js
55
%%PORTDOCS%%@dirrm share/doc/adgali
40
%%PORTDOCS%%@dirrm share/doc/adgali

Return to bug 53580