head	1.31;
access;
symbols
	RELEASE_8_3_0:1.29
	RELEASE_9_0_0:1.29
	RELEASE_7_4_0:1.28
	RELEASE_8_2_0:1.28
	RELEASE_6_EOL:1.28
	RELEASE_8_1_0:1.28
	RELEASE_7_3_0:1.28
	RELEASE_8_0_0:1.28
	RELEASE_7_2_0:1.27
	RELEASE_7_1_0:1.27
	RELEASE_6_4_0:1.27
	RELEASE_5_EOL:1.26
	RELEASE_7_0_0:1.26
	RELEASE_6_3_0:1.26
	PRE_XORG_7:1.24
	RELEASE_4_EOL:1.24
	RELEASE_6_2_0:1.24
	RELEASE_6_1_0:1.23
	RELEASE_5_5_0:1.23
	RELEASE_6_0_0:1.21
	RELEASE_5_4_0:1.18
	RELEASE_4_11_0:1.18
	RELEASE_5_3_0:1.18
	RELEASE_4_10_0:1.18
	RELEASE_5_2_1:1.15
	RELEASE_5_2_0:1.15
	RELEASE_4_9_0:1.12
	RELEASE_5_1_0:1.4;
locks; strict;
comment	@# @;


1.31
date	2013.02.07.14.08.06;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2012.11.17.06.02.39;	author svnexp;	state Exp;
branches;
next	1.29;

1.29
date	2011.09.23.22.26.02;	author amdmi3;	state Exp;
branches;
next	1.28;

1.28
date	2009.08.22.00.38.12;	author amdmi3;	state Exp;
branches;
next	1.27;

1.27
date	2008.08.21.06.18.36;	author rafan;	state Exp;
branches;
next	1.26;

1.26
date	2007.07.04.22.55.38;	author danfe;	state Exp;
branches;
next	1.25;

1.25
date	2007.05.27.02.58.29;	author kris;	state Exp;
branches;
next	1.24;

1.24
date	2006.05.13.04.41.13;	author edwin;	state Exp;
branches;
next	1.23;

1.23
date	2005.11.05.18.58.36;	author arved;	state Exp;
branches;
next	1.22;

1.22
date	2005.10.28.22.48.39;	author kris;	state Exp;
branches;
next	1.21;

1.21
date	2005.04.21.17.44.08;	author krion;	state Exp;
branches;
next	1.20;

1.20
date	2005.04.12.03.26.44;	author obrien;	state Exp;
branches;
next	1.19;

1.19
date	2005.04.11.08.04.19;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	2004.04.16.14.42.39;	author krion;	state Exp;
branches;
next	1.17;

1.17
date	2004.02.04.05.09.30;	author marcus;	state Exp;
branches;
next	1.16;

1.16
date	2004.01.30.14.05.15;	author krion;	state Exp;
branches;
next	1.15;

1.15
date	2003.11.11.08.57.15;	author krion;	state Exp;
branches;
next	1.14;

1.14
date	2003.10.08.12.33.42;	author krion;	state Exp;
branches;
next	1.13;

1.13
date	2003.10.04.12.29.06;	author krion;	state Exp;
branches;
next	1.12;

1.12
date	2003.08.20.21.34.45;	author krion;	state Exp;
branches;
next	1.11;

1.11
date	2003.08.11.10.44.09;	author krion;	state Exp;
branches;
next	1.10;

1.10
date	2003.07.23.21.37.18;	author krion;	state Exp;
branches;
next	1.9;

1.9
date	2003.07.22.10.34.12;	author krion;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.18.05.19.09;	author daichi;	state Exp;
branches;
next	1.7;

1.7
date	2003.07.16.08.42.44;	author osa;	state Exp;
branches;
next	1.6;

1.6
date	2003.06.25.08.35.07;	author leeym;	state Exp;
branches;
next	1.5;

1.5
date	2003.06.09.18.11.16;	author fjoe;	state Exp;
branches;
next	1.4;

1.4
date	2003.05.16.18.08.40;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2003.05.09.06.58.13;	author ijliao;	state Exp;
branches;
next	1.2;

