blob: d271d6c2e4f43d33097b2d51e3fd454feacf529a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $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"
|