35 lines
880 B
Makefile
35 lines
880 B
Makefile
# $NetBSD: Makefile,v 1.4 2012/09/29 00:50:35 asau Exp $
|
|
#
|
|
|
|
DISTNAME= glfw-2.7
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=glfw/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= ryo_on@yk.rim.or.jp
|
|
HOMEPAGE= http://www.glfw.org/
|
|
COMMENT= GLFW is a free, Open Source, multi-platform library of OpenGL
|
|
#LICENSE= zlib/libpng license
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
PKGCONFIG_OVERRIDE+= lib/win32/libglfw.pc.in
|
|
PKGCONFIG_OVERRIDE+= lib/cocoa/libglfw.pc.in
|
|
PKGCONFIG_OVERRIDE+= lib/carbon/libglfw.pc.in
|
|
|
|
BUILD_TARGET= x11
|
|
INSTALL_TARGET= x11-install
|
|
|
|
MAKE_FLAGS= SOFLAGS=-shared
|
|
|
|
PKGCONFIG_OVERRIDE+= lib/x11/libglfw.pc.in
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && \
|
|
${SH} compile.sh
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|