2016-12-31 00:29:41 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2016/12/31 00:29:41 jsg Exp $
|
2013-06-19 21:13:15 +00:00
|
|
|
|
2013-06-20 14:16:03 +00:00
|
|
|
BROKEN-hppa = missing atomic ops
|
2014-12-30 21:50:24 +00:00
|
|
|
BROKEN-alpha = missing atomic ops
|
2012-03-18 14:31:00 +00:00
|
|
|
|
|
|
|
COMMENT-main = 3D rendering engine
|
|
|
|
COMMENT-samples = 3D rendering engine, demos
|
|
|
|
|
2014-07-11 21:20:31 +00:00
|
|
|
V = 1.9.0
|
|
|
|
DISTNAME = ogre-$V
|
2012-03-18 14:31:00 +00:00
|
|
|
PKGNAME-main = ogre-${V}
|
|
|
|
PKGNAME-samples = ogre-samples-${V}
|
2016-05-07 12:40:56 +00:00
|
|
|
REVISION-main = 3
|
|
|
|
REVISION-samples = 3
|
2012-03-18 14:31:00 +00:00
|
|
|
|
|
|
|
MULTI_PACKAGES = -main -samples
|
|
|
|
|
2014-07-11 21:20:31 +00:00
|
|
|
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
|
2012-03-18 14:31:00 +00:00
|
|
|
|
|
|
|
CATEGORIES = x11
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.ogre3d.org
|
|
|
|
|
2016-05-07 12:40:56 +00:00
|
|
|
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
|
2012-03-18 14:31:00 +00:00
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2015-08-19 20:34:33 +00:00
|
|
|
WANTLIB += ICE SM X11 Xaw Xext Xt atomic boost_atomic-mt boost_date_time-mt
|
2013-06-03 18:50:06 +00:00
|
|
|
WANTLIB += boost_chrono-mt boost_system-mt boost_thread-mt c
|
2014-07-11 21:20:31 +00:00
|
|
|
WANTLIB += freeimage freetype m pthread z zzip
|
2012-03-18 14:31:00 +00:00
|
|
|
|
2014-07-11 21:20:31 +00:00
|
|
|
WANTLIB-main = ${WANTLIB} GL GLU Xrandr tinyxml
|
2012-03-18 14:31:00 +00:00
|
|
|
WANTLIB-samples += ${WANTLIB} OIS OgreMain OgrePaging OgreRTShaderSystem
|
2014-07-11 21:20:31 +00:00
|
|
|
WANTLIB-samples += OgreTerrain OgreOverlay OgreVolume
|
2012-03-18 14:31:00 +00:00
|
|
|
|
|
|
|
|
2014-07-11 21:20:31 +00:00
|
|
|
MASTER_SITES = https://bitbucket.org/sinbad/ogre/get/
|
|
|
|
DISTFILES = ogre-$V${EXTRACT_SUFX}{v${V:S/./-/g}${EXTRACT_SUFX}}
|
|
|
|
#EXTRACT_SUFX = .tar.bz2
|
2012-03-18 14:31:00 +00:00
|
|
|
|
2014-11-07 10:40:05 +00:00
|
|
|
CONFIGURE_ARGS += -DOGRE_INSTALL_SAMPLES=1
|
2012-03-18 14:31:00 +00:00
|
|
|
|
2014-07-11 21:20:31 +00:00
|
|
|
MODULES = devel/cmake gcc4
|
|
|
|
MODGCC4_LANGS = c c++
|
|
|
|
MODGCC4_ARCHS = *
|
2012-03-18 14:31:00 +00:00
|
|
|
LIB_DEPENDS = graphics/freeimage \
|
2013-06-03 18:50:06 +00:00
|
|
|
archivers/zziplib \
|
2015-05-28 12:03:57 +00:00
|
|
|
devel/boost
|
2014-07-11 21:20:31 +00:00
|
|
|
LIB_DEPENDS-main = ${LIB_DEPENDS} \
|
|
|
|
textproc/tinyxml
|
2012-03-18 14:31:00 +00:00
|
|
|
LIB_DEPENDS-samples = ${LIB_DEPENDS} \
|
|
|
|
devel/ois \
|
|
|
|
x11/ogre,-main
|
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST = Yes
|
2012-03-18 14:31:00 +00:00
|
|
|
|
2014-07-11 21:20:31 +00:00
|
|
|
WRKDIST = ${WRKDIR}/sinbad-ogre-dd30349ea667
|
|
|
|
|
2014-01-10 14:47:09 +00:00
|
|
|
pre-configure:
|
|
|
|
# Remove obsolete local FindFreetype.cmake module which is not
|
|
|
|
# compatible with Freetype 2.5
|
2014-07-11 21:20:31 +00:00
|
|
|
rm -f ${WRKSRC}/CMake/Packages/FindFreetype.cmake
|
2014-01-10 14:47:09 +00:00
|
|
|
|
2012-03-18 14:31:00 +00:00
|
|
|
.include <bsd.port.mk>
|