Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/web
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16652/10.4/unstable/main/finkinfo/web

Modified Files:
        tidy.info 
Added Files:
        tidy.patch 
Log Message:
New version from trackers (Submissions #1446063) w/new maintainer


--- NEW FILE: tidy.patch ---
diff -urN tidy.orig/build/gmake/Makefile tidy/build/gmake/Makefile
--- tidy.orig/build/gmake/Makefile      2005-07-15 03:58:10.000000000 -0300
+++ tidy/build/gmake/Makefile   2006-03-01 19:45:59.000000000 -0300
@@ -58,13 +58,13 @@
 PROJECT=tidy
 
 # Installation variables.  Spaces OK, only dir create and file copy operations.
-runinst_prefix=/usr/local
-devinst_prefix=/usr/local
+runinst_prefix=${PREFIX}
+devinst_prefix=${PREFIX}
 
 bininst = ${runinst_prefix}/bin
 libinst = ${devinst_prefix}/lib
 incinst = ${devinst_prefix}/include/$(PROJECT)
-maninst = ${devinst_prefix}/man
+maninst = ${devinst_prefix}/share/man
 
 # Internal variables. - No spaces allowed: libtool chokes on spaces in 
directory names.
 TOPDIR = ../..
@@ -84,7 +84,7 @@
 # flags only supported with gcc 3.x
 # CFLAGS += -Wunused-parameter
 
-OTHERCFLAGS=
+OTHERCFLAGS= -prebind
 OTHERCFLAGS+= -D_DEBUG=1
 # OTHERCFLAGS+= -DSUPPORT_ACCESSIBILITY_CHECKS=1 -DSUPPORT_UTF16_ENCODINGS=1 
-DSUPPORT_ASIAN_ENCODINGS=1
 ifdef SUPPORT_UTF16_ENCODINGS
@@ -116,6 +116,7 @@
 
 LIBRARY = $(LIBDIR)/$(LIBPREFIX)$(PROJECT)$(LIBSUFFIX)
 AR=ar -r
+RANLIB = ranlib
 
 XSLTPROC = xsltproc
 
diff -urN tidy.orig/include/platform.h tidy/include/platform.h
--- tidy.orig/include/platform.h        2005-06-16 03:58:05.000000000 -0300
+++ tidy/include/platform.h     2006-03-01 10:39:56.000000000 -0300
@@ -33,7 +33,7 @@
   It enables tidy to find config files named ~/.tidyrc if 
   the HTML_TIDY environment variable is not set.
 */
-/* #define USER_CONFIG_FILE "~/.tidyrc" */
+#define USER_CONFIG_FILE "~/.tidyrc"
 
 /*
   Uncomment the following #define if your
@@ -48,7 +48,7 @@
   Contributed by Todd Lewis.
 */
 
-/* #define SUPPORT_GETPWNAM */
+#define SUPPORT_GETPWNAM
 
 
 /* Enable/disable support for Big5 and Shift_JIS character encodings */

Index: tidy.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/web/tidy.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tidy.info   24 Jan 2006 21:30:55 -0000      1.1
+++ tidy.info   9 Mar 2006 03:53:51 -0000       1.2
@@ -1,49 +1,79 @@
 Package: tidy
-Version: 20021210
-Revision: 2
-Maintainer: Sylvain Cuaz <[EMAIL PROTECTED]>
+Version: 051026
+Revision: 1
+Epoch: 1
+Description: Utility to clean up HTML/XHTML/XML
+License: BSD
+Maintainer: Adrian Mugnolo <[EMAIL PROTECTED]>
 #
-Source: http://tidy.sourceforge.net/src/old/tidy_src_021210.tgz
-Source-MD5: 4bc3205d1088bc5e8fee3d148d0aa203
-Source2: http://tidy.sourceforge.net/docs/tidy_docs_021204.tgz
-Source2-MD5: 2f60eea94fe0cf713332f7d5cea8f567
+CustomMirror: <<
+  Location1: http://tidy.sourceforge.net/src
+  Location2: http://tidy.sourceforge.net/src/old
+<<
+Source: mirror:custom:%n_src_%v.tgz
+Source-MD5: 1e39fafd6808978871346658c8da1454
+Source2: http://tidy.sourceforge.net/docs/%n_docs_051020.tgz
+Source2-MD5: 86de2f198e57399c063d2567b2a25628
 SourceDirectory: %n
+#
+Patch: %n.patch
 PatchScript: <<
-  mv Makefile Makefile.orig
-  sed -e 's:$(AR) $@ $(OBJFILES):$(AR) $@ $(OBJFILES) ; ranlib $@:' < 
Makefile.orig > Makefile
-  head -n 67 include/tidy.h | tail -n 55 > COPYRIGHT
+  sed -n '9,45p' htmldoc/license.html > LICENSE
 <<
-CompileScript: make OTHERCFLAGS=-prebind
+#
+CompileScript: <<
+  cd build/gmake ; make all doc
+<<
+#
 InstallScript: <<
-  make install runinst_prefix=%i devinst_prefix=%i 
maninst='${devinst_prefix}/share/man'
-  mkdir -p %i/share/doc
-  cp -R htmldoc %i/share/doc/%n
+  cd build/gmake ; make PREFIX=%i install
 <<
-DocFiles: COPYRIGHT
+DocFiles: <<
+  LICENSE
+  htmldoc/Overview.html:index.html
+  htmldoc/checked_by_tidy.gif
+  htmldoc/faq.html
+  htmldoc/grid.gif
+  htmldoc/license.html
+  htmldoc/pending.html
+  htmldoc/quickref.html
+  htmldoc/release-notes.html
+  htmldoc/tidy.css
+  htmldoc/tidy.gif
+<<
+#
 Homepage: http://tidy.sourceforge.net
-Description: Utility to tidy up HTML code
 DescDetail: <<
- 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! Dave Raggett's HTML 
-TIDY is a free utility for doing just that. It also works great on the 
-atrociously 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 reads HTML, XHTML and XML files and writes cleaned up markup.
+  For HTML variants, it detects and corrects many common coding errors
+  and strives to produce visually equivalent markup that is both W3C
+  compliant and works on most browsers.  A common use of Tidy is to
+  convert plain HTML to XHTML.  For generic XML files, Tidy is limited
+  to correcting basic well-formedness errors and pretty printing.
 <<
 DescUsage: tidy messy.html > tidied-up.html
 DescPackaging: <<
- This program does not use configure.
- The copyright notice is in "tidy.h" (license is MIT).
- patch to install man pages where they belong
-<<
-DescPort: <<
- Patch the Makefile so that it runs ranlib
+  Based on a previous version by Sylvain Cuaz
+  <[EMAIL PROTECTED]> and the tidy-devel FreeBSD port
+  maintained by <[EMAIL PROTECTED]>.
+
+  This package adopts the original file version numbering from the HTML
+  Tidy project (version is 1:051026 instead of 20051026).
+
+  Fetch phase should not break with new source code releases (package
+  tries downloading from both current and "old" directories).
+
+  This package is built using the "gmake" build system.
+
+  The license notice is taken from "license.html" (type is MIT).
 <<
-License: BSD
 #
 Splitoff: <<
- Package: %N-dev
- Files: include lib
- DocFiles: COPYRIGHT
+  Package: %N-dev
+  Files: include lib
+  InstallScript: <<
+    mkdir -p %i/share/doc/%N
+    cp -R htmldoc/api %i/share/doc/%N
+  <<
+  DocFiles: LICENSE
 <<



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to