pkgsrc/devel/scmgit-base/options.mk

23 lines
537 B
Makefile
Raw Normal View History

# $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