pkgsrc/graphics/irrlicht/Makefile
nia c44753a927 Add irrlicht-1.8.4 as graphics/irrlicht.
Based on work in pkgsrc-wip.

The Irrlicht Engine is an open source high performance real-time
3D engine written and usable in C++ and also available for .NET
languages.

It is completely cross-platform, using D3D, OpenGL and its own
software renderer, and has all of the state-of-the-art features
which can be found in commercial 3d engines.
2019-06-30 22:13:13 +00:00

41 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2019/06/30 22:13:13 nia Exp $
DISTNAME= irrlicht-1.8.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=irrlicht/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://irrlicht.sourceforge.net/
COMMENT= Open source high performance real-time 3D engine
LICENSE= zlib
USE_TOOLS+= pkg-config gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
MAKE_ENV+= NDEBUG=1
BUILD_DIRS= source/Irrlicht
BUILD_TARGET= sharedlib
CXXFLAGS+= -DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_JPEG_LIB_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_LIB_PNG_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_ZLIB_=1
CXXFLAGS+= -DNO_IRR_USE_NON_SYSTEM_BZLIB_=1
SUBST_CLASSES+= dos_eol
SUBST_MESSAGE.dos_eol= Removing DOS line-ends
SUBST_STAGE.dos_eol= post-extract
SUBST_FILES.dos_eol= source/Irrlicht/Makefile
SUBST_FILES.dos_eol+= source/Irrlicht/os.cpp
SUBST_FILES.dos_eol+= source/Irrlicht/COSOperator.cpp
SUBST_FILTER_CMD.dos_eol= ${TR} -d '\r'
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"