openbsd-ports/graphics/glfw/Makefile
kmos 80b7ca778c https://www.glfw.org/changelog.html
Update to 3.3.8

ok rsadowski
2022-08-23 16:53:25 +00:00

29 lines
572 B
Makefile

COMMENT = open source, multi-platform library for creating windows
V = 3.3.8
DISTNAME = glfw-${V}
CATEGORIES = graphics x11
SHARED_LIBS += glfw 1.1 # 3.1
HOMEPAGE = http://www.glfw.org/
MAINTAINER = Kurt Mosiejczuk <kmos@openbsd.org>
# zlib
PERMIT_PACKAGE = Yes
WANTLIB += X11 Xcursor Xinerama Xrandr Xxf86vm m pthread
MASTER_SITES = https://github.com/glfw/glfw/releases/download/${V}/
EXTRACT_SUFX = .zip
MODULES = devel/cmake
CONFIGURE_ARGS = -DBUILD_SHARED_LIBS=ON
CFLAGS += -I${X11BASE}/include
NO_TEST = Yes
.include <bsd.port.mk>