Annotation of ports/graphics/cegui/Makefile, Revision 1.4
1.1 yason 1: # $OpenBSD$
2:
3: COMMENT = library providing windowing and widgets for graphics APIs
4:
1.4 ! yason 5: DISTNAME = CEGUI-0.6.2
1.1 yason 6: PKGNAME = ${DISTNAME:L}
7:
8: SHARED_LIBS = CEGUIBase 3.0 \
9: CEGUIFalagardWRBase 3.0 \
10: CEGUILuaScriptModule 3.0 \
1.2 yason 11: CEGUIOpenGLRenderer 1.0 \
12: CEGUITGAImageCodec 0.0 \
1.1 yason 13: CEGUITinyXMLParser 0.0 \
14: CEGUItoluapp 3.0
15:
16: CATEGORIES = graphics devel
17:
18: HOMEPAGE = http://www.cegui.org.uk
19:
1.2 yason 20: # MIT
1.1 yason 21: PERMIT_PACKAGE_CDROM = Yes
22: PERMIT_PACKAGE_FTP = Yes
23: PERMIT_DISTFILES_CDROM =Yes
24: PERMIT_DISTFILES_FTP = Yes
25:
1.3 yason 26: WANTLIB = GL GLU ICE SM X11 Xau Xdmcp Xext Xi Xmu \
27: Xt c freetype m pthread z
1.1 yason 28:
29: MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=crayzedsgui/}
30:
1.2 yason 31: LIB_DEPENDS = glut.>=3::graphics/glut \
32: lua.>=5::lang/lua \
33: pcre.>=2::devel/pcre
1.1 yason 34:
1.2 yason 35: USE_X11 = Yes
1.1 yason 36: USE_LIBTOOL = Yes
37: CONFIGURE_STYLE = gnu
1.2 yason 38: CONFIGURE_ARGS = --disable-expat \
1.3 yason 39: --disable-external-glew \
40: --disable-freeimage \
1.2 yason 41: --disable-irrlicht-renderer \
42: --disable-libxml \
1.3 yason 43: --enable-toluacegui \
1.2 yason 44: --disable-xerces-c
1.1 yason 45:
1.4 ! yason 46: #MAKE_ENV =
1.2 yason 47: CONFIGURE_ENV += CPPLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
1.4 ! yason 48: LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm -pthread -lXi -lXmu"
1.2 yason 49:
50: post-patch:
1.4 ! yason 51: # Find out what prevents to fing GL/glu/h and GL/gl.h when building in Samples
1.2 yason 52: @perl -pi -e 's|Samples||g' ${WRKSRC}/Makefile.in
1.4 ! yason 53: #
1.3 yason 54: @perl -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
1.1 yason 55:
56: .include <bsd.port.mk>
CVSweb