pkgsrc/graphics/freeglut/Makefile
2021-12-08 16:01:42 +00:00

31 lines
859 B
Makefile

# $NetBSD: Makefile,v 1.31 2021/12/08 16:02:08 adam Exp $
DISTNAME= freeglut-3.2.1
PKGREVISION= 3
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"