# $NetBSD: Makefile,v 1.30 2020/03/20 11:57:47 nia Exp $ DISTNAME= freeglut-3.2.1 PKGREVISION= 2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freeglut/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://freeglut.sourceforge.net/ COMMENT= Alternative to the OpenGL Utility Toolkit (GLUT) library LICENSE= x11 USE_CMAKE= yes USE_LANGUAGES= c c++ USE_LIBTOOL= yes CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release" CMAKE_ARGS+= -DFREEGLUT_REPLACE_GLUT=ON PKGCONFIG_OVERRIDE= freeglut.pc.in # Install freeglut.pc for compatibility. post-install: ${INSTALL_DATA} ${DESTDIR}${PREFIX}/lib/pkgconfig/glut.pc \ ${DESTDIR}${PREFIX}/lib/pkgconfig/freeglut.pc .include "options.mk" .include "../../graphics/MesaLib/buildlink3.mk" .include "../../graphics/glu/buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk"