blob: 88bc539e93c6891fd166d62a2a124a650421b2c7 (
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
34
35
36
37
38
|
# $NetBSD: options.mk,v 1.2 2007/01/26 04:25:46 markd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.celestia
PKG_SUPPORTED_OPTIONS= # empty
PKG_OPTIONS_OPTIONAL_GROUPS= gui
PKG_OPTIONS_GROUP.gui= glut gnome gtk kde
PKG_SUGGESTED_OPTIONS= gtk
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mglut)
CONFIGURE_ARGS+= --with-glut
. include "../../graphics/glut/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ARGS+= --with-gtk
PLIST_SRC= ${PKGDIR}/PLIST.gtk
. include "../../graphics/gtkglext/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+= --with-gnome
PLIST_SRC= ${PKGDIR}/PLIST.gtk
. include "../../devel/GConf2/schemas.mk"
. include "../../devel/libgnomeui/buildlink3.mk"
. include "../../graphics/gtkglext/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mkde)
CONFIGURE_ARGS+= --with-kde
PLIST_SRC= ${PKGDIR}/PLIST.kde
USE_DIRS+= kde3-1.0
. include "../../graphics/hicolor-icon-theme/buildlink3.mk"
. include "../../x11/kdelibs3/buildlink3.mk"
.endif
PLIST_SRC+= ${PKGDIR}/PLIST
|