Lines 23-33
Link Here
|
23 |
WRKSRC= ${WRKDIR}/ogre |
23 |
WRKSRC= ${WRKDIR}/ogre |
24 |
CONFIGURE_ARGS= --disable-cg --program-transform-name= --enable-static \ |
24 |
CONFIGURE_ARGS= --disable-cg --program-transform-name= --enable-static \ |
25 |
--with-cppunit-prefix=/nonexistent --disable-freeimage |
25 |
--with-cppunit-prefix=/nonexistent --disable-freeimage |
26 |
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -DNDEBUG" \ |
26 |
CONFIGURE_ENV+= ZZIPLIB_CFLAGS="-I${LOCALBASE}/include" \ |
27 |
ZZIPLIB_CFLAGS="-I${LOCALBASE}/include" \ |
|
|
28 |
ZZIPLIB_LIBS="-L${LOCALBASE}/lib -lzzip" |
27 |
ZZIPLIB_LIBS="-L${LOCALBASE}/lib -lzzip" |
29 |
|
28 |
|
30 |
OPTIONS= GTK "Use GTK instead of Xt gui" off |
29 |
OPTIONS= GTK "Use GTK instead of Xt gui" off \ |
|
|
30 |
DEMOS "Build OGRE demos" off |
31 |
|
31 |
|
32 |
GNU_CONFIGURE= YES |
32 |
GNU_CONFIGURE= YES |
33 |
USE_AUTOTOOLS= libtool:15 |
33 |
USE_AUTOTOOLS= libtool:15 |
Lines 40-45
Link Here
|
40 |
|
40 |
|
41 |
.include <bsd.port.pre.mk> |
41 |
.include <bsd.port.pre.mk> |
42 |
|
42 |
|
|
|
43 |
.if !defined(WITH_DEBUG) |
44 |
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -DNDEBUG" |
45 |
.else |
46 |
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include" |
47 |
.endif |
48 |
|
49 |
.if !defined(WITH_DEMOS) |
50 |
CONGIGURE_ARGS+= --disable-ogre-demos |
51 |
.endif |
52 |
|
43 |
.if defined(WITH_GTK) |
53 |
.if defined(WITH_GTK) |
44 |
USE_GNOME+= gtk20 |
54 |
USE_GNOME+= gtk20 |
45 |
CONFIGURE_ARGS+=--with-gui=gtk |
55 |
CONFIGURE_ARGS+=--with-gui=gtk |