summaryrefslogtreecommitdiff
path: root/www/wdg-validate
diff options
context:
space:
mode:
authorabs <abs>2001-05-30 09:44:53 +0000
committerabs <abs>2001-05-30 09:44:53 +0000
commitbc78f8f231aec7a65c907e2d79814c69340c78cd (patch)
treec9b71bbbbcf7fbc685c63316c56f0f3dc0c1768c /www/wdg-validate
parent2f87b0b6517b2d42b0d09fab882536e04ee496d2 (diff)
downloadpkgsrc-bc78f8f231aec7a65c907e2d79814c69340c78cd.tar.gz
wdg-validate-1.0.2 - HTML validator from the Web Design Group
Diffstat (limited to 'www/wdg-validate')
-rw-r--r--www/wdg-validate/Makefile37
-rw-r--r--www/wdg-validate/distinfo7
-rw-r--r--www/wdg-validate/patches/patch-aa23
-rw-r--r--www/wdg-validate/pkg/DESCR3
-rw-r--r--www/wdg-validate/pkg/PLIST74
5 files changed, 144 insertions, 0 deletions
diff --git a/www/wdg-validate/Makefile b/www/wdg-validate/Makefile
new file mode 100644
index 00000000000..878af36463e
--- /dev/null
+++ b/www/wdg-validate/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/30 09:44:53 abs Exp $
+#
+
+DISTNAME= validate
+PKGNAME= wdg-validate-1.0.2
+CATEGORIES= www
+MASTER_SITES= http://www.htmlhelp.com/tools/validator/offline/
+DISTFILES= validate sgml-lib.tar.gz
+
+MAINTAINER= norm@sandbox.org.uk
+HOMEPAGE= http://www.htmlhelp.com/tools/validator/offline/
+COMMENT= HTML validator from the Web Design Group
+
+DEPENDS+= lq-sp>=1.3.4.5:../../textproc/lq-sp
+
+EXTRACT_ONLY= sgml-lib.tar.gz
+
+USE_PERL5= yes
+
+post-extract:
+ ${CP} ${DISTDIR}/validate ${WRKSRC}/validate.netbsd
+
+do-configure:
+ ${SED} -e 's:@PREFIX@:${PREFIX}:' \
+ < ${WRKSRC}/validate.netbsd \
+ > ${WRKSRC}/validate
+
+do-build:
+ ${PREFIX}/bin/perl ${WRKSRC}/validate -h > ${WRKSRC}/README
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/validate
+ ${INSTALL_SCRIPT} ${WRKSRC}/validate ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/validate.README
+ ${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/validate
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/wdg-validate/distinfo b/www/wdg-validate/distinfo
new file mode 100644
index 00000000000..20ef7bca65b
--- /dev/null
+++ b/www/wdg-validate/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/30 09:44:53 abs Exp $
+
+SHA1 (validate) = c53ca1a208cfa3f7e401587a3279d870b2c881a4
+Size (validate) = 14520 bytes
+SHA1 (sgml-lib.tar.gz) = 57bc51940b873b66af5c585e1c5d314512bd55eb
+Size (sgml-lib.tar.gz) = 159465 bytes
+SHA1 (patch-aa) = 0a8f9094930f16df61cba9622c9a4d97ef7f57f3
diff --git a/www/wdg-validate/patches/patch-aa b/www/wdg-validate/patches/patch-aa
new file mode 100644
index 00000000000..23df6e76683
--- /dev/null
+++ b/www/wdg-validate/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/30 09:44:53 abs Exp $
+
+--- validate.netbsd.orig Wed May 30 00:53:44 2001
++++ validate.netbsd Wed May 30 00:56:20 2001
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!@PREFIX@/bin/perl
+
+ #####################################################################
+ #
+@@ -39,10 +39,10 @@
+ my $tryHelp = qq{Try "validate --help" for more information.};
+
+ # SGML directory (catalog, DTDs, SGML declarations)
+-my $sgmlDir = '/usr/local/validate/lib';
++my $sgmlDir = '@PREFIX@/lib/validate';
+
+ # Location of lq-nsgmls executable
+-my $nsgmlsLocation = '/usr/local/bin/lq-nsgmls';
++my $nsgmlsLocation = '@PREFIX@/bin/lq-nsgmls';
+
+ # lq-nsgmls command line
+ # The SGML declaration and HTML document's filename will be appended
diff --git a/www/wdg-validate/pkg/DESCR b/www/wdg-validate/pkg/DESCR
new file mode 100644
index 00000000000..4ca42dcbe43
--- /dev/null
+++ b/www/wdg-validate/pkg/DESCR
@@ -0,0 +1,3 @@
+A simplified version of the online WDG HTML Validator, which can be found
+at http://www.htmlhelp.com/tools/validator/. Will check HTML files for
+errors and full compliance with relevant standards.
diff --git a/www/wdg-validate/pkg/PLIST b/www/wdg-validate/pkg/PLIST
new file mode 100644
index 00000000000..ef8bd323f22
--- /dev/null
+++ b/www/wdg-validate/pkg/PLIST
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/30 09:44:53 abs Exp $
+bin/validate
+lib/validate/15445.dcl
+lib/validate/15445.dtd
+lib/validate/HTML3-icons.ent
+lib/validate/HTML3-math.ent
+lib/validate/HTML3.dcl
+lib/validate/HTML3.dtd
+lib/validate/HTML32.dcl
+lib/validate/HTML32.dtd
+lib/validate/HTML4-frameset.dtd
+lib/validate/HTML4-loose.dtd
+lib/validate/HTML4-strict.dtd
+lib/validate/HTML4.dcl
+lib/validate/HTML401-frameset.dtd
+lib/validate/HTML401-loose.dtd
+lib/validate/HTML401-strict.dtd
+lib/validate/HTMLlat1.ent
+lib/validate/HTMLspecial.ent
+lib/validate/HTMLsymbol.ent
+lib/validate/ISOlat1.ent
+lib/validate/catalog
+lib/validate/custom.dcl
+lib/validate/html-1.dtd
+lib/validate/html-1s.dtd
+lib/validate/html-970421.decl
+lib/validate/html-970421.dtd
+lib/validate/html-s.dtd
+lib/validate/html.dcl
+lib/validate/html.dtd
+lib/validate/i18n.dcl
+lib/validate/i18n.dtd
+lib/validate/xhtml-basic10/xhtml-arch-1.mod
+lib/validate/xhtml-basic10/xhtml-attribs-1.mod
+lib/validate/xhtml-basic10/xhtml-base-1.mod
+lib/validate/xhtml-basic10/xhtml-basic-form-1.mod
+lib/validate/xhtml-basic10/xhtml-basic-table-1.mod
+lib/validate/xhtml-basic10/xhtml-basic10-f.dtd
+lib/validate/xhtml-basic10/xhtml-basic10-model-1.mod
+lib/validate/xhtml-basic10/xhtml-basic10.dtd
+lib/validate/xhtml-basic10/xhtml-blkphras-1.mod
+lib/validate/xhtml-basic10/xhtml-blkstruct-1.mod
+lib/validate/xhtml-basic10/xhtml-charent-1.mod
+lib/validate/xhtml-basic10/xhtml-datatypes-1.mod
+lib/validate/xhtml-basic10/xhtml-framework-1.mod
+lib/validate/xhtml-basic10/xhtml-hypertext-1.mod
+lib/validate/xhtml-basic10/xhtml-image-1.mod
+lib/validate/xhtml-basic10/xhtml-inlphras-1.mod
+lib/validate/xhtml-basic10/xhtml-inlstruct-1.mod
+lib/validate/xhtml-basic10/xhtml-lat1.ent
+lib/validate/xhtml-basic10/xhtml-link-1.mod
+lib/validate/xhtml-basic10/xhtml-list-1.mod
+lib/validate/xhtml-basic10/xhtml-meta-1.mod
+lib/validate/xhtml-basic10/xhtml-notations-1.mod
+lib/validate/xhtml-basic10/xhtml-object-1.mod
+lib/validate/xhtml-basic10/xhtml-param-1.mod
+lib/validate/xhtml-basic10/xhtml-qname-1.mod
+lib/validate/xhtml-basic10/xhtml-special.ent
+lib/validate/xhtml-basic10/xhtml-struct-1.mod
+lib/validate/xhtml-basic10/xhtml-symbol.ent
+lib/validate/xhtml-basic10/xhtml-text-1.mod
+lib/validate/xhtml-basic10/xml1.dcl
+lib/validate/xhtml.soc
+lib/validate/xhtml1/xhtml-lat1.ent
+lib/validate/xhtml1/xhtml-special.ent
+lib/validate/xhtml1/xhtml-symbol.ent
+lib/validate/xhtml1/xhtml1-frameset.dtd
+lib/validate/xhtml1/xhtml1-strict.dtd
+lib/validate/xhtml1/xhtml1-transitional.dtd
+lib/validate/xhtml1/xhtml1.dcl
+share/doc/validate.README
+@dirrm lib/validate/xhtml1
+@dirrm lib/validate/xhtml-basic10
+@dirrm lib/validate