pkgsrc/graphics/fna3d/Makefile
maya e598e6ad23 Add fna3d version 21.01
This is FNA3D, the 3D graphics library for FNA.

FNA3D was written to be used for FNA's Graphics namespace. It carries the same
API design as XNA 4.0, with various implementations available at runtime
(including Vulkan, OpenGL, Metal, and Direct3D). For shaders, we support
Direct3D 9 Effect Framework binaries via MojoShader.

Note that while FNA is the main consumer of FNA3D, we do NOT provide separate C#
bindings. If you want to use FNA3D in C#, simply use FNA instead; it's the same
API and can be used entirely by itself without dragging in other dependencies.
2021-01-24 19:03:46 +00:00

28 lines
817 B
Makefile

# $NetBSD: Makefile,v 1.1 2021/01/24 19:03:46 maya Exp $
GITHUB_PROJECT= FNA3D
GITHUB_TAG= 21.01
DISTNAME= 21.01
PKGNAME= ${GITHUB_PROJECT:tl}-${DISTNAME}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=FNA-XNA/}
DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://fna-xna.github.io/
COMMENT= 3D graphics library for FNA
LICENSE= zlib
WRKSRC= ${WRKDIR}/FNA3D-21.01
USE_CMAKE= yes
# No upstream install target
INSTALLATION_DIRS= lib include
do-install:
${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/libFNA3D.so* ${DESTDIR}${PREFIX}/lib/
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/vulkan-headers/buildlink3.mk"
.include "../../graphics/mojoshader/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"