pkgsrc/graphics/freeglut/buildlink3.mk
xtraeme 1b7f61f482 Initial import of freeglut-2.2.0, from pkgsrc-wip.
freeglut is a completely OpenSourced alternative to the OpenGL
Utility Toolkit (GLUT) library. GLUT was originally written by
Mark Kilgard to support the sample programs in the second edition
OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety
of practical applications because it is simple, universally available
and highly portable.
2004-04-19 18:36:02 +00:00

18 lines
533 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/19 18:36:02 xtraeme Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREEGLUT_BUILDLINK3_MK:= ${FREEGLUT_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= freeglut
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreeglut}
BUILDLINK_PACKAGES+= freeglut
.if !empty(FREEGLUT_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.freeglut+= freeglut>=2.2.0
BUILDLINK_PKGSRCDIR.freeglut?= ../../graphics/freeglut
.endif # FREEGLUT_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}