mod_xml2enc is a transcoding module that can be used to extend the

internationalisation support of libxml2-based filter modules by
converting encoding before and/or after the filter has run.
Thus an unsupported input charset can be converted to UTF-8,
and output can also be converted to another charset if required.

WWW: http://apache.webthing.com/mod_xml2enc/

PR:		ports/155203
Submitted by:	Marin Atanasov Nikolov <dnaeon at gmail.com>
This commit is contained in:
Martin Wilke 2011-03-17 15:56:06 +00:00
parent 82c16827c5
commit c5ade3bf73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271133
4 changed files with 48 additions and 0 deletions

View File

@ -574,6 +574,7 @@
SUBDIR += mod_whatkilledus
SUBDIR += mod_wsgi
SUBDIR += mod_wsgi3
SUBDIR += mod_xml2enc
SUBDIR += mod_xmlns
SUBDIR += mod_xsendfile
SUBDIR += moinmoin

38
www/mod_xml2enc/Makefile Normal file
View File

@ -0,0 +1,38 @@
# New ports collection makefile for: mod_xml2enc
# Date created: 02 March 2011
# Whom: Marin Atanasov Nikolov <dnaeon@gmail.com>
#
# $FreeBSD$
#
PORTNAME= mod_xml2enc
PORTVERSION= 1.0.3
CATEGORIES= www
MASTER_SITES= http://apache.webthing.com/mod_proxy_html/
DISTNAME= mod_proxy_html
DIST_SUBDIR= mod_proxy_html
MAINTAINER= dnaeon@gmail.com
COMMENT= Apache module for converting encoding before and/or after a filter run
MAKE_JOBS_SAFE= yes
USE_APACHE= 2.2+
AP_FAST_BUILD= YES
AP_GENPLIST= YES
SHORTMODNAME= xml2enc
USE_BZIP2= YES
USE_GNOME= libxml2
AP_INC+= ${LOCALBASE}/include/libxml2 -I${WRKSRC}
AP_LIB+= ${LOCALBASE}/lib
AP_EXTRAS+= -lxml2
PLIST_FILES= %%DOCSDIR%%/COPYING
PLIST_DIRS= %%DOCSDIR%%
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
.include <bsd.port.mk>

2
www/mod_xml2enc/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (mod_proxy_html/mod_proxy_html.tar.bz2) = a1aee758bda605e153868b91188ebf2c527b8eeb0f115d11af152078e65895bf
SIZE (mod_proxy_html/mod_proxy_html.tar.bz2) = 23019

View File

@ -0,0 +1,7 @@
mod_xml2enc is a transcoding module that can be used to extend the
internationalisation support of libxml2-based filter modules by
converting encoding before and/or after the filter has run.
Thus an unsupported input charset can be converted to UTF-8,
and output can also be converted to another charset if required.
WWW: http://apache.webthing.com/mod_xml2enc/