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 |