1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/mod_fileiri/Makefile
Chin-San Huang dc44c65e83 Add mod_fileiri, a http IRIs module for Apache 2.
mod_fileiri implements http IRIs for directories/files, i.e.
if accepts URIs with non-ASCII characters encoded in UTF-8 and
converts them to the legacy encoding used in the file system
(which can be specified per directory, or even finer if necessary
(although that's a real hack)).

What is more, it continues to accept requests in the legacy
encoding specified, and redirects them to the correct UTF-8
form, which then returns the actual document (without looping).

There is also a backwards mode, which does redirects from
URIs in a specified legacy encoding to UTF-8 if the directory/
filenames are in UTF-8.

WWW: http://www.w3.org/2003/06/mod_fileiri/
2008-05-28 12:36:05 +00:00

27 lines
491 B
Makefile

# New ports collection makefile for: mod_fileiri
# Date created: 2008/05/27
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= mod_fileiri
PORTVERSION= 1.15
CATEGORIES= www
MASTER_SITES= LOCAL/chinsan
DIST_SUBDIR= apache2
MAINTAINER= chinsan@FreeBSD.org
COMMENT= A http IRIs module for Apache 2
USE_APACHE= 20+
PLIST_SUB= APACHE_DIR=${APACHEMODDIR}
do-build:
cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
do-install:
${APXS} -i -c -n fileiri ${WRKSRC}/${PORTNAME}.so
.include <bsd.port.mk>