1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add tktable 2.8, a table/matrix widget extension to tk/tcl.

PR:		47166
Submitted by:	thierry@pompo.net
This commit is contained in:
Oliver Lehmann 2003-07-23 10:36:01 +00:00
parent 41405efa6c
commit 9ff05dcf62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85432
6 changed files with 100 additions and 0 deletions

View File

@ -179,6 +179,7 @@
SUBDIR += tk83
SUBDIR += tk84
SUBDIR += tkstep80
SUBDIR += tktable
SUBDIR += v
SUBDIR += vdk
SUBDIR += vdkbuilder

View File

@ -0,0 +1,51 @@
# New ports collection makefile for: tktable
# Date created: 25 Jun 2003
# Whom: thierry@pompo.net
#
# $FreeBSD$
#
PORTNAME= tktable
PORTVERSION= 2.8
CATEGORIES= x11-toolkits tk83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME:S/tk/Tk/}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A table/matrix widget extension to tk/tcl
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
--with-tk=${LOCALBASE}/lib/tk${TK_VER} \
--with-tclinclude=${LOCALBASE}/include/tcl${TK_VER} \
--with-tkinclude=${LOCALBASE}/include/tk${TK_VER} \
--with-x=${X11BASE}
USE_REINPLACE= yes
TK_VER= 8.3
PLIST_SUB= DESTDIR=lib/${DISTNAME}
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e "s:install-libraries install-doc:install-libraries:" \
${WRKSRC}/Makefile.in
.else
@${REINPLACE_CMD} -e "s:%%DOCSDIR%%:${DOCSDIR}:g" ${WRKSRC}/Makefile.in
.endif
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.if defined(MAINTAINER_MODE)
test: build
(cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Tktable2.8.tar.gz) = 6d29fe86f925acf58bb3a268cc511564

View File

@ -0,0 +1,32 @@
--- Makefile.in.orig Wed Oct 16 09:40:33 2002
+++ Makefile.in Wed Jul 23 12:19:40 2003
@@ -98,6 +98,7 @@
datadir = @datadir@
mandir = @mandir@
includedir = @includedir@
+docsdir = %%DOCSDIR%%
DESTDIR =
@@ -241,7 +242,6 @@
@mkdir -p $(DESTDIR)$(pkglibdir)
$(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)
$(INSTALL_DATA) $(srcdir)/license.txt $(DESTDIR)$(pkglibdir)
- $(INSTALL_DATA) $(srcdir)/README.txt $(DESTDIR)$(pkglibdir)
#========================================================================
# This rule installs platform-independent files, such as header files.
@@ -255,10 +255,11 @@
#========================================================================
install-doc: doc
- @mkdir -p $(DESTDIR)$(pkglibdir)/html
+ @mkdir -p $(docsdir)/html
+ $(INSTALL_DATA) $(srcdir)/README.txt $(docsdir)
@list='$(PKG_MAN_PAGES)'; for p in $$list; do \
html=`basename $$p|sed -e 's/.[^.]*$$//'`.html; \
- $(INSTALL_DATA) $(srcdir)/doc/$$html $(DESTDIR)$(pkglibdir)/html/; \
+ $(INSTALL_DATA) $(srcdir)/doc/$$html $(docsdir)/html/; \
done
html:

View File

@ -0,0 +1,6 @@
TkTable is a full-featured 2D table widget (in the spreadsheet sense)
extension for Tk.
It supports images, embedded windows, varying colors and fonts, and more.
WWW: http://tktable.sourceforge.net/

View File

@ -0,0 +1,9 @@
%%DESTDIR%%/libTktable2.8.so
%%DESTDIR%%/tkTable.tcl
%%DESTDIR%%/pkgIndex.tcl
%%DESTDIR%%/license.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/html/tkTable.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DESTDIR%%