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

(-)Makefile (-7 / +20 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	gigi
8
PORTNAME=	gigi
9
PORTVERSION=	0.6.0.20071206
9
PORTVERSION=	0.7.0
10
PORTREVISION=	2
11
CATEGORIES=	x11-toolkits
10
CATEGORIES=	x11-toolkits
12
MASTER_SITES=	ftp://ftp.alepulver.com.ar/distfiles/
11
MASTER_SITES=	SF
12
DISTNAME=	GG-${PORTVERSION}
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	OpenGL Graphic User Interface Library
15
COMMENT=	OpenGL Graphic User Interface Library
Lines 18-29 Link Here
18
		boost_python.4:${PORTSDIR}/devel/boost-python \
18
		boost_python.4:${PORTSDIR}/devel/boost-python \
19
		freetype.9:${PORTSDIR}/print/freetype2
19
		freetype.9:${PORTSDIR}/print/freetype2
20
20
21
USE_BZIP2=	yes
22
USE_SCONS=	yes
21
USE_SCONS=	yes
23
SCONS_ARGS=	prefix="" pkgconfigdir=""
22
SCONS_ARGS=	prefix="" pkgconfigdir=""
24
USE_SDL=	sdl
23
USE_SDL=	sdl
25
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
26
WRKSRC=		${WRKDIR}/${PORTNAME}/GG
27
# Ensure local headers are found first, otherwise updating would fail.
25
# Ensure local headers are found first, otherwise updating would fail.
28
CFLAGS+=	-I.
26
CFLAGS+=	-I.
29
27
Lines 36-43 Link Here
36
.include <bsd.port.pre.mk>
34
.include <bsd.port.pre.mk>
37
35
38
.if defined(WITH_OGRE)
36
.if defined(WITH_OGRE)
39
BUILD_DEPENDS+=	${LOCALBASE}/lib/libOgreMain.so:${PORTSDIR}/graphics/ogre3d
37
BUILD_DEPENDS+=	${LOCALBASE}/lib/libOgreMain.so:${PORTSDIR}/graphics/ogre3d \
40
RUN_DEPENDS+=	${LOCALBASE}/lib/libOgreMain.so:${PORTSDIR}/graphics/ogre3d
38
		${LOCALBASE}/lib/libOIS.so:${PORTSDIR}/devel/ois
39
RUN_DEPENDS+=	${LOCALBASE}/lib/libOgreMain.so:${PORTSDIR}/graphics/ogre3d \
40
		${LOCALBASE}/lib/libOIS.so:${PORTSDIR}/devel/ois
41
PLIST_SUB+=	OGRE=""
41
PLIST_SUB+=	OGRE=""
42
GIGI_LIBS+=	GiGiOgre
42
GIGI_LIBS+=	GiGiOgre
43
.else
43
.else
Lines 49-54 Link Here
49
BROKEN=		Does not compile
49
BROKEN=		Does not compile
50
.endif
50
.endif
51
51
52
post-patch:
53
	æ${REINPLACE_CMD} -E 's|#include <boost/serialization/is_abstract.hpp>||g; \
54
		s|BOOST_IS_ABSTRACT.*||g' \
55
		${WRKSRC}/GG/BrowseInfoWnd.h \
56
		${WRKSRC}/GG/Control.h
57
	@rm -f ${WRKSRC}/GG/BrowseInfoWnd.h.bak ${WRKSRC}/GG/Control.h.bak
58
	æ${REINPLACE_CMD} -E 's|system_error\(\) == EIO|code\(\) == boost::system::posix_error::io_error|g; \
59
		s|filesystem/cerrno|system/system_error|g' \
60
		${WRKSRC}/src/dialogs/FileDlg.cpp
61
# for graphics/ogre3d version 1.6.x
62
#	${REINPLACE_CMD} -E 's|CMPF_ALWAYS_PASS, 0)|CMPF_ALWAYS_PASS, 0, false)|g' \
63
#		${WRKSRC}/src/Ogre/OgreGUI.cpp
64
52
post-build:
65
post-build:
53
	@${REINPLACE_CMD} -Ee 's,^(prefix|(lib|include)dir)=,&${PREFIX},' \
66
	@${REINPLACE_CMD} -Ee 's,^(prefix|(lib|include)dir)=,&${PREFIX},' \
54
		${WRKSRC}/*.pc
67
		${WRKSRC}/*.pc
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gigi-0.6.0.20071206.tar.bz2) = 558ae774b9de74b60e9f3d0e7188f6f4
1
MD5 (GG-0.7.0.tar.gz) = 360e7131fde11da55efbdd555eabf665
2
SHA256 (gigi-0.6.0.20071206.tar.bz2) = 88a6f726f6cb5aabdb9bb10752e3eb13f233a1e63d4e5052755c79ee480d2d7d
2
SHA256 (GG-0.7.0.tar.gz) = f4ef86c2b8344085217163b6310f9c2f868929a22e864eebb200786f42a0aa54
3
SIZE (gigi-0.6.0.20071206.tar.bz2) = 601431
3
SIZE (GG-0.7.0.tar.gz) = 1730169
(-)pkg-plist (+1 lines)
Lines 61-66 Link Here
61
lib/libGiGiSDL.so
61
lib/libGiGiSDL.so
62
lib/libGiGiSDL.so.0
62
lib/libGiGiSDL.so.0
63
libdata/pkgconfig/GiGi.pc
63
libdata/pkgconfig/GiGi.pc
64
%%OGRE%%libdata/pkgconfig/GiGiOgre.pc
64
libdata/pkgconfig/GiGiSDL.pc
65
libdata/pkgconfig/GiGiSDL.pc
65
@dirrm include/GG/dialogs
66
@dirrm include/GG/dialogs
66
@dirrm include/GG/SDL
67
@dirrm include/GG/SDL

Return to bug 133008