[Midnightbsd-cvs] mports: www/tidy-devel: Update to a cvs snapshot that actually works.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 25 20:52:25 EDT 2008


Log Message:
-----------
Update to a cvs snapshot that actually works.

Modified Files:
--------------
    mports/www/tidy-devel:
        Makefile (r1.1 -> r1.2)
        distinfo (r1.1 -> r1.2)
        pkg-plist (r1.1 -> r1.2)
    mports/www/tidy-devel/files:
        patch-build_gmake_Makefile (r1.1 -> r1.2)
        patch-include_platform.h (r1.1 -> r1.2)

-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/www/tidy-devel/pkg-plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/tidy-devel/pkg-plist -L www/tidy-devel/pkg-plist -u -r1.1 -r1.2
--- www/tidy-devel/pkg-plist
+++ www/tidy-devel/pkg-plist
@@ -1,8 +1,7 @@
- at comment $FreeBSD: ports/www/tidy-devel/pkg-plist,v 1.8 2006/02/23 10:39:45 ade Exp $
+ at comment $FreeBSD: ports/www/tidy-devel/pkg-plist,v 1.9 2007/02/03 22:35:19 thierry Exp $
 bin/tab2space
 bin/tidy
 include/tidy/buffio.h
-include/tidy/fileio.h
 include/tidy/platform.h
 include/tidy/tidy.h
 include/tidy/tidyenum.h
@@ -20,57 +19,5 @@
 %%PORTDOCS%%%%DOCSDIR%%/release-notes.html
 %%PORTDOCS%%%%DOCSDIR%%/tidy.css
 %%PORTDOCS%%%%DOCSDIR%%/tidy.gif
-%%PORTDOCS%%%%DOCSDIR%%/api/annotated.html
-%%PORTDOCS%%%%DOCSDIR%%/api/buffio_8h-source.html
-%%PORTDOCS%%%%DOCSDIR%%/api/buffio_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/api/doxygen.css
-%%PORTDOCS%%%%DOCSDIR%%/api/doxygen.png
-%%PORTDOCS%%%%DOCSDIR%%/api/fileio_8h-source.html
-%%PORTDOCS%%%%DOCSDIR%%/api/fileio_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/api/files.html
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2blank.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2doc.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2folderclosed.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2folderopen.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2lastnode.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2link.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2mlastnode.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2mnode.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2node.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2plastnode.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2pnode.png
-%%PORTDOCS%%%%DOCSDIR%%/api/ftv2vertline.png
-%%PORTDOCS%%%%DOCSDIR%%/api/functions.html
-%%PORTDOCS%%%%DOCSDIR%%/api/globals.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__AttrGet.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Attribute.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Basic.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Clean.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Configuration.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__IO.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Memory.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__NodeAsk.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Opaque.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Parse.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Save.html
-%%PORTDOCS%%%%DOCSDIR%%/api/group__Tree.html
-%%PORTDOCS%%%%DOCSDIR%%/api/index.html
-%%PORTDOCS%%%%DOCSDIR%%/api/main.html
-%%PORTDOCS%%%%DOCSDIR%%/api/modules.html
-%%PORTDOCS%%%%DOCSDIR%%/api/structTidyAttr.html
-%%PORTDOCS%%%%DOCSDIR%%/api/structTidyDoc.html
-%%PORTDOCS%%%%DOCSDIR%%/api/structTidyNode.html
-%%PORTDOCS%%%%DOCSDIR%%/api/structTidyOption.html
-%%PORTDOCS%%%%DOCSDIR%%/api/struct__TidyBuffer.html
-%%PORTDOCS%%%%DOCSDIR%%/api/struct__TidyInputSource.html
-%%PORTDOCS%%%%DOCSDIR%%/api/struct__TidyOutputSink.html
-%%PORTDOCS%%%%DOCSDIR%%/api/tidy_8h-source.html
-%%PORTDOCS%%%%DOCSDIR%%/api/tidy_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/api/tidyenum_8h-source.html
-%%PORTDOCS%%%%DOCSDIR%%/api/tidyenum_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/api/tree.html
-%%PORTDOCS%%%%DOCSDIR%%/api/tree.js
-%%PORTDOCS%%%%DOCSDIR%%/api/treeview.js
 @dirrm include/tidy
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/api
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/tidy-devel/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/tidy-devel/Makefile -L www/tidy-devel/Makefile -u -r1.1 -r1.2
--- www/tidy-devel/Makefile
+++ www/tidy-devel/Makefile
@@ -2,36 +2,41 @@
 # Date created:		27 Oct 1998
 # Whom:			Abel Chow <achow at transoft.net>
 #
