15fc111910
* adds suport for OpenGL 4.1, fixes bugs Changes 1.5.5: * fixes minor bugs and adds new extensions
32 lines
946 B
Makefile
32 lines
946 B
Makefile
# $NetBSD: Makefile,v 1.9 2010/10/19 09:11:39 adam Exp $
|
|
|
|
DISTNAME= glew-1.5.6
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=glew/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://glew.sourceforge.net/
|
|
COMMENT= OpenGL Extension Wrangler Library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
PKGCONFIG_OVERRIDE= glew.pc.in
|
|
MAKE_ENV+= GLEW_DEST=${PREFIX} X11=${PREFIX} POPT=${CFLAGS:Q}
|
|
MAKE_ENV+= LDFLAGS.EXTRA=${X11_LDFLAGS:Q}
|
|
INSTALLATION_DIRS+= lib/pkgconfig
|
|
|
|
post-patch:
|
|
${LN} -s Makefile.netbsdelf ${WRKSRC}/config/Makefile.dragonfly
|
|
${LN} -s Makefile.netbsdelf ${WRKSRC}/config/Makefile.netbsd
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} != "Darwin"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../x11/libXi/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.endif
|
|
.include "../../mk/bsd.pkg.mk"
|