=================================================================== RCS file: /cvs/ports/graphics/osg/Attic/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.6 diff -u -r1.1.1.1 -r1.6 --- ports/graphics/osg/Attic/Makefile 2009/06/09 13:30:32 1.1.1.1 +++ ports/graphics/osg/Attic/Makefile 2009/08/30 12:37:06 1.6 @@ -1,33 +1,29 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2009/06/09 12:30:32 yason Exp $ +# $OpenBSD: Makefile,v 1.6 2009/08/30 11:37:06 yason Exp $ #ONLY_FOR_ARCHS = ??? #NOT_FOR_ARCHS = ??? #SHARED_ONLY = ??? #COMES_WITH = ??? -#BROKEN = reason COMMENT = high performance 3D graphics toolkit -# COMMENT-foo = ??? for multi packages -DISTNAME = OpenSceneGraph-2.8.1 -#PKGNAME = ??? -#PKGNAME-foo = ??? for multi packages +DISTNAME = OpenSceneGraph-2.8.2 -SHARED_LIBS = OpenThreads 2.4 \ - osg 2.8 \ - osgAnimation 2.8 \ - osgDB 2.8 \ - osgFX 2.8 \ - osgGA 2.8 \ - osgManipulator 2.8 \ - osgParticle 2.8 \ - osgShadow 2.8 \ - osgSim 2.8 \ - osgTerrain 2.8 \ - osgText 2.8 \ - osgUtil 2.8 \ - osgViewer 2.8 \ - osgVolume 2.8 \ - osgWidget 2.8 +SHARED_LIBS = OpenThreads 2.4 \ + osg 2.8 \ + osgAnimation 2.8 \ + osgDB 2.8 \ + osgFX 2.8 \ + osgGA 2.8 \ + osgManipulator 2.8 \ + osgParticle 2.8 \ + osgShadow 2.8 \ + osgSim 2.8 \ + osgTerrain 2.8 \ + osgText 2.8 \ + osgUtil 2.8 \ + osgViewer 2.8 \ + osgVolume 2.8 \ + osgWidget 2.8 CATEGORIES = graphics devel @@ -35,61 +31,49 @@ #MAINTAINER = ??? -#OSGPL +# OSGPL PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -WANTLIB = GL GLU ICE SM X11 Xau Xdmcp Xext Xrandr Xrender c expat \ - fontconfig freetype gif intl m pixman-1 pthread stdc++ z +WANTLIB = GL GLU ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp \ + Xext Xfixes Xi Xinerama Xrandr Xrender c expat \ + fontconfig freetype gdk-x11-2.0 gif intl m pango-1.0 \ + pangocairo-1.0 pangoft2-1.0 pixman-1 pthread stdc++ z -MASTER_SITES = http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8.1/source/ +MASTER_SITES = http://www.openscenegraph.org/downloads/developer_releases/ EXTRACT_SUFX = .zip MODULES = devel/cmake -LIB_DEPENDS = cairo.>=9::graphics/cairo \ +CONFIGURE_ARGS = -DBUILD_OSG_EXAMPLES:BOOL=ON \ + -DCMAKE_INCLUDE_PATH="${PREFIX}/include" \ + -DCMAKE_LIBRARY_PATH="${PREFIX}/lib" + +#BUILD_DEPENDS = ::x11/wxWidgets + +LIB_DEPENDS = Half.>=4::graphics/ilmbase \ + IlmImf.>=4::graphics/openexr \ + cairo.>=9::graphics/cairo \ curl.>=13::net/curl \ gdal.>=14::geo/gdal \ gdk_pixbuf-2.0.>=1400::graphics/gdk-pixbuf \ + gio-2.0.>=1800::devel/glib2 \ glib-2.0.>=1800::devel/glib2 \ glitz.>=2::graphics/glitz \ + glut.>=4::graphics/freeglut \ gmodule-2.0.>=1800,gobject-2.0.>=1800::devel/glib2 \ iconv.>=6::converters/libiconv \ jasper.>=2::graphics/jasper \ jpeg.>=62::graphics/jpeg \ png.>=8::graphics/png \ + poppler.>=5::print/poppler,no_qt,no_qt4 \ + poppler-glib.>=5::print/poppler,no_qt,no_qt4 \ rsvg-2.>=24::x11/gnome/librsvg \ tiff.>=38::graphics/tiff USE_X11 = Yes USE_LIBTOOL = Yes -#CONFIGURE_STYLE = gnu -#CONFIGURE_SCRIPT = ??? (if other than configure) -#CONFIGURE_ARGS += ${CONFIGURE_SHARED} -#CONFIGURE_ENV = ??? - -#FLAVORS = 1 2 3 a b -#FLAVOR ?= -# grab multiple choice value -#CHOICE = ${FLAVOR:L:Na:Nb} -# check that CHOICE is 1 OR 2 OR 3, or error out -#.if ${CHOICE} == "1" -# code for 1 -#.elif ${CHOICE} == "2" -# code for 2 -#.elif ${CHOICE} == "3" -# code for 3 -#.else -#ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}" -#.endif -# check for switches -#.if ${FLAVOR:L:Ma} -# code for a -#.endif -#.if ${FLAVOR:L:Mb} -# code for b -#.endif NO_REGRESS = Yes