blob: 37380cd13cc57c7de311dab061227fef68e9111e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: options.mk,v 1.2 2008/08/01 11:30:20 minskim Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.scmgit
PKG_SUPPORTED_OPTIONS= scmgit-gui
PKG_SUGGESTED_OPTIONS= scmgit-gui
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gui
PLIST_VARS+= macosx
.if !empty(PKG_OPTIONS:Mscmgit-gui)
PLIST.gui= yes
USE_TOOLS+= wish:run
CONFIGURE_ARGS+= --with-tcltk=${WISH:Q}
. if ${OPSYS} == "Darwin" && exists(/System/Library/Frameworks/Tk.framework)
PLIST.macosx= yes
PRIVILEGED_STAGES+= clean
. endif
.else
CONFIGURE_ARGS+= --without-tcltk
.endif
|