1.2
date	2003.04.30.12.15.55;	author fjoe;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.29.17.35.56;	author fjoe;	state Exp;
branches;
next	;


desc
@@


1.31
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311829
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	middleman
# Date created:				Sun Apr 27 15:48:16 CEST 2003
# Whom:					Kirill Ponomarew <ponomarew@@oberon.net>
#
# $FreeBSD: head/www/middleman/Makefile 311829 2013-02-07 12:37:48Z gahr $
#

PORTNAME=	middleman
PORTVERSION=	1.9.1
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	SF/middle-man/Source/${PORTNAME}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A robust proxy server

WRKSRC=		${WRKDIR}/${PORTNAME}
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -pthread

MAN8=		mman.8

.if defined(WITH_SYSLOG)
CONFIGURE_ARGS+=	--enable-syslog
.endif

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=	--enable-debug
.endif

.if defined(WITH_MTIME)
CONFIGURE_ARGS+=	--enable-mtime
.endif

MMAN_CACHE=	/var/cache/mman
PLIST_SUB+=	MMAN_CACHE=${MMAN_CACHE}

post-patch:
	@@${REINPLACE_CMD} -e \
	's|/usr/bin/mman|${PREFIX}/bin/mman|g ; \
	s|/etc/mman/config.xml|${PREFIX}/etc/mman.xml|g' \
		${WRKSRC}/scripts/mman.init \
		${WRKSRC}/man/mman.8

do-install:
	@@${MKDIR} ${MMAN_CACHE}
	${INSTALL_MAN} ${WRKSRC}/man/mman.8 ${MANPREFIX}/man/man8
	${INSTALL_PROGRAM} ${WRKSRC}/mman ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/config.xml \
		${PREFIX}/etc/mman.xml.dist
	${INSTALL_DATA} ${WRKSRC}/scripts/mman.init \
		${PREFIX}/etc/rc.d/mman.sh.sample
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/scripts/filter.pl ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.30
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/middleman/Makefile 300897 2012-07-14 14:29:18Z beat $
d21 2
a22 2
CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
@


1.29
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
@d5 1
a5 1
# $FreeBSD$
@


1.28
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d21 2
a22 2
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@


1.27
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	middle-man
@


1.26
log
@- Fix the build with GCC 4.2 [1]
- Usual round of Makefile nits

Reported by:	pointyhat (logs) [1]
@
text
@a19 1
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.25
log
@BROKEN with gcc 4.2
@
text
@d1 3
a3 3
# New ports collection makefile for: 	middleman
# Date created:		Sun Apr 27 15:48:16 CEST 2003
# Whom:                Kirill Ponomarew <ponomarew@@oberon.net>
a42 6
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=		Broken with gcc 4.2
.endif

d59 1
a59 1
	${MKDIR} ${DOCSDIR}
d64 1
a64 1
.include <bsd.port.post.mk>
@


1.24
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d45 4
@


1.23
log
@Unbreak on CURRENT
@
text
@a21 1
USE_REINPLACE=	yes
@


1.22
log
@BROKEN on 7.0: Does not compile
@
text
@a45 4
.if ${OSVERSION} >= 700000
BROKEN=		"Does not compile on FreeBSD >= 7.0"
.endif

@


1.21
log
@Drop maintership.
@
text
@d44 6
d71 1
a71 1
.include <bsd.port.mk>
@


1.20
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d15 1
a15 1
MAINTAINER=	krion@@FreeBSD.org
@


1.19
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d20 1
a20 1
CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
@


1.18
log
@- Remove USE_SIZE knob
@
text
@d20 1
a20 1
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


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

(Part 1)
@
text
@a17 1
USE_SIZE=	yes
@


1.16
log
@- SIZEify
@
text
@d10 1
@


1.15
log
@- Update to version 1.9.1
@
text
@d17 1
@


1.14
log
@- Install sample configuraion file
- Bump PORTREVISION

PR:		57741
Submitted by:	ceri
@
text
@d9 1
a9 2
PORTVERSION=	1.9
PORTREVISION=	1
d19 1
@


