summaryrefslogtreecommitdiff
path: root/graphics/gocr/options.mk
blob: 103feb959f632a5307c0c7bef772df408fe3da55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:01 jlam Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.gocr
PKG_SUPPORTED_OPTIONS=	tk

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

PLIST_VARS+=		tk

.if !empty(PKG_OPTIONS:Mtk)
DEPENDS+=		tk>=8.4:../../x11/tk
PLIST.tk=		yes

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/bin/gocr.tcl ${PREFIX}/bin
.endif