summaryrefslogtreecommitdiff
path: root/www/tidy-devel
diff options
context:
space:
mode:
Diffstat (limited to 'www/tidy-devel')
-rw-r--r--www/tidy-devel/Makefile35
-rw-r--r--www/tidy-devel/distinfo1
-rw-r--r--www/tidy-devel/files/patch-aa19
-rw-r--r--www/tidy-devel/files/patch-ab13
-rw-r--r--www/tidy-devel/files/patch-ac53
-rw-r--r--www/tidy-devel/files/patch-ad27
-rw-r--r--www/tidy-devel/files/patch-ae24
-rw-r--r--www/tidy-devel/files/patch-af37
-rw-r--r--www/tidy-devel/files/patch-ag20
-rw-r--r--www/tidy-devel/files/patch-ah11
-rw-r--r--www/tidy-devel/pkg-comment1
-rw-r--r--www/tidy-devel/pkg-descr17
-rw-r--r--www/tidy-devel/pkg-plist6
13 files changed, 0 insertions, 264 deletions
diff --git a/www/tidy-devel/Makefile b/www/tidy-devel/Makefile
deleted file mode 100644
index e9cb95213833..000000000000
--- a/www/tidy-devel/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# New ports collection makefile for: tidy
-# Date created: 27 Oct 1998
-# Whom: Abel Chow <achow@transoft.net>
-#
-# $FreeBSD$
-#
-
-PORTNAME= tidy
-PORTVERSION= 20000804
-PORTREVISION= 2
-CATEGORIES= www
-MASTER_SITES= http://www.w3.org/People/Raggett/
-DISTNAME= tidy4aug00
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= saken@hotel.rmta.org
-
-MAN1= tidy.1
-
-ALL_TARGET= tidy
-
-DOCFILES= Overview.html tidy.gif release-notes.html grid.gif
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/tidy ${PREFIX}/bin/tidy
- @${INSTALL_MAN} ${WRKSRC}/man_page.txt ${PREFIX}/man/man1/tidy.1
-.if !defined(NOPORTDOCS)
- @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
- @${MKDIR} ${PREFIX}/share/doc/tidy
-.for docfile in ${DOCFILES}
- @${INSTALL_MAN} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/tidy
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/www/tidy-devel/distinfo b/www/tidy-devel/distinfo
deleted file mode 100644
index 7d94c15981fc..000000000000
--- a/www/tidy-devel/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (tidy4aug00.tgz) = 5faa2b127ae7f1c7ab07ed677db189e7
diff --git a/www/tidy-devel/files/patch-aa b/www/tidy-devel/files/patch-aa
deleted file mode 100644
index 0f0aac98771d..000000000000
--- a/www/tidy-devel/files/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.orig Thu May 4 20:22:46 2000
-+++ Makefile Thu May 4 20:23:52 2000
-@@ -1,14 +1,8 @@
- # Makefile - for tidy
-
--CC= gcc
-+#CC= gcc
-
--CFLAGS= -O
--
--# Makefile - for tidy
--
--CC= gcc
--
--CFLAGS= -O
-+CFLAGS+= -D__USE_MISC
-
- OFILES= attrs.o istack.o parser.o tags.o \
- entities.o lexer.o pprint.o clean.o \
diff --git a/www/tidy-devel/files/patch-ab b/www/tidy-devel/files/patch-ab
deleted file mode 100644
index 7493b2df4ba8..000000000000
--- a/www/tidy-devel/files/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
---- platform.h.orig Thu Jan 13 07:19:19 2000
-+++ platform.h Mon Mar 27 16:31:20 2000
-@@ -17,9 +17,8 @@
- It enables tidy to find config files named ~/.tidyrc
- and ~your/.tidyrc etc if the HTML_TIDY environment
- variable is not set. Contributed by Todd Lewis.
--
--#define SUPPORT_GETPWNAM
- */
-+#define SUPPORT_GETPWNAM
-
- #include <ctype.h>
- #include <stdio.h>
diff --git a/www/tidy-devel/files/patch-ac b/www/tidy-devel/files/patch-ac
deleted file mode 100644
index 073e660a9fec..000000000000
--- a/www/tidy-devel/files/patch-ac
+++ /dev/null
@@ -1,53 +0,0 @@
---- config.c.orig Sat Aug 5 01:21:05 2000
-+++ config.c Mon Jul 8 23:07:17 2002
-@@ -94,6 +94,7 @@
- Bool TidyMark = yes; /* add meta element indicating tidied doc */
- Bool Emacs = no; /* if true format error output for GNU Emacs */
- Bool LiteralAttribs = no; /* if true attributes may use newlines */
-+Bool PreserveEntities = no; /* if true don't convert entities to chars */
-
- typedef struct _lex PLex;
-
-@@ -186,6 +187,7 @@
- {"doctype", {(int *)&doctype_str}, ParseDocType},
- {"fix-backslash", {(int *)&FixBackslash}, ParseBool},
- {"gnu-emacs", {(int *)&Emacs}, ParseBool},
-+ {"preserve-entities", {(int *)&PreserveEntities}, ParseBool},
-
- /* this must be the final entry */
- {0, 0, 0}
-@@ -392,7 +394,8 @@
- home_dir = passwd->pw_dir;
- }
-
-- if (p = realloc(expanded_filename, strlen(filename)+strlen(home_dir)+1))
-+ if (home_dir != NULL &&
-+ (p = realloc(expanded_filename, strlen(filename)+strlen(home_dir)+1)))
- {
- strcat(strcpy(expanded_filename = p, home_dir), filename);
- return(expanded_filename);
-@@ -423,7 +426,10 @@
- /* open the file and parse its contents */
-
- if ((fin = fopen(fname, "r")) == null)
-- FileError(stderr, fname);
-+ {
-+ if (FileExists(fname)) /* quiet file open error on */
-+ FileError(stderr, fname); /* non-existent file */
-+ }
- else
- {
- config_text = null;
-@@ -533,6 +539,12 @@
- {
- QuoteAmpersand = yes;
- HideEndTags = no;
-+ }
-+
-+ /* Avoid &amp;copy; in preserve-entities case */
-+ if (PreserveEntities)
-+ {
-+ QuoteAmpersand = no;
- }
- }
-
diff --git a/www/tidy-devel/files/patch-ad b/www/tidy-devel/files/patch-ad
deleted file mode 100644
index 4de7c781e0e4..000000000000
--- a/www/tidy-devel/files/patch-ad
+++ /dev/null
@@ -1,27 +0,0 @@
---- html.h.orig Fri Aug 4 18:21:05 2000
-+++ html.h Sat Jul 20 16:20:55 2002
-@@ -4,6 +4,8 @@
- See tidy.c for the copyright notice.
- */
-
-+#include <sys/types.h>
-+
- /* indentation modes */
-
- #define NO_INDENT 0
-@@ -380,6 +382,7 @@
-
- void FatalError(char *msg);
- void FileError(FILE *fp, const char *file);
-+int FileExists(const char *file);
-
- Node *GetToken(Lexer *lexer, uint mode);
-
-@@ -758,6 +761,7 @@
- extern Bool Word2000;
- extern Bool Emacs; /* sasdjb 01May00 GNU Emacs error output format */
- extern Bool LiteralAttribs;
-+extern Bool PreserveEntities;
-
- /* Parser methods for tags */
-
diff --git a/www/tidy-devel/files/patch-ae b/www/tidy-devel/files/patch-ae
deleted file mode 100644
index fb56ac67c400..000000000000
--- a/www/tidy-devel/files/patch-ae
+++ /dev/null
@@ -1,24 +0,0 @@
---- lexer.c.orig Fri Aug 4 19:21:05 2000
-+++ lexer.c Thu Nov 15 21:44:03 2001
-@@ -1517,8 +1517,10 @@
-
- continue;
- }
-- else if (c == '&' && mode != IgnoreMarkup)
-- ParseEntity(lexer, mode);
-+ else if (c == '&' && mode != IgnoreMarkup
-+ && !PreserveEntities) {
-+ ParseEntity(lexer, mode);
-+ }
-
- /* this is needed to avoid trimming trailing whitespace */
- if (mode == IgnoreWhitespace)
-@@ -2624,7 +2626,7 @@
- seen_gt = yes;
- }
-
-- if (c == '&')
-+ if (c == '&') /* XXX: possibly need support for PreserveEntities */
- {
- AddCharToLexer(lexer, c);
- ParseEntity(lexer, null);
diff --git a/www/tidy-devel/files/patch-af b/www/tidy-devel/files/patch-af
deleted file mode 100644
index 4c9587322849..000000000000
--- a/www/tidy-devel/files/patch-af
+++ /dev/null
@@ -1,37 +0,0 @@
---- localize.c.orig Fri Aug 4 19:21:05 2000
-+++ localize.c Mon Nov 19 14:39:38 2001
-@@ -8,6 +8,9 @@
- to localize HTML tidy.
- */
-
-+#include <sys/types.h>
-+#include <sys/stat.h>
-+
- #include "platform.h"
- #include "html.h"
-
-@@ -50,6 +53,16 @@
- tidy_out(fp, "Can't open \"%s\"\n", file);
- }
-
-+int FileExists(const char *file)
-+{
-+ struct stat st;
-+
-+ if (stat(file, &st) < 0)
-+ return (0);
-+ else
-+ return (1);
-+}
-+
- static void ReportTag(Lexer *lexer, Node *tag)
- {
- if (tag)
-@@ -736,6 +749,7 @@
- tidy_out(out, " -xml use this when input is wellformed xml\n");
- tidy_out(out, " -asxml to convert html to wellformed xml\n");
- tidy_out(out, " -slides to burst into slides on h2 elements\n");
-+ tidy_out(out, " -preserve to preserve entities from source file\n");
- tidy_out(out, "\n");
-
- tidy_out(out, "Character encodings\n");
diff --git a/www/tidy-devel/files/patch-ag b/www/tidy-devel/files/patch-ag
deleted file mode 100644
index 3c62b315f922..000000000000
--- a/www/tidy-devel/files/patch-ag
+++ /dev/null
@@ -1,20 +0,0 @@
---- man_page.txt.orig Fri Aug 4 19:21:05 2000
-+++ man_page.txt Thu Nov 15 21:54:05 2001
-@@ -12,6 +12,7 @@
- .IR column ]
- .RB [ -upper ]
- .RB [ -clean ]
-+.RB [ -preserve ]
- .RB [ -raw
- |
- .B -ascii
-@@ -106,6 +107,9 @@
- .TP
- .B -slides
- Burst into slides on <H2> elements.
-+.TP
-+.B -preserve
-+Preserve source file entities as is.
- .TP
- .BR -help ", " -h
- List command-line options.
diff --git a/www/tidy-devel/files/patch-ah b/www/tidy-devel/files/patch-ah
deleted file mode 100644
index f0a953e44452..000000000000
--- a/www/tidy-devel/files/patch-ah
+++ /dev/null
@@ -1,11 +0,0 @@
---- tidy.c.orig Fri Aug 4 19:21:05 2000
-+++ tidy.c Mon Nov 19 14:39:50 2001
-@@ -785,6 +785,8 @@
- Quiet = yes;
- else if (strcmp(arg, "slides") == 0)
- BurstSlides = yes;
-+ else if (strcmp(arg, "preserve") == 0)
-+ PreserveEntities = yes;
- else if (strcmp(arg, "help") == 0 ||
- argv[1][1] == '?'|| argv[1][1] == 'h')
- {
diff --git a/www/tidy-devel/pkg-comment b/www/tidy-devel/pkg-comment
deleted file mode 100644
index ca421aa9423d..000000000000
--- a/www/tidy-devel/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Fixes and tidies up HTML files
diff --git a/www/tidy-devel/pkg-descr b/www/tidy-devel/pkg-descr
deleted file mode 100644
index ab48448b25d5..000000000000
--- a/www/tidy-devel/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-When editing HTML it's easy to make mistakes. Wouldn't it be nice if
-there was a simple way to fix these mistakes automatically and tidy up
-sloppy editing into nicely layed out markup? Well now there is thanks
-to Hewlett Packard's Dave Raggett. HTML TIDY is a free utility for
-doing just that. It also works great on the attrociously hard to read
-markup generated by specialized HTML editors and conversion tools, and
-can help you identify where you need to pay further attention on
-making your pages more accessible to people with disabilities.
-
-Tidy is able to fix up a wide range of problems and to bring to your
-attention things that you need to work on yourself. Each item found is
-listed with the line number and column so that you can see where the
-problem lies in your markup. Tidy won't generate a cleaned up version
-when there are problems that it can't be sure of how to handle. These
-are logged as "errors" rather than "warnings".
-
-WWW: http://www.w3c.org/People/Raggett/tidy/
diff --git a/www/tidy-devel/pkg-plist b/www/tidy-devel/pkg-plist
deleted file mode 100644
index 156ae270f629..000000000000
--- a/www/tidy-devel/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/tidy
-share/doc/tidy/Overview.html
-share/doc/tidy/grid.gif
-share/doc/tidy/release-notes.html
-share/doc/tidy/tidy.gif
-@dirrm share/doc/tidy