Makefile 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # $OpenBSD: Makefile,v 1.9 2017/04/10 11:46:21 sthen Exp $
  2. PORTROACH = limitw:1,even
  3. COMMENT = 3D graphics toolkit
  4. V = 3.4.0
  5. DISTNAME = OpenSceneGraph-${V}
  6. PKGNAME = openscenegraph-${V}
  7. REVISION = 0
  8. SUBST_VARS += V
  9. SHARED_LIBS = OpenThreads 1.0 # 2.6
  10. SHARED_LIBS += osg 1.0 # 3.0
  11. SHARED_LIBS += osgAnimation 1.0 # 3.0
  12. SHARED_LIBS += osgDB 1.0 # 3.0
  13. SHARED_LIBS += osgFX 1.0 # 3.0
  14. SHARED_LIBS += osgGA 1.0 # 3.0
  15. SHARED_LIBS += osgManipulator 1.0 # 3.0
  16. SHARED_LIBS += osgParticle 1.0 # 3.0
  17. SHARED_LIBS += osgPresentation 1.0 # 3.0
  18. SHARED_LIBS += osgQt 1.0 # 3.0
  19. SHARED_LIBS += osgShadow 1.0 # 3.0
  20. SHARED_LIBS += osgSim 1.0 # 3.0
  21. SHARED_LIBS += osgTerrain 1.0 # 3.0
  22. SHARED_LIBS += osgText 1.0 # 3.0
  23. SHARED_LIBS += osgUtil 1.0 # 3.0
  24. SHARED_LIBS += osgUI 0.0 # 3.4
  25. SHARED_LIBS += osgViewer 1.0 # 3.0
  26. SHARED_LIBS += osgVolume 1.0 # 3.0
  27. SHARED_LIBS += osgWidget 1.0 # 3.0
  28. CATEGORIES = graphics
  29. HOMEPAGE = http://www.openscenegraph.org
  30. MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
  31. # OSGPL (see LICENSE.txt)
  32. PERMIT_PACKAGE_CDROM = Yes
  33. WANTLIB += GL Half Iex IlmImf IlmThread QtGui QtOpenGL X11 Xrandr
  34. WANTLIB += avcodec avdevice avformat avresample avutil c cairo curl
  35. WANTLIB += freetype gdk_pixbuf-2.0 gif gio-2.0 glib-2.0 gobject-2.0
  36. WANTLIB += jasper jpeg m png poppler-glib pthread rsvg-2 ${LIBCXX}
  37. WANTLIB += swresample swscale tiff z SDL
  38. MASTER_SITES = ${HOMEPAGE}/downloads/stable_releases/OpenSceneGraph-$V/source/
  39. EXTRACT_SUFX = .zip
  40. MODULES = devel/cmake \
  41. x11/qt4 \
  42. devel/gettext
  43. LIB_DEPENDS = graphics/openexr \
  44. graphics/ffmpeg \
  45. graphics/gdk-pixbuf2 \
  46. graphics/giflib \
  47. net/curl \
  48. print/poppler \
  49. x11/gnome/librsvg
  50. CONFIGURE_ARGS = -DDESIRED_QT_VERSION=4 \
  51. -DOSG_USE_AGGRESSIVE_WARNINGS=OFF
  52. NO_TEST = Yes
  53. .include <bsd.port.mk>