View | Details | Raw Unified | Return to bug 70558
Collapse All | Expand All

(-)./files/patch-xml2rfc.tcl (-8 / +6 lines)
Lines 1-15 Link Here
1
1
2
$FreeBSD: ports/textproc/xml2rfc/files/patch-xml2rfc.tcl,v 1.1 2002/07/25 19:39:48 naddy Exp $
2
$FreeBSD: ports/textproc/xml2rfc/files/patch-xml2rfc.tcl,v 1.1 2002/07/25 19:39:48 naddy Exp $
3
3
4
--- xml2rfc.tcl.orig	Mon Jun 10 04:32:34 2002
4
--- xml2rfc.tcl.orig	Mon Aug 16 17:55:38 2004
5
+++ xml2rfc.tcl	Thu Jul 25 21:33:22 2002
5
+++ xml2rfc.tcl	Mon Aug 16 17:55:45 2004
6
@@ -1,7 +1,7 @@
6
@@ -1,6 +1,6 @@
7
 #!/bin/sh
7
 #!/bin/sh
8
 # the next line restarts using the correct interpreter \
8
 # the next line restarts using the correct interpreter \
9
-if   test ! -z "$DISPLAY"; then exec wish "$0" "$0" "$@"; \
9
-exec tclsh "$0" "$0" "$@"
10
-elif test ! -z "$1";       then exec tclsh "$0" "$0" "$@"; \
10
+exec tclsh8.3 "$0" "$0" "$@"
11
+if   test ! -z "$DISPLAY"; then exec wish8.3 "$0" "$0" "$@"; \
12
+elif test ! -z "$1";       then exec tclsh8.3 "$0" "$0" "$@"; \
13
 else                            echo "usage: $0 filename" >&2; exit 1; fi
14
 
11
 
15
 
12
 
13
 # NOTE FROM CLIVE
(-)./Makefile (-8 / +13 lines)
Lines 5-16 Link Here
5
# $FreeBSD: ports/textproc/xml2rfc/Makefile,v 1.6 2004/07/09 22:29:23 fenner Exp $
5
# $FreeBSD: ports/textproc/xml2rfc/Makefile,v 1.6 2004/07/09 22:29:23 fenner Exp $
6
6
7
PORTNAME=	xml2rfc
7
PORTNAME=	xml2rfc
8
PORTVERSION=	1.24
8
PORTVERSION=	1.25
9
CATEGORIES=	textproc tcl83
9
CATEGORIES=	textproc tcl83
10
MASTER_SITES=	http://xml.resource.org/authoring/
10
MASTER_SITES=	http://xml.resource.org/authoring/
11
EXTRACT_SUFX=	.tgz
11
EXTRACT_SUFX=	.tgz
12
12
13
MAINTAINER=	jabley@automagic.org
13
MAINTAINER=	lennox@cs.columbia.edu
14
COMMENT=	A tool to create RFCs and related documents from XML, as per RFC2629
14
COMMENT=	A tool to create RFCs and related documents from XML, as per RFC2629
15
15
16
RUN_DEPENDS=	tclsh8.3:${PORTSDIR}/lang/tcl83
16
RUN_DEPENDS=	tclsh8.3:${PORTSDIR}/lang/tcl83
Lines 27-40 Link Here
27
	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2txt
27
	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2txt
28
	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2html
28
	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2html
29
	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2nroff
29
	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2nroff
30
	${MKDIR} ${PREFIX}/share/doc/xml2rfc
30
.if !defined (NOPORTDOCS)
31
	for doc in README.html README.txt README.xml \
31
	${MKDIR} ${DOCSDIR} ${DOCSDIR}/contrib
32
.for doc in README.html README.txt README.xml \
32
	    draft-mrose-writing-rfcs.html draft-mrose-writing-rfcs.txt \
33
	    draft-mrose-writing-rfcs.html draft-mrose-writing-rfcs.txt \
33
	    rfc2629.dtd rfc2629.html rfc2629.rnc rfc2629.txt rfc2629.xml \
34
	    rfc2629.dtd rfc2629.html rfc2629.rnc rfc2629.txt rfc2629.xml \
34
	    rfc2629.xsd; \
35
	    rfc2629.xsd
35
	do ${INSTALL_DATA} ${WRKSRC}/$${doc} ${PREFIX}/share/doc/xml2rfc; \
36
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
36
	done
37
.endfor
37
	${INSTALL_DATA} ${WRKSRC}/.xml2rfc.rc ${PREFIX}/share/doc/xml2rfc/dot.xml2rfc.rc
38
.for doc in concat.pl fast-sync.sh new-draft.xml template.xml xml2rfcpp.pl
39
	${INSTALL_DATA} ${WRKSRC}/contrib/${doc} ${DOCSDIR}/contrib
40
.endfor
41
	${INSTALL_DATA} ${WRKSRC}/.xml2rfc.rc ${DOCSDIR}/dot.xml2rfc.rc
42
.endif
38
43
39
post-install:
44
post-install:
40
	@${ECHO}
45
	@${ECHO}
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (xml2rfc-1.24.tgz) = 5023f2c61f2fb182d1fd77d5f59a766e
1
MD5 (xml2rfc-1.25.tgz) = 64fc47270d4c05c061ad7cb2c8efcd74
2
SIZE (xml2rfc-1.24.tgz) = 341580
2
SIZE (xml2rfc-1.25.tgz) = 347529
(-)./pkg-plist (+6 lines)
Lines 15-18 Link Here
15
%%PORTDOCS%%%%DOCSDIR%%/rfc2629.txt
15
%%PORTDOCS%%%%DOCSDIR%%/rfc2629.txt
16
%%PORTDOCS%%%%DOCSDIR%%/rfc2629.xml
16
%%PORTDOCS%%%%DOCSDIR%%/rfc2629.xml
17
%%PORTDOCS%%%%DOCSDIR%%/rfc2629.xsd
17
%%PORTDOCS%%%%DOCSDIR%%/rfc2629.xsd
18
%%PORTDOCS%%%%DOCSDIR%%/contrib/concat.pl
19
%%PORTDOCS%%%%DOCSDIR%%/contrib/fast-sync.sh
20
%%PORTDOCS%%%%DOCSDIR%%/contrib/new-draft.xml
21
%%PORTDOCS%%%%DOCSDIR%%/contrib/template.xml
22
%%PORTDOCS%%%%DOCSDIR%%/contrib/xml2rfcpp.pl
23
%%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib
18
%%PORTDOCS%%@dirrm %%DOCSDIR%%
24
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 70558