freebsd-ports/www/mod_encoding/Makefile
Edwin Groothuis 7affea4639 New port: www/mod_encoding
mod_encoding - Apache module for non-ascii filename interoperability

	This module improves non-ascii filename interoperability
	of apache (and mod_dav).

	It seems many WebDAV clients send filename in its platform-local
	encoding. But since mod_dav expects everything, even HTTP
	request line, to be in UTF-8, this causes an interoperability
	problem.

Note by maintainer: this port also solves the annoying form of
authentication that Windows machines do against a DAV enabled server:
"hostname\\username" instaed of the standard "username"
2003-11-13 05:00:36 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: mod_encoding
# Date created: Thursday 13 November 2003
# Whom: edwin@mavetju.org
#
# $FreeBSD$
#
PORTNAME= mod_encoding
PORTVERSION= 20021209
CATEGORIES= www
MASTER_SITES= http://webdav.todo.gr.jp/download/
MAINTAINER= edwin@mavetju.org
COMMENT= Apache module for non-ascii filename interoperability
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
# This port will work with the following version of Apache and anything newer.
# Mostly because of the dependency of mod_dav.
APACHE_VERSION= 1.3.6
USE_APACHE= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--bindir=${PREFIX}/bin \
--sbindir=${PREFIX}/sbin \
--libexecdir=${PREFIX}/libexec/apache \
--mandir=${PREFIX}/man \
--sysconfdir=${PREFIX}/etc/apache \
--datadir=${PREFIX}/share/apache \
--includedir=${PREFIX}/include/apache \
--with-apxs=${APXS}
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include/apache -I${LOCALBASE}/include' \
LIBS='-L${LOCALBASE}/lib' \
PATH="${PREFIX}/bin:${PREFIX}/sbin:${PATH}"
.include <bsd.port.mk>