The Tkx module provides yet another Tk interface for Perl. Tk is a GUI toolkit tied to the Tcl language, and Tkx provides a bridge to Tcl that allows Tk based applications to be written in Perl. The main idea behind Tkx is that it is a very thin wrapper on top of Tcl, i.e. that what you get is exactly the behaviour you read about in the Tcl/Tk documentation with no surprises added by the Perl layer. For a gentle introduction please read the Tkx::Tutorial. The tkx-ed example needs the bwidget OpenBSD package. ok sthen@
25 lines
558 B
Makefile
25 lines
558 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2015/05/08 03:11:18 stu Exp $
|
|
|
|
COMMENT = Tk extension module for Perl
|
|
|
|
DISTNAME = Tkx-1.09
|
|
CATEGORIES = x11 devel
|
|
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
|
|
|
|
# Perl
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = cpan x11/tk
|
|
|
|
BUILD_DEPENDS = ${MODTK_BUILD_DEPENDS}
|
|
RUN_DEPENDS = ${MODTK_RUN_DEPENDS} devel/p5-Tcl
|
|
|
|
CONFIGURE_ARGS = INSTALLSITESCRIPT='$${PREFIX}/share/examples/p5-Tkx'
|
|
|
|
TEST_IS_INTERACTIVE = X11
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/menu ${PREFIX}/share/examples/p5-Tkx
|
|
|
|
.include <bsd.port.mk>
|