summaryrefslogtreecommitdiff
path: root/graphics/gocr/options.mk
blob: 71fb992944606ae9ea50bda3720a321b8ba25516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: options.mk,v 1.1 2005/10/25 02:06:57 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.gocr
PKG_SUPPORTED_OPTIONS=	tk

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mtk)
DEPENDS+=		tk>=8.4:../../x11/tk
PLIST_SUBST+=		TK=""

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/bin/gocr.tcl ${PREFIX}/bin
.else
PLIST_SUBST+=		TK="@comment "
.endif