[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / glut

File: [cvs.NetBSD.org] / pkgsrc / graphics / glut / Attic / Makefile (download)

Revision 1.61, Wed Aug 21 16:25:02 2019 UTC (9 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.60: +2 -2 lines

graphics: Remove more hideously outdated references to "SGI's OpenGL"

# $NetBSD: Makefile,v 1.61 2019/08/21 16:25:02 nia Exp $

DISTNAME=	MesaGLUT-7.9.2
# we have the autoconf patches from git, so call it 8.0.1.
PKGNAME=	glut-8.0.1
PKGREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.freedesktop.org/pub/mesa/glut/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://cgit.freedesktop.org/mesa/glut/
COMMENT=	OpenGL Utility Toolkit
#LICENSE=	# TODO: (see mk/license.mk)

WRKSRC=		${WRKDIR}/Mesa-7.9.2
USE_TOOLS+=	autoreconf automake autoconf gmake pkg-config makedepend
USE_LIBTOOL=	yes
USE_LANGUAGES=	c c++
GNU_CONFIGURE=	YES

PKGCONFIG_OVERRIDE+=	src/glut/glx/glut.pc.in

CONFIGURE_ENV+=	"EXTRA_LIB_PATH=${LDFLAGS} ${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib"

pre-configure:
	cd ${WRKSRC} && autoreconf -vif

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"