75 lines
2.0 KiB
Makefile
75 lines
2.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2014/07/11 21:20:31 pascal Exp $
|
|
|
|
BROKEN-mips64 = missing atomic ops
|
|
BROKEN-mips64el = missing atomic ops
|
|
BROKEN-hppa = missing atomic ops
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT-main = 3D rendering engine
|
|
COMMENT-samples = 3D rendering engine, demos
|
|
|
|
V = 1.9.0
|
|
DISTNAME = ogre-$V
|
|
PKGNAME-main = ogre-${V}
|
|
PKGNAME-samples = ogre-samples-${V}
|
|
|
|
MULTI_PACKAGES = -main -samples
|
|
|
|
SHARED_LIBS += OgreMain 2.0 # 1.7
|
|
SHARED_LIBS += OgrePaging 2.0 # 1.7
|
|
SHARED_LIBS += OgreProperty 2.0 # 1.7
|
|
SHARED_LIBS += OgreRTShaderSystem 2.0 # 1.7
|
|
SHARED_LIBS += OgreTerrain 2.0 # 1.7
|
|
SHARED_LIBS += OgreOverlay 0.0 # 1.9
|
|
SHARED_LIBS += OgreVolume 0.0 # 1.9
|
|
|
|
CATEGORIES = x11
|
|
|
|
HOMEPAGE = http://www.ogre3d.org
|
|
|
|
MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += ICE SM X11 Xaw Xext Xt atomic boost_date_time-mt
|
|
WANTLIB += boost_chrono-mt boost_system-mt boost_thread-mt c
|
|
WANTLIB += freeimage freetype m pthread z zzip
|
|
|
|
WANTLIB-main = ${WANTLIB} GL GLU Xrandr tinyxml
|
|
WANTLIB-samples += ${WANTLIB} OIS OgreMain OgrePaging OgreRTShaderSystem
|
|
WANTLIB-samples += OgreTerrain OgreOverlay OgreVolume
|
|
|
|
|
|
MASTER_SITES = https://bitbucket.org/sinbad/ogre/get/
|
|
DISTFILES = ogre-$V${EXTRACT_SUFX}{v${V:S/./-/g}${EXTRACT_SUFX}}
|
|
#EXTRACT_SUFX = .tar.bz2
|
|
|
|
CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE:STRING=Release \
|
|
-DOGRE_INSTALL_SAMPLES=1
|
|
|
|
MODULES = devel/cmake gcc4
|
|
MODGCC4_LANGS = c c++
|
|
MODGCC4_ARCHS = *
|
|
LIB_DEPENDS = graphics/freeimage \
|
|
archivers/zziplib \
|
|
devel/boost \
|
|
lang/gcc/${MODGCC4_VERSION},-main
|
|
LIB_DEPENDS-main = ${LIB_DEPENDS} \
|
|
textproc/tinyxml
|
|
LIB_DEPENDS-samples = ${LIB_DEPENDS} \
|
|
devel/ois \
|
|
x11/ogre,-main
|
|
|
|
NO_TEST = Yes
|
|
|
|
WRKDIST = ${WRKDIR}/sinbad-ogre-dd30349ea667
|
|
|
|
pre-configure:
|
|
# Remove obsolete local FindFreetype.cmake module which is not
|
|
# compatible with Freetype 2.5
|
|
rm -f ${WRKSRC}/CMake/Packages/FindFreetype.cmake
|
|
|
|
.include <bsd.port.mk>
|