Import mod_tidy 0.3.
mod_tidy validates the HTML output of your apache2 webserver. PR: 57662 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
This commit is contained in:
parent
83037c0e8c
commit
60575e0bb9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91351
@ -250,6 +250,7 @@
|
||||
SUBDIR += mod_sqlinclude
|
||||
SUBDIR += mod_throttle
|
||||
SUBDIR += mod_ticket
|
||||
SUBDIR += mod_tidy
|
||||
SUBDIR += mod_trigger
|
||||
SUBDIR += mod_tsunami
|
||||
SUBDIR += mod_v2h
|
||||
|
38
www/mod_tidy/Makefile
Normal file
38
www/mod_tidy/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# New ports collection makefile for: mod_tidy
|
||||
# Date created: Sun Oct 5
|
||||
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_tidy
|
||||
PORTVERSION= 0.3
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://home.snafu.de/tusk/mod_tidy/
|
||||
DIST_SUBDIR= apache
|
||||
|
||||
MAINTAINER= sheepkiller@cultdeadsheep.org
|
||||
COMMENT= Validates the HTML output of your apache2 webserver
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
LIB_DEPENDS= tidy:${PORTSDIR}/www/tidy-lib
|
||||
|
||||
RESTRICTED= "no license"
|
||||
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
|
||||
TIDY_INC= ${LOCALBASE}/include/tidy
|
||||
TIDY_LIBS= ${LOCALBASE}/lib
|
||||
|
||||
post-extract:
|
||||
@${ECHO_MSG} "===> Removing distributed tidy libs to avoid conflicts"
|
||||
@${RM} -fr ${WRKSRC}/tidy
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC}/src && ${APXS} -I ${TIDY_INC} -L ${TIDY_LIBS} -c ${PORTNAME}.c)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC}/src && ${APXS} -A -i ${PORTNAME}.la)
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/mod_tidy/distinfo
Normal file
1
www/mod_tidy/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (apache/mod_tidy-0.3.tar.gz) = f4af3e8e1ba21483e0483e114bd66838
|
8
www/mod_tidy/pkg-descr
Normal file
8
www/mod_tidy/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
mod_tidy validates the HTML output of your apache2 webserver. So you don't need
|
||||
a separate application to check your HTML.
|
||||
It works as a filter that hooks up to HTML output. mod_tidy feeds the HTML
|
||||
output to TidyLib which validates the HTML output. If TidyLib finds
|
||||
an error the client receives a HTML page with a list of all found errors. If
|
||||
TidyLib doesn't complain you will get your HTML data as without mod_tidy.
|
||||
|
||||
WWW: http://home.snafu.de/tusk/mod_tidy/
|
4
www/mod_tidy/pkg-plist
Normal file
4
www/mod_tidy/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
libexec/apache2/mod_tidy.so
|
||||
@exec %D/sbin/apxs -e -A -n tidy %D/%f
|
||||
@unexec echo "===> If you do not plan on reinstalling mod_tidy, you must manually remove"; echo "===> references to it in httpd.conf."
|
Loading…
Reference in New Issue
Block a user