head	1.16;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.10
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.06.02.40;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.14;

1.14
date	2012.07.28.15.57.55;	author cs;	state Exp;
branches;
next	1.13;

1.13
date	2012.01.01.16.47.38;	author ohauer;	state Exp;
branches;
next	1.12;

1.12
date	2011.09.23.22.26.03;	author amdmi3;	state Exp;
branches;
next	1.11;

1.11
date	2011.08.20.17.27.41;	author ohauer;	state Exp;
branches;
next	1.10;

1.10
date	2010.09.14.05.31.44;	author pgollucci;	state Exp;
branches;
next	1.9;

1.9
date	2010.08.31.03.42.05;	author pgollucci;	state Exp;
branches;
next	1.8;

1.8
date	2010.05.25.20.17.30;	author pgollucci;	state Exp;
branches;
next	1.7;

1.7
date	2009.05.21.20.45.27;	author pgollucci;	state Exp;
branches;
next	1.6;

1.6
date	2008.12.28.08.08.58;	author pgollucci;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.23.09.36.44;	author rafan;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.30.19.56.43;	author krion;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.06.13.12.42;	author trevor;	state Exp;
branches;
next	1.2;

1.2
date	2004.02.04.05.09.30;	author marcus;	state Exp;
branches;
next	1.1;

1.1
date	2003.11.13.05.00.36;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:	mod_encoding
# Date created:		Thursday 13 November 2003
# Whom:			edwin@@mavetju.org
#
# $FreeBSD: head/www/mod_encoding/Makefile 302724 2012-08-18 14:29:08Z ohauer $
#

PORTNAME=	mod_encoding
PORTVERSION=	20021209
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://webdav.todo.gr.jp/download/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	apache@@FreeBSD.org
COMMENT=	Apache module for non-ASCII filename interoperability

MAKE_JOBS_SAFE=	yes

# 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=	22+
USE_ICONV=	yes
HAS_CONFIGURE=	yes
USE_GMAKE=	yes

CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--bindir=${PREFIX}/bin \
		--sbindir=${PREFIX}/sbin \
		--libexecdir=${APACHEMODDIR} \
		--sysconfdir=${APACHEETCDIR} \
		--includedir=${APACHEINCLUDEDIR} \
		--with-apxs=${APXS}

CONFIGURE_ENV=	LIBS='-L${LOCALBASE}/lib' \
		PATH="${PREFIX}/bin:${PREFIX}/sbin:${PATH}"
CPPFLAGS+=	-I${APACHEINCLUDEDIR} -I${LOCALBASE}/include

PLIST_FILES=	${APACHEMODDIR}/mod_encoding.so

EXTRA_PATCHES=	${PATCHDIR}/apache22_patch

.if !defined(WITHOUT_ICONV_FIX)
EXTRA_PATCHES+=	${PATCHDIR}/iconv_hook-20040430.patch
.endif

.if defined(WITH_QUERYSTRING_FIX)
EXTRA_PATCHES+=	${PATCHDIR}/queryfix-patch22
.endif

.include <bsd.port.mk>
@


1.15
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@SVN rev 301663 on 2012-07-28 15:57:55Z by cs

Fix typos in COMMENT

Approved by:	portmgr@@ (implicit)
@
text
@d24 1
a24 1
USE_APACHE=	20+
a28 2
.include <bsd.port.pre.mk>

a42 3
.if ${APACHE_VERSION} == 20
EXTRA_PATCHES=	${PATCHDIR}/apache20_patch
.elif ${APACHE_VERSION} >= 22
a43 1
.endif
a49 3
.if ${APACHE_VERSION} <= 20
EXTRA_PATCHES+=	${PATCHDIR}/queryfix-patch13
.elif ${APACHE_VERSION} >= 22
a51 1
.endif
d53 1
a53 1
.include <bsd.port.post.mk>
@


1.13
log
@- change required APACHE version from 13+ to 20+
  (prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@@
@
text
@d16 1
a16 1
COMMENT=	Apache module for non-ascii filename interoperability
@


1.12
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d24 1
a24 1
USE_APACHE=	13+
@


1.11
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d39 1
a39 2
CONFIGURE_ENV=	CPPFLAGS='-I${APACHEINCLUDEDIR} -I${LOCALBASE}/include' \
		LIBS='-L${LOCALBASE}/lib' \
d41 1
@


1.10
log
@- Drop support for www/apache21

PR:             ports/146560
Submitted by:   myself (pgollucci)
With Hat:       apache@@
@
text
@d10 1
a10 1
PORTREVISION=	2
d24 1
a24 1
USE_APACHE=	1.3+
@


1.9
log
@- Pass to apache@@

Approved by:    edwin via developers@@
@
text
@d18 1
a18 1
MAKE_JOBS_SAFE=  yes
d47 1
a47 1
.elif ${APACHE_VERSION} >= 21
d58 1
a58 1
.elif ${APACHE_VERSION} >= 21
@


1.8
log
@Mk/bsd.apache.mk can not sufficiently alter things before Mk/bsd.options.mk
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk.  This causes OPTIONSFILE
to be incorrectly set during some make phases as a result of the recent
PKGNAMEPREFIX for apache ports.

'Revert' some of the PKGNAMEPREFIX changes for apXX-.
   - Must be manually requested in tbe port Makefile either by
     a) AP_FAST_BUILD=yes
     b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX}
   - Going forward, we will only do this for ports where WITH_APACHE
       is NOT optional, but required.  mod_* ports are a good fit.

141 ports are mod_ ports
  80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a].
  61 remaining are then patched to mirror the other $lang frameworks [b].

PR:             ports/146956
Reported by:    Hans F. Nordhaug <Hans.F.Nordhaug@@hiMolde.no>, several
Discussed with: pav, itectu on #bsdports
Tested by:      P6 TB run
Approved by:    portmgr (pav)
@
text
@d15 1
a15 1
MAINTAINER=	edwin@@mavetju.org
@


1.7
log
@- Mark remaining mod_* ports MAKE_JOBS_SAFE=yes

PR:             ports/134611
Approved by:    pav (#bsdports)
@
text
@d13 1
@


1.6
log
@- fix build with www/apache22
- fix build with www/apache20

PR:             ports/127032
Submitted by:   Tsurutani Naoki <turutani@@scphys.kyoto-u.ac.jp>
@
text
@d17 2
@


1.5
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 1
a19 1
APACHE_VERSION=	1.3.6
d21 1
a21 2
PLIST_FILES=	libexec/apache/mod_encoding.so
USE_APACHE=	yes
d25 3
d31 3
a33 4
		--libexecdir=${PREFIX}/libexec/apache \
		--sysconfdir=${PREFIX}/etc/apache \
		--datadir=${PREFIX}/share/apache \
		--includedir=${PREFIX}/include/apache \
d36 1
a36 1
CONFIGURE_ENV=	CPPFLAGS='-I${LOCALBASE}/include/apache -I${LOCALBASE}/include' \
d40 21
a60 1
.include <bsd.port.mk>
@


1.4
log
@- Use USE_ICONV knob

Approved by:	portmgr
@
text
@a29 1
		--mandir=${PREFIX}/man \
@


1.3
log
@Use PLIST_FILES (bento-tested, marcus-reviewed).
@
text
@a16 2
LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv

d23 1
@


1.2
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d23 1
@


1.1
log
@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"
@
text
@d10 1
@

