Import tktable-2.10nb1 as x11/tktable.

Packaged for wip by othyro.

TkTable is a full-featured 2D table widget for Tk. It supports images, embedded
windows, varying colors and fonts, and more. Also here is Vu, a Tk widget
extension that includes a pie, dial, spinbox and more, and Tile, a themed widget
set for Tk.
This commit is contained in:
wiz 2013-01-23 21:58:25 +00:00
parent 1040853f10
commit 63543fc445
6 changed files with 77 additions and 0 deletions

4
x11/tktable/DESCR Normal file
View file

@ -0,0 +1,4 @@
TkTable is a full-featured 2D table widget for Tk. It supports images, embedded
windows, varying colors and fonts, and more. Also here is Vu, a Tk widget
extension that includes a pie, dial, spinbox and more, and Tile, a themed widget
set for Tk.

24
x11/tktable/Makefile Normal file
View file

@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.1 2013/01/23 21:58:25 wiz Exp $
#
DISTNAME= Tktable2.10
PKGNAME= ${DISTNAME:S/Tktable/tktable-/}
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tktable/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://tktable.sourceforge.net/
COMMENT= Full-featured 2D table widget for Tk
LICENSE= 2-clause-bsd
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --x-includes=${BUILDLINK_PREFIX.libX11}/include \
--x-libraries=${BUILDLINK_PREFIX.libX11}/lib
.include "options.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

8
x11/tktable/PLIST Normal file
View file

@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.1 2013/01/23 21:58:25 wiz Exp $
lib/Tktable${PKGVERSION}/README.txt
lib/Tktable${PKGVERSION}/html/tkTable.html
lib/Tktable${PKGVERSION}/libTktable${PKGVERSION}.so
lib/Tktable${PKGVERSION}/license.txt
lib/Tktable${PKGVERSION}/pkgIndex.tcl
lib/Tktable${PKGVERSION}/tkTable.tcl
lib/Tktable${PKGVERSION}/tktable.py

22
x11/tktable/buildlink3.mk Normal file
View file

@ -0,0 +1,22 @@
# $NetBSD: buildlink3.mk,v 1.1 2013/01/23 21:58:25 wiz Exp $
BUILDLINK_TREE+= tktable
.if !defined(TKTABLE_BUILDLINK3_MK)
TKTABLE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.tktable+= tktable>=2.10
BUILDLINK_PKGSRCDIR.tktable?= ../../x11/tktable
pkgbase := tktable
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.tktable:Mpthread)
.include "../../mk/pthread.buildlink3.mk"
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.endif # TKTABLE_BUILDLINK3_MK
BUILDLINK_TREE+= -tktable

5
x11/tktable/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/01/23 21:58:25 wiz Exp $
SHA1 (Tktable2.10.tar.gz) = b5804baf1d7e6afd5a55ac70e3cadb436ad958c2
RMD160 (Tktable2.10.tar.gz) = b326a472584a6965328f3f27dc98f69ddbdd45f9
Size (Tktable2.10.tar.gz) = 284135 bytes

14
x11/tktable/options.mk Normal file
View file

@ -0,0 +1,14 @@
# $NetBSD: options.mk,v 1.1 2013/01/23 21:58:25 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tktable
PKG_SUPPORTED_OPTIONS= threads
PKG_SUGGESTED_OPTIONS+= threads
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mthreads)
.include "../../mk/pthread.buildlink3.mk"
CONFIGURE_ARGS+= --enable-threads
.else
CONFIGURE_ARGS+= --disable-threads
.endif