Date: Sun, 19 Mar 2006 11:30:18 GMT From: Rick van der Zwet <rick@wzoeterwoude.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/94687: [PATCH] www/php4-tidy port created Message-ID: <200603191130.k2JBUIAv032670@www.freebsd.org> Resent-Message-ID: <200603191140.k2JBeBN0080710@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94687 >Category: ports >Synopsis: [PATCH] www/php4-tidy port created >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 19 11:40:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rick van der Zwet >Release: FreeBSD 6.0 >Organization: Wireless Zoeterwoude >Environment: FreeBSD traffie.wzoeterwoude.net 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Dec 9 01:34:29 UTC 2005 root@traffie.wzoeterwoude.net:/usr/obj/usr/src/sys/TRAFFIE i386 >Description: Hi, created a www/php4-tidy port which is mod_tidy for php 4 Cheerz, Rick >How-To-Repeat: >Fix: --- /usr/ports/Mk/bsd.php.mk Thu Mar 16 20:07:27 2006 +++ - Thu Mar 16 20:44:55 2006 @@ -260,7 +260,7 @@ tokenizer wddx xml xmlrpc yaz zip zlib # version specific components _USE_PHP_VER4= ${_USE_PHP_ALL} crack dbx dio domxml mcal mcve \ - mnogosearch oracle overload pfpro xslt yp + mnogosearch tidy oracle overload pfpro xslt yp _USE_PHP_VER5= ${_USE_PHP_ALL} dom mysqli simplexml soap sqlite \ tidy xmlreader xmlwriter xsl --- /usr/ports/lang/php4/Makefile.ext Thu Mar 16 20:21:35 2006 +++ - Thu Mar 16 20:45:49 2006 @@ -82,6 +82,14 @@ OPTIONS= XSLT "Include DOM (E)XSLT support" on .endif +.if ${PHP_MODNAME} == "tidy" +TIDYVERSION=1.2 +CONFIGURE_ARGS+=--with-tidy=${LOCALBASE} +MASTER_SITES+=http://pecl.php.net/get/:tidy +DISTFILES=tidy-${TIDYVERSION}.tgz:tidy +BUILD_DEPENDS+= ${LOCALBASE}/include/tidy/tidy.h:${PORTSDIR}/www/tidy-devel +.endif + .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif @@ -481,4 +489,12 @@ .if ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 +.endif +.if ${PHP_MODNAME} == "tidy" +extract: + @${MKDIR} -p ${WRKDIR}/${DISTNAME}/ext + @${TAR} -x -z -C ${WRKDIR}/${DISTNAME}/ext \ + -f ${DISTDIR}/tidy-${TIDYVERSION}.tgz + @${MV} ${WRKDIR}/${DISTNAME}/ext/tidy-${TIDYVERSION} \ + ${WRKDIR}/${DISTNAME}/ext/tidy .endif --- /usr/ports/lang/php4/distinfo Thu Mar 16 20:21:35 2006 +++ - Thu Mar 16 20:45:32 2006 @@ -1,3 +1,6 @@ MD5 (php-4.4.2.tar.bz2) = 28051cd9ef43490dd9727a4d442011b5 SHA256 (php-4.4.2.tar.bz2) = a2024d665125a41611eb64451648d37a81e3579594c8810bb41ac8b2b63f81eb SIZE (php-4.4.2.tar.bz2) = 4371185 +MD5 (tidy-1.2.tgz) = 8c1c92d9386c56d483b1115d207c0293 +SHA256 (tidy-1.2.tgz) = 5420f3ce10e52bcc62ccb3554834ded1dbd3db00b9d19c627d0650505429ad2c +SIZE (tidy-1.2.tgz) = 9602 --- /usr/ports/lang/php4-extensions/Makefile Thu Mar 16 20:21:38 2006 +++ - Thu Mar 16 20:57:36 2006 @@ -88,6 +88,7 @@ SYSVMSG "System V message support" off \ SYSVSEM "System V semaphore support" off \ SYSVSHM "System V shared memory support" off \ + TIDY "tidy support" off \ TOKENIZER "tokenizer support" on \ WDDX "WDDX support (implies XML)" off \ XML "XML support" on \ @@ -112,7 +113,7 @@ MCVE MHASH MIME_MAGIC MING MNOGOSEARCH MSSQL MYSQL NCURSES \ ODBC OPENSSL ORACLE OVERLOAD PANDA PCNTL PCRE PDF PFPRO \ PGSQL POSIX PSPELL READLINE RECODE SESSION SHMOP SNMP SOCKETS \ - SYBASE_CT SYSVMSG SYSVSEM SYSVSHM TOKENIZER \ + SYBASE_CT SYSVMSG SYSVSEM SYSVSHM TIDY TOKENIZER \ WDDX XML XMLRPC XSLT YAZ YP ZIP ZLIB SEL_OPTIONS= yes --- new_file Thu Mar 16 20:53:11 2006 +++ - Thu Mar 16 20:52:29 2006 @@ -0,0 +1,14 @@ +# New ports collection makefile for: php4-tidy +# Date created: 16 Mar 2006 +# Whom: -Alex Dupre <ale@FreeBSD.org> +# -Rick van der Zwet <rick@wzoeterwoude.net> +# $Id$ +# + +CATEGORIES= www + +MASTERDIR= ${.CURDIR}/../../lang/php4 + +PKGNAMESUFFIX= -tidy + +.include "${MASTERDIR}/Makefile" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603191130.k2JBUIAv032670>