ports/47166: Tktable port

Thierry Thomas thierry at pompo.net
Tue Jul 22 20:50:22 UTC 2003


The following reply was made to PR ports/47166; it has been noted by GNATS.

From: Thierry Thomas <thierry at pompo.net>
To: freebsd-gnats-submit at FreeBSD.org, vfom at narod.ru
Cc:  
Subject: Re: ports/47166: Tktable port
Date: Tue, 22 Jul 2003 22:41:08 +0200

 Hello,
 
 I need this port for Code_Aster. I had written a port for TkTable 2.8,
 before I see your port of 2.7... Here is my shar file (not a diff).
 
 Remark: you had set the maintainer to "Jeff Hobbs", but he is the
 maintainer of the original TkTable, not the FreeBSD port maintainer;
 I've reset this field to ports at FreeBSD.org, don't hesitate to claim the
 maintnership if you want.
 
 --- tktable.shar begins here ---
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	x11-toolkits/tktable
 #	x11-toolkits/tktable/Makefile
 #	x11-toolkits/tktable/distinfo
 #	x11-toolkits/tktable/pkg-descr
 #	x11-toolkits/tktable/pkg-plist
 #	x11-toolkits/tktable/files
 #	x11-toolkits/tktable/files/patch-Makefile.in
 #
 echo c - x11-toolkits/tktable
 mkdir -p x11-toolkits/tktable > /dev/null 2>&1
 echo x - x11-toolkits/tktable/Makefile
 sed 's/^X//' >x11-toolkits/tktable/Makefile << 'END-of-x11-toolkits/tktable/Makefile'
 X# New ports collection makefile for:	tktable
 X# Date created:         25 Jun 2003
 X# Whom:                 thierry at pompo.net
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	tktable
 XPORTVERSION=	2.8
 XCATEGORIES=	x11-toolkits tk83
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=${PORTNAME}
 XDISTNAME=	${PORTNAME:S/tk/Tk/}${PORTVERSION}
 X
 XMAINTAINER=	ports at freebsd.org
 XCOMMENT=	A table/matrix widget extension to tk/tcl
 X
 XLIB_DEPENDS=	tk83.1:${PORTSDIR}/x11-toolkits/tk83
 X
 XGNU_CONFIGURE=	yes
 XCONFIGURE_ARGS=	--prefix=${PREFIX}					\
 X		--with-tcl=${LOCALBASE}/lib/tcl${TK_VER}		\
 X		--with-tk=${LOCALBASE}/lib/tk${TK_VER}			\
 X		--with-tclinclude=${LOCALBASE}/include/tcl${TK_VER}	\
 X		--with-tkinclude=${LOCALBASE}/include/tk${TK_VER}	\
 X		--with-x=${X11BASE}
 XUSE_REINPLACE=	yes
 X
 XTK_VER=		8.3
 XPLIST_SUB=	DESTDIR=lib/${DISTNAME}
 X
 Xpre-configure:
 X.if defined(NOPORTDOCS)
 X	@${REINPLACE_CMD} -e "s:install-libraries install-doc:install-libraries:" \
 X		${WRKSRC}/Makefile.in
 X.endif
 X
 Xpost-install:
 X.if !defined(NOPORTDOCS)
 X	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
 X.endif
 X
 X.if defined(MAINTAINER_MODE)
 Xtest:	build
 X	(cd ${WRKSRC};	\
 X	${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
 X.endif
 X
 X.include <bsd.port.mk>
 END-of-x11-toolkits/tktable/Makefile
 echo x - x11-toolkits/tktable/distinfo
 sed 's/^X//' >x11-toolkits/tktable/distinfo << 'END-of-x11-toolkits/tktable/distinfo'
 XMD5 (Tktable2.8.tar.gz) = 6d29fe86f925acf58bb3a268cc511564
 END-of-x11-toolkits/tktable/distinfo
 echo x - x11-toolkits/tktable/pkg-descr
 sed 's/^X//' >x11-toolkits/tktable/pkg-descr << 'END-of-x11-toolkits/tktable/pkg-descr'
 XTkTable is a full-featured 2D table widget (in the spreadsheet sense)
 Xextension for Tk.
 X
 XIt supports images, embedded windows, varying colors and fonts, and more.
 X
 XWWW: http://tktable.sourceforge.net/
 END-of-x11-toolkits/tktable/pkg-descr
 echo x - x11-toolkits/tktable/pkg-plist
 sed 's/^X//' >x11-toolkits/tktable/pkg-plist << 'END-of-x11-toolkits/tktable/pkg-plist'
 X%%DESTDIR%%/libTktable2.8.so
 X%%DESTDIR%%/tkTable.tcl
 X%%DESTDIR%%/pkgIndex.tcl
 X%%DESTDIR%%/license.txt
 X%%PORTDOCS%%%%DOCSDIR%%/README.txt
 X%%PORTDOCS%%%%DOCSDIR%%/html/tkTable.html
 X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 X%%PORTDOCS%%@dirrm %%DOCSDIR%%
 X at dirrm %%DESTDIR%%
 END-of-x11-toolkits/tktable/pkg-plist
 echo c - x11-toolkits/tktable/files
 mkdir -p x11-toolkits/tktable/files > /dev/null 2>&1
 echo x - x11-toolkits/tktable/files/patch-Makefile.in
 sed 's/^X//' >x11-toolkits/tktable/files/patch-Makefile.in << 'END-of-x11-toolkits/tktable/files/patch-Makefile.in'
 X--- Makefile.in.orig	Wed Oct 16 09:40:33 2002
 X+++ Makefile.in	Thu Jun 26 11:45:34 2003
 X@@ -98,6 +98,7 @@
 X datadir		= @datadir@
 X mandir		= @mandir@
 X includedir	= @includedir@
 X+docsdir		= @prefix@/share/doc/tktable
 X 
 X DESTDIR		=
 X 
 X@@ -241,7 +242,6 @@
 X 	@mkdir -p $(DESTDIR)$(pkglibdir)
 X 	$(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)
 X 	$(INSTALL_DATA) $(srcdir)/license.txt $(DESTDIR)$(pkglibdir)
 X-	$(INSTALL_DATA) $(srcdir)/README.txt $(DESTDIR)$(pkglibdir)
 X 
 X #========================================================================
 X # This rule installs platform-independent files, such as header files.
 X@@ -255,10 +255,11 @@
 X #========================================================================
 X 
 X install-doc: doc
 X-	@mkdir -p $(DESTDIR)$(pkglibdir)/html
 X+	@mkdir -p $(docsdir)/html
 X+	$(INSTALL_DATA) $(srcdir)/README.txt $(docsdir)
 X 	@list='$(PKG_MAN_PAGES)'; for p in $$list; do \
 X 		html=`basename $$p|sed -e 's/.[^.]*$$//'`.html; \
 X-	  	$(INSTALL_DATA) $(srcdir)/doc/$$html $(DESTDIR)$(pkglibdir)/html/; \
 X+	  	$(INSTALL_DATA) $(srcdir)/doc/$$html $(docsdir)/html/; \
 X 	done
 X 
 X html:
 END-of-x11-toolkits/tktable/files/patch-Makefile.in
 exit
 --- tktable.shar ends here ---
 
 Best regards,
 -- 
 Th. Thomas.



More information about the freebsd-ports-bugs mailing list