2008-04-13 00:42:57 +02:00
|
|
|
# $NetBSD: options.mk,v 1.8 2008/04/12 22:43:00 jlam Exp $
|
2005-05-31 23:42:04 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.wine
|
2007-04-13 23:25:48 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= cups opengl sane
|
2006-05-31 21:06:08 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= opengl
|
2005-05-31 23:42:04 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= opengl
|
|
|
|
|
2005-05-31 23:42:04 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mcups)
|
|
|
|
.include "../../print/cups/buildlink3.mk"
|
|
|
|
.endif
|
2005-10-17 16:09:12 +02:00
|
|
|
|
2006-03-13 09:31:23 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mopengl)
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.opengl= yes
|
2006-03-13 09:31:23 +01:00
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
|
|
.include "../../graphics/glut/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-opengl
|
|
|
|
.endif
|
|
|
|
|
2005-10-17 16:09:12 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Msane)
|
|
|
|
.include "../../graphics/sane-backends/buildlink3.mk"
|
|
|
|
.endif
|