1.13
log
@- Update to version 1.9
@
text
@d10 1
d55 1
a55 1
		${PREFIX}/etc/mman.xml
@


1.12
log
@- Update to 1.8.3
@
text
@d9 1
a9 1
PORTVERSION=	1.8.3
d22 3
a42 3
	@@${REINPLACE_CMD} -e \
	's|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/configure
@


1.11
log
@Update to 1.8.2
@
text
@d9 1
a9 1
PORTVERSION=	1.8.2
d22 2
d46 2
a47 1
		${WRKSRC}/scripts/mman.init
d51 1
@


1.10
log
@Update to 1.8.1

Approved by:	fjoe (mentor) (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	1.8.1
@


1.9
log
@Change my mail to @@FreeBSD.org

Approved by:	fjoe (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.8
@


1.8
log
@update www/middleman: 1.7.1 -> 1.8

PR:		54596
Submitted by:	Kirill Ponomarew <ponomarew@@oberon.net> (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	ponomarew@@oberon.net
@


1.7
log
@Maintainer's update to 1.7.1
Use ${DOCSDIR} in Makefile
Use %%PORTDOCS%%%%DOCSDIR%% for pkg-plist

PR:	54389
@
text
@d9 1
a9 1
PORTVERSION=	1.7.1
@


1.6
log
@Update www/middleman: 1.6 -> 1.7

PR:		53693
Submitted by:	Kirill Ponomarew <ponomarew@@oberon.net>
@
text
@d9 1
a9 1
PORTVERSION=	1.7
a12 1
EXTRACT_SUFX=	.tgz
d54 3
a56 5
	${MKDIR} ${PREFIX}/share/doc/middleman
	${INSTALL_DATA} ${WRKSRC}/scripts/filter.pl \
		${PREFIX}/share/doc/middleman/
	${INSTALL_DATA} ${WRKSRC}/README.html \
		${PREFIX}/share/doc/middleman/
@


1.5
log
@Update www/middleman (maintainer): 1.5.3 -> 1.6

* A security flaw that would allow malicious
  Web pages to change proxy settings was fixed.
* A new feature was added that allows
  access to the proxy server to be restricted
  based on date/time.
* Files that exceed the maximum buffer size can now
  be partially buffered and processed.

PR:		53000
Submitted by:	Kirill Ponomarew (MAINTAINER)
@
text
@d9 1
a9 1
PORTVERSION=	1.6
a12 1
DISTNAME=	${PORTNAME}-${PORTVERSION}
d16 1
a16 3
COMMENT=	Middleman is a robust proxy server

WRKSRC=		${WRKDIR}/middleman
d18 1
@


1.4
log
@fix core dump

Reportted by:	James Satterfield <james@@uberduper.com>
Submitted by:	maintainer (with little modification)
@
text
@d9 1
a9 1
PORTVERSION=	1.5.3
d33 4
d41 6
a46 3
	@@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
	@@${REINPLACE_CMD} -e 's|/usr/bin/mman|${PREFIX}/bin/mman|g' \
		-e 's|/etc/mman/config.xml|${PREFIX}/etc/mman.xml|g' \
d52 4
a55 2
	${INSTALL_DATA} ${WRKSRC}/config.xml ${PREFIX}/etc/mman.xml
	${INSTALL_DATA} ${WRKSRC}/scripts/mman.init ${PREFIX}/etc/rc.d/mman.sh.sample
d58 4
a61 2
	${INSTALL_DATA} ${WRKSRC}/scripts/filter.pl ${PREFIX}/share/doc/middleman/
	${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/doc/middleman/
@


1.3
log
@upgrade to 1.5.3

PR:		51983
Submitted by:	maintainer
@
text
@d33 3
d43 1
@


1.2
log
@Honor PREFIX when patching startup script

Submitted by:	MAINTAINER
@
text
@d9 1
a9 1
PORTVERSION=	1.5.2
@


1.1
log
@New port: middleman

Middleman is a robust proxy server.

PR:		51471
Submitted by:	Kirill Ponomarew
@
text
@d35 3
@

