1e4ca2627d
The package changed with the addition of its libepoll-shim dependency. Otherwise, we can get: ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
28 lines
718 B
Makefile
28 lines
718 B
Makefile
# $NetBSD: Makefile,v 1.11 2022/08/11 05:08:41 gutteridge Exp $
|
|
|
|
DISTNAME= glfw-3.3.4
|
|
PKGREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=glfw/}
|
|
|
|
MAINTAINER= ryo_on@yk.rim.or.jp
|
|
HOMEPAGE= https://www.glfw.org/
|
|
COMMENT= Free, portable framework for OpenGL application development
|
|
LICENSE= zlib
|
|
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
|
|
CMAKE_ARGS+= -DGLFW_BUILD_DOCS=OFF
|
|
CMAKE_ARGS+= -DGLFW_BUILD_EXAMPLES=OFF
|
|
|
|
PKGCONFIG_OVERRIDE+= src/glfw3.pc.in
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} != "Darwin"
|
|
. include "options.mk"
|
|
. include "../../graphics/MesaLib/buildlink3.mk"
|
|
. include "../../graphics/glu/buildlink3.mk"
|
|
.endif
|
|
.include "../../mk/bsd.pkg.mk"
|