blob: 8cdbd10faa918d931799a700f08338a1c408aa0a (
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
32
33
|
# $NetBSD: Makefile,v 1.4 2009/03/02 15:31:16 wiz Exp $
#
DISTNAME= glew-1.3.4-src
PKGNAME= glew-1.3.4
PKGREVISION= 1
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
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/glew
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
MAKE_ENV+= GLEW_DEST=${PREFIX:Q} X11=${PREFIX:Q} POPT=${CFLAGS:M*:Q}
MAKE_ENV+= LDFLAGS.EXTRA=${X11_LDFLAGS:Q}
post-extract:
${LN} -s Makefile.netbsdelf ${WRKSRC}/config/Makefile.dragonfly
${LN} -s Makefile.netbsdelf ${WRKSRC}/config/Makefile.netbsd
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|