Skip site navigation (1)Skip section navigation (2)
Date:      14 Nov 1999 05:03:46 -0000
From:      saken@hotel.rmta.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14867: UPDATE: ports/www/tidy to latest version
Message-ID:  <19991114050346.98921.qmail@hotel.rmta.org>

next in thread | raw e-mail | index | archive | help

>Number:         14867
>Category:       ports
>Synopsis:       UPDATE: ports/www/tidy to latest version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 13 21:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Scott A. Kenney
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Agents of Fortune, LTD
>Environment:

FreeBSD nwhn-sh5-port66.snet.net 4.0-CURRENT FreeBSD 4.0-CURRENT #15: Wed Sep 29 22:05:38 EDT 1999     root@nwhn-sh3-port39.snet.net:/usr/src/sys/compile/CHARDOS  i386

>Description:

	1) Update ports/www/tidy to October 22 release.
	2) Enable use of ~/.tidyrc
	3) Use correct macro for installing docs

>How-To-Repeat:

	N/A

>Fix:

	Apply the following patch to /usr/ports/www/tidy:


diff -ruN tidy/Makefile tidy.new/Makefile
--- tidy/Makefile	Sat Nov 13 20:26:40 1999
+++ tidy.new/Makefile	Sat Nov 13 23:51:42 1999
@@ -6,25 +6,27 @@
 # $FreeBSD: ports/www/tidy/Makefile,v 1.12 1999/10/08 22:56:20 dan Exp $
 #
 
-DISTNAME=	tidy27sep99
-PKGNAME=	tidy-0.9.99.1
+DISTNAME=	tidy22oct99
+PKGNAME=	tidy-0.10.99.1
 CATEGORIES=	www
 MASTER_SITES=	http://www.w3.org/People/Raggett/
 EXTRACT_SUFX=	.tgz
+MAN1=	tidy.1
 
 MAINTAINER=	saken@hotel.rmta.org
 
 ALL_TARGET=	tidy
 
-DOCFILES=	Overview.html tidy.gif release-notes.html grid.gif config.txt
+DOCFILES=	Overview.html tidy.gif release-notes.html grid.gif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/tidy ${PREFIX}/bin/tidy
+	@${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_DATA} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/tidy
+	@${INSTALL_MAN} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/tidy
 .endfor
 .endif
 
diff -ruN tidy/files/md5 tidy.new/files/md5
--- tidy/files/md5	Sat Nov 13 20:26:39 1999
+++ tidy.new/files/md5	Sat Nov 13 20:29:04 1999
@@ -1 +1 @@
-MD5 (tidy27sep99.tgz) = 95a6cc6f364f11cadd66f464db0f2b0f
+MD5 (tidy22oct99.tgz) = bef4ee086fc26dd209c02aea4108b81b
diff -ruN tidy/patches/patch-ab tidy.new/patches/patch-ab
--- tidy/patches/patch-ab	Sat Nov 13 20:26:40 1999
+++ tidy.new/patches/patch-ab	Sat Nov 13 23:47:48 1999
@@ -1,8 +1,13 @@
---- platform.h.orig	Mon Jun 28 07:22:09 1999
-+++ platform.h	Wed Jun 30 23:17:07 1999
-@@ -4,13 +4,13 @@
-   See tidy.c for the copyright notice.
- */
+--- platform.h.orig	Sat Nov 13 23:41:32 1999
++++ platform.h	Sat Nov 13 23:42:40 1999
+@@ -17,17 +17,17 @@
+   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
+-*/
  
 +#include <sys/types.h>
  #include <ctype.h>
@@ -14,4 +19,4 @@
 -#include <malloc.h>
  #include <assert.h>
  
- #define ACCESS_URL  "http://www.w3.org/WAI/GL"
+ #ifdef SUPPORT_GETPWNAM
diff -ruN tidy/pkg/PLIST tidy.new/pkg/PLIST
--- tidy/pkg/PLIST	Sat Nov 13 20:26:40 1999
+++ tidy.new/pkg/PLIST	Sat Nov 13 23:09:41 1999
@@ -1,6 +1,5 @@
 bin/tidy
 share/doc/tidy/Overview.html
-share/doc/tidy/config.txt
 share/doc/tidy/grid.gif
 share/doc/tidy/release-notes.html
 share/doc/tidy/tidy.gif


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991114050346.98921.qmail>