215a17f433
Tcl/Tk script library providing enhanced functionality for Tk or Ttk entries, BWidget Entries, Mentry widgets, Tk or Ttk spinboxes, Ttk comboboxes, text or ctext widgets, listboxes and tablelist widgets. * Restrict the set or number of characters that can be entered into a widget. * Manipulate the input characters before inserting into a widget: change the color, font, etc. * Protect parts of a widgets data from being modified or selected. * Setup callbacks for data modification, insertion cursor movement and selection change. Ok landry@.
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/01/17 06:51:50 stu Exp $
|
|
|
|
COMMENT = widget callback package for Tcl/Tk
|
|
|
|
N = wcb
|
|
DISTNAME = $N3.3
|
|
PKGNAME = $N-3.3
|
|
CATEGORIES = devel
|
|
HOMEPAGE = http://www.nemethi.de/
|
|
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
|
|
|
# ISC style
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${HOMEPAGE:=$N/}
|
|
MODULES = x11/tk
|
|
RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
|
|
NO_BUILD = Yes
|
|
NO_REGRESS = Yes
|
|
PKG_ARCH = *
|
|
SUBST_VARS = TK_EXA_DIR
|
|
|
|
TK_EXA_DIR = ${LOCALBASE}/share/examples/tk${MODTK_VERSION}
|
|
|
|
WC_LIB_DIR = ${PREFIX}/lib/tcl/$N
|
|
WC_DOC_DIR = ${PREFIX}/share/doc/$N
|
|
WC_EXA_DIR = ${PREFIX}/share/examples/$N
|
|
WC_SCR_DIR = ${WC_LIB_DIR}/scripts
|
|
|
|
EXA_SUBSTS = listboxtest1.tcl listboxtest2.tcl
|
|
EXA_SCRIPTS = ${EXA_SUBSTS} entrytest.tcl texttest1.tcl texttest2.tcl
|
|
|
|
do-configure:
|
|
@${MODTCL_WISH_ADJ} ${EXA_SCRIPTS:S!^!${WRKSRC}/demos/!}
|
|
@${SUBST_CMD} ${EXA_SUBSTS:S!^!${WRKSRC}/demos/!}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${WC_SCR_DIR} ${WC_DOC_DIR} ${WC_EXA_DIR}
|
|
.for SRC GLOB DEST in \
|
|
. *.tcl ${WC_LIB_DIR} \
|
|
scripts * ${WC_SCR_DIR} \
|
|
doc * ${WC_DOC_DIR} \
|
|
. CHANGES.txt ${WC_DOC_DIR} \
|
|
. COPYRIGHT.txt ${WC_DOC_DIR} \
|
|
. README.txt ${WC_DOC_DIR} \
|
|
demos *.tcl ${WC_EXA_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${SRC}/${GLOB} ${DEST}
|
|
.endfor
|
|
${CHMOD} ${BINMODE} ${EXA_SCRIPTS:S!^!${WC_EXA_DIR}/!}
|
|
|
|
.include <bsd.port.mk>
|