mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
[NEW PORT] textproc/tkxmlive - Tcl/Tk XML Intelligence Visual Editor
Tcl/TK XML Intelligence Visual Editor WWW: http://tkxmlive.sourceforge.netTcl/ PR: ports/70846 Submitted by: Nicola Vitale <nivit@email.it>
This commit is contained in:
parent
a1e354b0a9
commit
9033893b65
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124920
@ -629,6 +629,7 @@
|
||||
SUBDIR += texi2html
|
||||
SUBDIR += tinyxml
|
||||
SUBDIR += tkdiff
|
||||
SUBDIR += tkxmlive
|
||||
SUBDIR += tl-aspell
|
||||
SUBDIR += tn-aspell
|
||||
SUBDIR += tnef2txt
|
||||
|
73
textproc/tkxmlive/Makefile
Normal file
73
textproc/tkxmlive/Makefile
Normal file
@ -0,0 +1,73 @@
|
||||
# New ports collection makefile for: tkxmlive
|
||||
# Date created: 4 December 2003
|
||||
# Whom: nivit@users.sourceforge.net
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= tkxmlive
|
||||
PORTVERSION= 0.1.5
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= tkxmlive-0.1.5-1
|
||||
|
||||
MAINTAINER= nivit@users.sourceforge.net
|
||||
COMMENT= Tcl/Tk XML Intelligence Visual Editor
|
||||
|
||||
RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
|
||||
${LOCALBASE}/lib/bwidget/pkgIndex.tcl:${PORTSDIR}/x11-toolkits/bwidget
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
TK_VER?= 8.4
|
||||
WISH= wish${TK_VER}
|
||||
|
||||
REPLACE_FILES= ${WRKSRC}/interface.tcl \
|
||||
${WRKSRC}/tkxmlive
|
||||
|
||||
post-patch: .SILENT
|
||||
for FILE in ${REPLACE_FILES}; do \
|
||||
${SED} -i .bak\
|
||||
-e "/%%DATADIR%%/s//${DATADIR:S/\//\\\//g}/g" \
|
||||
-e "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/g" \
|
||||
-e "/%%WISH%%/s//${WISH:S/\//\\\//g}/g" \
|
||||
$${FILE}; \
|
||||
done;
|
||||
|
||||
LN_OPTS?= -sf
|
||||
|
||||
FIND_ARGS1= -type d \! -empty
|
||||
FIND_ARGS2= -type f -and -perm -a+x -and \! \
|
||||
-name "*.orig" \! -name "*.bak"
|
||||
FIND_ARGS3= -type f -and \! -perm -a+x -and \! \
|
||||
-name "*.orig" \! -name "*~" \! \
|
||||
-regex ".*[[:upper:]]+"
|
||||
|
||||
do-install: .SILENT
|
||||
# Script and data
|
||||
cd ${WRKSRC}; \
|
||||
DIRS=$$(${FIND} . ${FIND_ARGS1}); \
|
||||
for DIR in $${DIRS}; do \
|
||||
${MKDIR} ${DATADIR}/$${DIR}; \
|
||||
done; \
|
||||
FILES=$$(${FIND} . ${FIND_ARGS2}); \
|
||||
for FILE in $${FILES}; do \
|
||||
${INSTALL_SCRIPT} $${FILE} ${DATADIR}/$${FILE}; \
|
||||
done; \
|
||||
FILES=$$(${FIND} -E . ${FIND_ARGS3}); \
|
||||
for FILE in $${FILES}; do \
|
||||
${INSTALL_DATA} $${FILE} ${DATADIR}/$${FILE}; \
|
||||
done;
|
||||
|
||||
# Links to executables
|
||||
cd ${WRKSRC}; \
|
||||
FILES=${PORTNAME}; \
|
||||
for f in $${FILES}; do \
|
||||
${LN} ${LN_OPTS} ${DATADIR}/$${f} ${PREFIX}/bin/$${f}; \
|
||||
done;
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
textproc/tkxmlive/distinfo
Normal file
1
textproc/tkxmlive/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (tkxmlive-0.1.5-1.tar.gz) = e369fb667db3aee67359880e228bf786
|
10
textproc/tkxmlive/files/patch-interface.tcl
Normal file
10
textproc/tkxmlive/files/patch-interface.tcl
Normal file
@ -0,0 +1,10 @@
|
||||
--- interface.tcl Thu May 30 23:56:36 2002
|
||||
+++ interface.tcl.new Fri Feb 20 11:06:41 2004
|
||||
@@ -1,4 +1,6 @@
|
||||
-#!/usr/bin/wish
|
||||
+#!/bin/sh
|
||||
+# The next line restarts using %%WISH%% \
|
||||
+exec %%WISH%% "$0"
|
||||
|
||||
|
||||
package require msgcat
|
8
textproc/tkxmlive/files/patch-tkxmlive
Normal file
8
textproc/tkxmlive/files/patch-tkxmlive
Normal file
@ -0,0 +1,8 @@
|
||||
--- tkxmlive Tue Mar 26 17:21:14 2002
|
||||
+++ tkxmlive.port Thu Dec 4 13:49:54 2003
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
-cd /home/alex/work/aspirantura/tmp
|
||||
+cd %%DATADIR%%
|
||||
./interface.tcl
|
7
textproc/tkxmlive/pkg-descr
Normal file
7
textproc/tkxmlive/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Tcl/TK XML Intelligence Visual Editor
|
||||
|
||||
WWW: http://tkxmlive.sourceforge.net/
|
||||
|
||||
--
|
||||
Nicola Vitale
|
||||
nivit@users.sourceforge.net
|
51
textproc/tkxmlive/pkg-plist
Normal file
51
textproc/tkxmlive/pkg-plist
Normal file
@ -0,0 +1,51 @@
|
||||
bin/tkxmlive
|
||||
%%DATADIR%%/Xresource
|
||||
%%DATADIR%%/book.css
|
||||
%%DATADIR%%/book.xml
|
||||
%%DATADIR%%/gui/default.tcl
|
||||
%%DATADIR%%/gui/gui.xml
|
||||
%%DATADIR%%/gui/msgs/en.msg
|
||||
%%DATADIR%%/gui/msgs/ru.msg
|
||||
%%DATADIR%%/img/del_tag.gif
|
||||
%%DATADIR%%/img/err-img.gif
|
||||
%%DATADIR%%/img/info_tag.gif
|
||||
%%DATADIR%%/img/ins_after_tag.gif
|
||||
%%DATADIR%%/img/ins_before_tag.gif
|
||||
%%DATADIR%%/img/ins_in_tag.gif
|
||||
%%DATADIR%%/img/panel.gif
|
||||
%%DATADIR%%/interface.tcl
|
||||
%%DATADIR%%/library/gridbox.tcl
|
||||
%%DATADIR%%/library/gui.tcl
|
||||
%%DATADIR%%/library/pane.tcl
|
||||
%%DATADIR%%/library/parsexml.tcl
|
||||
%%DATADIR%%/library/pkgIndex.tcl
|
||||
%%DATADIR%%/library/richtext-bind.tcl
|
||||
%%DATADIR%%/library/richtext-instag.tcl
|
||||
%%DATADIR%%/library/richtext-status.tcl
|
||||
%%DATADIR%%/library/richtext-updatewidget.tcl
|
||||
%%DATADIR%%/library/richtext.tcl
|
||||
%%DATADIR%%/library/scrolled_text.tcl
|
||||
%%DATADIR%%/library/simcss.tcl
|
||||
%%DATADIR%%/library/simxml.tcl
|
||||
%%DATADIR%%/library/tmp.tcl
|
||||
%%DATADIR%%/sample/article/article-1.xml
|
||||
%%DATADIR%%/sample/article/article-2.xml
|
||||
%%DATADIR%%/sample/article/article-3.xml
|
||||
%%DATADIR%%/sample/article/article-3.xml.html
|
||||
%%DATADIR%%/sample/article/article-clear.css
|
||||
%%DATADIR%%/sample/article/article.css
|
||||
%%DATADIR%%/sample/article/article.xml
|
||||
%%DATADIR%%/sample/article/article.xsl
|
||||
%%DATADIR%%/sample/article/article2latex.xsl
|
||||
%%DATADIR%%/sample/article/translate.sh
|
||||
%%DATADIR%%/sample/article/xsl2tex.sh
|
||||
%%DATADIR%%/sample/docbook.css
|
||||
%%DATADIR%%/sample/docbook.xml
|
||||
%%DATADIR%%/tkxmlive
|
||||
@dirrm %%DATADIR%%/gui/msgs
|
||||
@dirrm %%DATADIR%%/gui
|
||||
@dirrm %%DATADIR%%/img
|
||||
@dirrm %%DATADIR%%/library
|
||||
@dirrm %%DATADIR%%/sample/article
|
||||
@dirrm %%DATADIR%%/sample
|
||||
@dirrm %%DATADIR%%/
|
Loading…
Reference in New Issue
Block a user