Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 01:34:17 +0200 (CEST)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39678: New port: www/tidy-devel (latest version of Tidy)
Message-ID:  <20020622233417.BA12A7511@graf.pompo.net>

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

>Number:         39678
>Category:       ports
>Synopsis:       New port: www/tidy-devel (latest version of Tidy)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 22 16:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 16 15:14:29 CEST 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386


	
>Description:
	This is the latest version of Tidy.

>How-To-Repeat:
	N.A.
>Fix:

	Execute the following shar file:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/www/tidy-devel
#	/usr/ports/www/tidy-devel/Makefile
#	/usr/ports/www/tidy-devel/pkg-comment
#	/usr/ports/www/tidy-devel/pkg-descr
#	/usr/ports/www/tidy-devel/pkg-plist
#	/usr/ports/www/tidy-devel/files
#	/usr/ports/www/tidy-devel/files/patch-Makefile
#	/usr/ports/www/tidy-devel/distinfo
#
echo c - /usr/ports/www/tidy-devel
mkdir -p /usr/ports/www/tidy-devel > /dev/null 2>&1
echo x - /usr/ports/www/tidy-devel/Makefile
sed 's/^X//' >/usr/ports/www/tidy-devel/Makefile << 'END-of-/usr/ports/www/tidy-devel/Makefile'
X# New ports collection makefile for:	tidy
X# Date created:		22 Jun 2002
X# Whom:			Thierry Thomas <thierry@pompo.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tidy
XPORTVERSION=	20020616
XCATEGORIES=	www
XMASTER_SITES=	http://tidy.sourceforge.net/src/	\
X		http://tidy.sourceforge.net/docs/
XPKGNAMESUFFIX=	-devel
XDISTNAME=	tidy_src
XEXTRACT_SUFX=	.tgz
XDISTFILES=	${DISTNAME}${EXTRACT_SUFX}
X
XMAINTAINER=	thierry@pompo.net
X
XALL_TARGET=	tidy
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
X
X.if !defined(NOPORTDOCS)
XDISTFILES+=	tidy_docs${EXTRACT_SUFX}
XMAN1=		tidy.1
XDOCFILES=	Overview.html faq.html grid.gif pending.html	\
X		quickref.html release-notes.html tidy.css tidy.gif
X.endif
X
Xpre-install:
X	@if [ -f ${LOCALBASE}/bin/tidy ]; then \
X		${ECHO_MSG} "" ; \
X		${ECHO_MSG} "Conflict: please deinstall the port bin/tidy." ; \
X		${ECHO_MSG} "" ; \
X		${FALSE} ; \
X	fi
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/tidy ${PREFIX}/bin/tidy
X.if !defined(NOPORTDOCS)
X	@${INSTALL_MAN}	${WRKSRC}/man_page.txt ${PREFIX}/man/man1/tidy.1
X	@${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
X	@${MKDIR} ${DOCSDIR}
X.for docfile in ${DOCFILES}
X	@${INSTALL_MAN} ${WRKSRC}/htmldoc/${docfile} ${DOCSDIR}
X.endfor
X	@${ECHO_MSG} "===>   Documentation installed in ${DOCSDIR}."
X.endif
X
X.include <bsd.port.mk>
END-of-/usr/ports/www/tidy-devel/Makefile
echo x - /usr/ports/www/tidy-devel/pkg-comment
sed 's/^X//' >/usr/ports/www/tidy-devel/pkg-comment << 'END-of-/usr/ports/www/tidy-devel/pkg-comment'
XHTML parser and pretty printer
END-of-/usr/ports/www/tidy-devel/pkg-comment
echo x - /usr/ports/www/tidy-devel/pkg-descr
sed 's/^X//' >/usr/ports/www/tidy-devel/pkg-descr << 'END-of-/usr/ports/www/tidy-devel/pkg-descr'
XWhen editing HTML it's easy to make mistakes. Wouldn't it be nice if
Xthere was a simple way to fix these mistakes automatically and tidy up
Xsloppy editing into nicely layed out markup?  Well now there is thanks
Xto Hewlett Packard's Dave Raggett. HTML TIDY is a free utility for
Xdoing just that. It also works great on the attrociously hard to read
Xmarkup generated by specialized HTML editors and conversion tools, and
Xcan help you identify where you need to pay further attention on
Xmaking your pages more accessible to people with disabilities.
X
XTidy is able to fix up a wide range of problems and to bring to your
Xattention things that you need to work on yourself. Each item found is
Xlisted with the line number and column so that you can see where the
Xproblem lies in your markup. Tidy won't generate a cleaned up version
Xwhen there are problems that it can't be sure of how to handle. These
Xare logged as "errors" rather than "warnings".
X
XWWW: http://tidy.sourceforge.net/
END-of-/usr/ports/www/tidy-devel/pkg-descr
echo x - /usr/ports/www/tidy-devel/pkg-plist
sed 's/^X//' >/usr/ports/www/tidy-devel/pkg-plist << 'END-of-/usr/ports/www/tidy-devel/pkg-plist'
Xbin/tidy
X%%PORTDOCS%%share/doc/tidy/Overview.html
X%%PORTDOCS%%share/doc/tidy/faq.html
X%%PORTDOCS%%share/doc/tidy/grid.gif
X%%PORTDOCS%%share/doc/tidy/pending.html
X%%PORTDOCS%%share/doc/tidy/quickref.html
X%%PORTDOCS%%share/doc/tidy/release-notes.html
X%%PORTDOCS%%share/doc/tidy/tidy.css
X%%PORTDOCS%%share/doc/tidy/tidy.gif
X%%PORTDOCS%%@dirrm share/doc/tidy
END-of-/usr/ports/www/tidy-devel/pkg-plist
echo c - /usr/ports/www/tidy-devel/files
mkdir -p /usr/ports/www/tidy-devel/files > /dev/null 2>&1
echo x - /usr/ports/www/tidy-devel/files/patch-Makefile
sed 's/^X//' >/usr/ports/www/tidy-devel/files/patch-Makefile << 'END-of-/usr/ports/www/tidy-devel/files/patch-Makefile'
X--- Makefile.orig	Sat Jun  1 08:50:02 2002
X+++ Makefile	Sun Jun 23 01:24:35 2002
X@@ -59,7 +59,7 @@
X OBJDIR= ./
X 
X DEBUGFLAGS=-g -DDMALLOC
X-CFLAGS= -I $(INCLDIR)
X+CFLAGS+= -I $(INCLDIR)
X OTHERCFLAGS=
X LIBS=-lc
X DEBUGLIBS=-ldmalloc
END-of-/usr/ports/www/tidy-devel/files/patch-Makefile
echo x - /usr/ports/www/tidy-devel/distinfo
sed 's/^X//' >/usr/ports/www/tidy-devel/distinfo << 'END-of-/usr/ports/www/tidy-devel/distinfo'
XMD5 (tidy_src.tgz) = 17ec935484b01a2d40f2d610d24b74ec
XMD5 (tidy_docs.tgz) = b00b66264fafbca56aba0bf74a6ecc30
END-of-/usr/ports/www/tidy-devel/distinfo
exit

>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?20020622233417.BA12A7511>