-# $FreeBSD: ports/www/tidy-devel/Makefile,v 1.153 2006/03/22 09:06:44 pav Exp $
-# $MidnightBSD$ 
+# $MidinghtBSD$
+# $FreeBSD: ports/www/tidy-devel/Makefile,v 1.159 2007/09/30 04:47:34 linimon Exp $
 #
 
 PORTNAME?=	tidy
-PORTVERSION=	051026
-PORTREVISION=	2
+DISTVERSION=	070813-cvs
 CATEGORIES=	www
-MASTER_SITES=	http://tidy.sourceforge.net/src/%SUBDIR%/	\
-		http://tidy.sourceforge.net/docs/:docs
-MASTER_SITE_SUBDIR=	. old
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+#MASTER_SITES=	http://tidy.sourceforge.net/src/%SUBDIR%/	\
+#		http://tidy.sourceforge.net/docs/:docs
+#MASTER_SITE_SUBDIR=	. old
+MASTER_SITE_SUBDIR=	thierry
 PKGNAMESUFFIX?=	-devel
-DISTNAME=	tidy_src
-EXTRACT_SUFX=	.tgz
-DISTFILES=	${DISTNAME}_${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER?=	ports at MidnightBSD.org
 COMMENT?=	Utility to clean up and pretty print HTML/XHTML/XML
+LICENSE=	unknown
+# everything says look at tidy.h but there isn't one.
 
+USE_BZIP2=	yes
+
+SLAVEDIRS=	www/tidy-lib
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 .if !defined(WITH_SHLIB)
 USE_GMAKE=	yes
 PLIST_SUB=	SHLIB="@comment " NSHLIB=""
+CONFLICTS=	tidy-20000804* tidy-lib-[0-9]*
 .else
-USE_AUTOTOOLS=	automake:15 autoconf:253 libtool:15
+USE_AUTOTOOLS=	automake:15 autoconf:261 libtool:15
 AUTOMAKE_ARGS+=	-a -c --foreign
-CONFIGURE_TARGET=	 --target=${MACHINE_ARCH}-portbld-freebsd6.0
-INSTALLS_SHLIB=	yes
+CONFIGURE_TARGET=	 --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_LDCONFIG=	yes
 PLIST_SUB=	SHLIB="" NSHLIB="@comment "
+CONFLICTS=	tidy-20000804* tidy-devel-[0-9]*
 .endif
 
 DESCR=		${.CURDIR}/pkg-descr
@@ -48,26 +53,48 @@
 ALL_TARGET=	all doc
 DOCFILES=	quickref.html
 . endif
-DOCVER=		051020
-DISTFILES+=	tidy_docs_${DOCVER}${EXTRACT_SUFX}:docs
 DOCFILES+=	Overview.html checked_by_tidy.gif faq.html grid.gif pending.html	\
 		release-notes.html tidy.css tidy.gif
 .endif
 
+.if defined(MAINTAINER_MODE)
+
+CVSROOT=	":pserver:anonymous at tidy.cvs.sourceforge.net:/cvsroot/tidy"
+CVS_PASSFILE=	${WRKDIR}/temp-cvs-passfile
+
+getcvs:
+	${MKDIR} ${WRKDIR}/cvs
+	${ECHO_CMD} ${CVSROOT} A > ${CVS_PASSFILE}
+	cd ${WRKDIR}/cvs &&	\
+	CVSROOT=${CVSROOT} CVS_PASSFILE=${CVS_PASSFILE} cvs -z3 co -P tidy
+
+tarball:
+	${RM} -rf ${WRKDIR}/cvs/tidy/CVSROOT
+	${FIND} ${WRKDIR}/cvs -name CVS | ${XARGS} ${RM} -rf
+	cd ${WRKDIR}/cvs &&	\
+	${TAR} cfj ${_DISTDIR}${DISTFILES} tidy
+
+.endif
+
 post-patch:
+	${CHMOD} a+x ${WRKSRC}/test/testxml.sh
 .if !defined(WITH_SHLIB)
-	@${CP} ${WRKSRC}/build/gmake/Makefile ${WRKSRC}
+	${CP} ${WRKSRC}/build/gmake/Makefile ${WRKSRC}
 .else
-	@${CP} -R -f ${WRKSRC}/build/gnuauto/* ${WRKSRC}
+	${CP} -R -f ${WRKSRC}/build/gnuauto/* ${WRKSRC}
+. for t in testone.sh testaccessone.sh
+	${REINPLACE_CMD} -e 's|../bin/tidy|../console/tidy|'	\
+		${WRKSRC}/test/${t}
+. endfor
 .endif
 
 patch-autotools::
 .if defined(WITH_SHLIB)
-	@(cd ${WRKSRC}				\
+	(cd ${WRKSRC}				\
 	&& ${LIBTOOLIZE} --force --copy		\
 	&& ${ACLOCAL}				\
 	&& ${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' aclocal.m4)
-	@(cd ${PATCH_WRKSRC};			\
+	(cd ${PATCH_WRKSRC};			\
 	for ltf in ${LIBTOOLFILES}; do		\
 		${CP} $$ltf $$ltf.tmp;	\
 		${SED} -e "s^\$$ac_aux_dir/ltconfig^${LTCONFIG}^g" \
@@ -76,28 +103,23 @@
 	 done);
 .endif
 
-pre-install:
-	@if [ -f ${LOCALBASE}/bin/tidy ]; then \
-		${ECHO_MSG} "" ; \
-		${ECHO_MSG} "Conflict: another tidy has been found; please deinstall it." ; \
-		${ECHO_MSG} "(`pkg_info -W ${LOCALBASE}/bin/tidy`)" ; \
-		${ECHO_MSG} "" ; \
-		${FALSE} ; \
-	fi
-
 post-install:
 .for pgm in ${BIN2STRIP}
-	@${STRIP_CMD} ${PREFIX}/bin/${pgm}
+	${STRIP_CMD} ${PREFIX}/bin/${pgm}
 .endfor
 .if defined(WITH_SHLIB)
-	@${STRIP_CMD} ${PREFIX}/lib/libtidy-0.99.so.0
+	${STRIP_CMD} ${PREFIX}/lib/libtidy-0.99.so.0
 .endif
 .if !defined(NOPORTDOCS)
 	@${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
-	@${MKDIR} ${DOCSDIR}/api
-	@${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/htmldoc/|} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/htmldoc/api/* ${DOCSDIR}/api
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/htmldoc/|} ${DOCSDIR}
 	@${ECHO_MSG} "===>   Documentation installed in ${DOCSDIR}."
 .endif
 
+regression-test:
+.for t in testaccess.sh testall.sh testxml.sh
+	cd ${WRKSRC}/test && ./${t}
+.endfor
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/www/tidy-devel/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/tidy-devel/distinfo -L www/tidy-devel/distinfo -u -r1.1 -r1.2
--- www/tidy-devel/distinfo
+++ www/tidy-devel/distinfo
@@ -1,6 +1,3 @@
-MD5 (tidy_src_051026.tgz) = 1e39fafd6808978871346658c8da1454
-SHA256 (tidy_src_051026.tgz) = 538aadc6f06e988cca932bfecae00313063ce01e62f4d395cf84736fca41bbfd
-SIZE (tidy_src_051026.tgz) = 256131
-MD5 (tidy_docs_051020.tgz) = 86de2f198e57399c063d2567b2a25628
-SHA256 (tidy_docs_051020.tgz) = 8afdf165e7d5ce13cd64af4a5d0961627e006dbb3697fef97d378c94f052e35c
-SIZE (tidy_docs_051020.tgz) = 150402
+MD5 (tidy-070813-cvs.tar.bz2) = 9210a261b36a44f8027d1b935d2e6263
+SHA256 (tidy-070813-cvs.tar.bz2) = 056c817577310f26e9dc180b7f49605747fc082a76bf24d1e8a9836d020f70b5
+SIZE (tidy-070813-cvs.tar.bz2) = 373430
Index: patch-include_platform.h
===================================================================
RCS file: /home/cvs/mports/www/tidy-devel/files/patch-include_platform.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/tidy-devel/files/patch-include_platform.h -L www/tidy-devel/files/patch-include_platform.h -u -r1.1 -r1.2
--- www/tidy-devel/files/patch-include_platform.h
+++ www/tidy-devel/files/patch-include_platform.h
@@ -1,11 +1,11 @@
---- include/platform.h.orig	Mon Mar 31 09:57:04 2003
-+++ include/platform.h	Mon Mar 31 21:23:33 2003
+--- include/platform.h.orig	Sun Jan 21 21:36:21 2007
++++ include/platform.h	Sat Feb  3 17:39:40 2007
 @@ -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"
+-/* #define TIDY_USER_CONFIG_FILE "~/.tidyrc" */
++#define TIDY_USER_CONFIG_FILE "~/.tidyrc"
  
  /*
    Uncomment the following #define if your
Index: patch-build_gmake_Makefile
===================================================================
RCS file: /home/cvs/mports/www/tidy-devel/files/patch-build_gmake_Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L www/tidy-devel/files/patch-build_gmake_Makefile -L www/tidy-devel/files/patch-build_gmake_Makefile -u -r1.1 -r1.2
--- www/tidy-devel/files/patch-build_gmake_Makefile
+++ www/tidy-devel/files/patch-build_gmake_Makefile
@@ -1,5 +1,5 @@
---- build/gmake/Makefile.orig	Thu Jul 14 08:58:05 2005
-+++ build/gmake/Makefile	Thu Jul 14 22:57:37 2005
+--- build/gmake/Makefile.orig	Sun Jan 21 21:20:58 2007
++++ build/gmake/Makefile	Sat Feb  3 17:35:37 2007
 @@ -58,8 +58,8 @@
  PROJECT=tidy
  
@@ -20,14 +20,14 @@
  INCDIR = ${TOPDIR}/include
  APPDIR = ${TOPDIR}/console
  SRCDIR = ${TOPDIR}/src
-@@ -79,8 +79,8 @@
+@@ -90,8 +90,8 @@
  # CFLAGS etc..
  # For optimised builds, flags such as "-O2" should be added and -D_DEBUG=1
  # disabled.
 -CC= gcc
--CFLAGS= -g -Wall -Wno-switch -Wno-parentheses -I $(INCDIR)
+-CFLAGS= -g -pedantic -Wall -Wno-switch -Wno-parentheses -I $(INCDIR)
 +#CC= gcc
-+CFLAGS+= -g -Wall -Wno-switch -Wno-parentheses -I $(INCDIR) -fPIC
++CFLAGS+= -g -pedantic -Wall -Wno-switch -Wno-parentheses -I $(INCDIR) -fPIC
  # flags only supported with gcc 3.x
- # CFLAGS += -Wunused-parameter
+ CFLAGS += -Wunused-parameter
  


More information about the Midnightbsd-cvs mailing list