aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-07-25 19:39:48 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-07-25 19:39:48 +0000
commitd9c7c45dc4fd8beb1c424a8d605bbb3bc1286634 (patch)
tree5f01fb8475f9b8cf1bede4e1ac3a935c54d71778 /textproc
parent79598854a7fbcb5b618d8ae11f04190c143cd78f (diff)
downloadports-d9c7c45dc4fd8beb1c424a8d605bbb3bc1286634.tar.gz
ports-d9c7c45dc4fd8beb1c424a8d605bbb3bc1286634.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/xml2rfc/Makefile36
-rw-r--r--textproc/xml2rfc/distinfo1
-rw-r--r--textproc/xml2rfc/files/patch-xml2rfc.tcl15
-rw-r--r--textproc/xml2rfc/pkg-comment1
-rw-r--r--textproc/xml2rfc/pkg-descr7
-rw-r--r--textproc/xml2rfc/pkg-plist16
7 files changed, 77 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 81092f276649..0b18fb1c1468 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -345,6 +345,7 @@
SUBDIR += xls2xml
SUBDIR += xml-i18n-tools
SUBDIR += xml-lite.el
+ SUBDIR += xml2rfc
SUBDIR += xml4j
SUBDIR += xmlcharent
SUBDIR += xmlpp
diff --git a/textproc/xml2rfc/Makefile b/textproc/xml2rfc/Makefile
new file mode 100644
index 000000000000..5ad3bb7313a4
--- /dev/null
+++ b/textproc/xml2rfc/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: xml2rfc
+# Date created: 8 July 2002
+# Whom: jabley@automagic.org
+#
+# $FreeBSD$
+
+PORTNAME= xml2rfc
+PORTVERSION= 1.13
+CATEGORIES= textproc tcl83
+MASTER_SITES= http://xml.resource.org/authoring/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= jabley@automagic.org
+
+RUN_DEPENDS= tclsh8.3:${PORTSDIR}/lang/tcl83
+
+.if !defined(WITHOUT_X11)
+RUN_DEPENDS+= wish8.3:${PORTSDIR}/x11-toolkits/tk83
+CATEGORIES+= tk83
+.endif
+
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/xml2rfc.tcl ${PREFIX}/bin/xml2rfc
+ ${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2txt
+ ${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2html
+ ${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2nroff
+ ${MKDIR} ${PREFIX}/share/doc/xml2rfc
+ for doc in README.html README.txt README.xml \
+ draft-mrose-writing-rfcs.html draft-mrose-writing-rfcs.txt \
+ rfc2629.dtd rfc2629.html rfc2629.txt rfc2629.xml rfc2629.xslt; \
+ do ${INSTALL_DATA} ${WRKSRC}/$${doc} ${PREFIX}/share/doc/xml2rfc; \
+ done
+
+.include <bsd.port.mk>
diff --git a/textproc/xml2rfc/distinfo b/textproc/xml2rfc/distinfo
new file mode 100644
index 000000000000..c1246b18d561
--- /dev/null
+++ b/textproc/xml2rfc/distinfo
@@ -0,0 +1 @@
+MD5 (xml2rfc-1.13.tgz) = f424ad53ef361d101af61a4318647d28
diff --git a/textproc/xml2rfc/files/patch-xml2rfc.tcl b/textproc/xml2rfc/files/patch-xml2rfc.tcl
new file mode 100644
index 000000000000..a0ef216941de
--- /dev/null
+++ b/textproc/xml2rfc/files/patch-xml2rfc.tcl
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- xml2rfc.tcl.orig Mon Jun 10 04:32:34 2002
++++ xml2rfc.tcl Thu Jul 25 21:33:22 2002
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ # the next line restarts using the correct interpreter \
+-if test ! -z "$DISPLAY"; then exec wish "$0" "$0" "$@"; \
+-elif test ! -z "$1"; then exec tclsh "$0" "$0" "$@"; \
++if test ! -z "$DISPLAY"; then exec wish8.3 "$0" "$0" "$@"; \
++elif test ! -z "$1"; then exec tclsh8.3 "$0" "$0" "$@"; \
+ else echo "usage: $0 filename" >&2; exit 1; fi
+
+
diff --git a/textproc/xml2rfc/pkg-comment b/textproc/xml2rfc/pkg-comment
new file mode 100644
index 000000000000..7060b7e0b7a3
--- /dev/null
+++ b/textproc/xml2rfc/pkg-comment
@@ -0,0 +1 @@
+A tool to create RFCs and related documents from XML, as per RFC2629
diff --git a/textproc/xml2rfc/pkg-descr b/textproc/xml2rfc/pkg-descr
new file mode 100644
index 000000000000..0f4113eefc48
--- /dev/null
+++ b/textproc/xml2rfc/pkg-descr
@@ -0,0 +1,7 @@
+This is a port of xml2rfc, a tool for producing documents formatted
+according to the requirements of the RFC editor from XML, as described
+in RFC 2629.
+
+WWW: http://xml.resource.org/
+
+jabley@automagic.org
diff --git a/textproc/xml2rfc/pkg-plist b/textproc/xml2rfc/pkg-plist
new file mode 100644
index 000000000000..e4217edf02b9
--- /dev/null
+++ b/textproc/xml2rfc/pkg-plist
@@ -0,0 +1,16 @@
+@comment $FreeBSD$
+bin/xml2rfc
+bin/xml2txt
+bin/xml2html
+bin/xml2nroff
+share/doc/xml2rfc/README.html
+share/doc/xml2rfc/README.txt
+share/doc/xml2rfc/README.xml
+share/doc/xml2rfc/draft-mrose-writing-rfcs.html
+share/doc/xml2rfc/draft-mrose-writing-rfcs.txt
+share/doc/xml2rfc/rfc2629.dtd
+share/doc/xml2rfc/rfc2629.html
+share/doc/xml2rfc/rfc2629.txt
+share/doc/xml2rfc/rfc2629.xml
+share/doc/xml2rfc/rfc2629.xslt
+@dirrm share/doc/xml2rfc