head	1.16;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.14
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.14
	RELEASE_7_0_0:1.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.13
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.13
	RELEASE_5_2_0:1.13
	RELEASE_4_9_0:1.13
	RELEASE_5_1_0:1.13
	RELEASE_4_8_0:1.13
	RELEASE_5_0_0:1.12
	RELEASE_4_7_0:1.10
	RELEASE_4_6_2:1.8
	RELEASE_4_6_1:1.8
	RELEASE_4_6_0:1.8
	RELEASE_5_0_DP1:1.8
	RELEASE_4_5_0:1.8
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.5
	RELEASE_4_1_1:1.5
	RELEASE_4_1_0:1.5
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.1;
locks; strict;
comment	@# @;


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

1.15
date	2011.07.25.19.00.26;	author shaun;	state Exp;
branches;
next	1.14;

1.14
date	2006.05.13.04.41.09;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2003.02.20.19.15.24;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2002.11.07.03.10.57;	author adamw;	state Exp;
branches;
next	1.11;

1.11
date	2002.11.06.22.47.14;	author adamw;	state Exp;
branches;
next	1.10;

1.10
date	2002.09.01.17.56.21;	author dwcjr;	state Exp;
branches;
next	1.9;

1.9
date	2002.09.01.16.07.56;	author dwcjr;	state Exp;
branches;
next	1.8;

1.8
date	2001.04.07.17.48.23;	author ben;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.05.15.33.21;	author olgeni;	state Exp;
branches;
next	1.6;

1.6
date	2001.01.07.17.49.51;	author will;	state Exp;
branches;
next	1.5;

1.5
date	2000.07.14.01.55.13;	author jedgar;	state Exp;
branches;
next	1.4;

1.4
date	2000.06.22.05.52.07;	author will;	state Exp;
branches;
next	1.3;

1.3
date	2000.04.10.00.05.09;	author cpiazza;	state Exp;
branches;
next	1.2;

1.2
date	2000.03.22.01.59.34;	author will;	state Exp;
branches;
next	1.1;

1.1
date	2000.01.29.07.15.09;	author steve;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:	fhttpd
# Date created:		21 Dec 1999
# Whom:			Will Andrews <andrews@@technologist.com>
#
# $FreeBSD: head/www/fhttpd/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	fhttpd
PORTVERSION=	0.4.2
CATEGORIES=	www
MASTER_SITES=	http://www.fhttpd.org/ \
		ftp://ftp.fhttpd.org/fhttpd/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	C++-based FTP/HTTP server that supports modules

LOGFILE=	share/fhttpd/fhttpd.log
PLIST_SUB+=	LOGFILE=${LOGFILE}

CXXFLAGS+=	-Wno-deprecated -Wno-write-strings

post-extract:
	@@${CP} ${FILESDIR}/fhttpd.sh ${WRKSRC}

pre-patch:
	(cd ${WRKSRC} && ${TAR} xf http-root.tar)

pre-install:
	${RM} -rf ${WRKSRC}/http-root/pub/dummy_directory
	${REINPLACE_CMD} -e "s:%%LOGFILE%%:${PREFIX}/${LOGFILE}:g" \
		${WRKSRC}/fhttpd.sh ${WRKSRC}/http-root/root-fhttpd.conf
	${REINPLACE_CMD} -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/http-root/root-fhttpd.conf

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/fhttpd.sh ${PREFIX}/etc/rc.d
.for PROG in fhttpd fhttpd-file fhttpd-log
	${INSTALL_PROGRAM} ${WRKSRC}/${PROG} ${PREFIX}/sbin
.endfor
	${INSTALL_DATA} ${WRKSRC}/http-root/root-fhttpd.conf ${PREFIX}/etc/fhttpd.conf
	${MKDIR} ${PREFIX}/share/fhttpd/bin
	${INSTALL_SCRIPT} ${WRKSRC}/http-root/bin/* ${PREFIX}/share/fhttpd/bin
	${MKDIR} ${PREFIX}/share/fhttpd/cgi-bin
	${INSTALL_SCRIPT} ${WRKSRC}/http-root/cgi-bin/f* ${PREFIX}/share/fhttpd/cgi-bin
	${INSTALL_DATA} ${WRKSRC}/http-root/cgi-bin/.index.html ${PREFIX}/share/fhttpd/cgi-bin
	${MKDIR} ${PREFIX}/share/fhttpd/incoming
.for DIR in icons private pub
	${MKDIR} ${PREFIX}/share/fhttpd/${DIR}
	${INSTALL_DATA} ${WRKSRC}/http-root/${DIR}/* ${PREFIX}/share/fhttpd/${DIR}/
.endfor
.for DIR in private pub
	${INSTALL_DATA} ${WRKSRC}/http-root/${DIR}/.[fhi]* ${PREFIX}/share/fhttpd/${DIR}/
.endfor
.for FILE in index.html noaccess.html
	${INSTALL_DATA} ${WRKSRC}/http-root/${FILE} ${PREFIX}/share/fhttpd/
.endfor

post-install:
	${TOUCH} ${PREFIX}/${LOGFILE}

.include <bsd.port.mk>
@


1.15
log
@Fix build with clang.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d20 2
@


1.13
log
@De-pkg-comment.
@
text
@a16 2
USE_REINPLACE=	yes

@


1.12
log
@Fix PORTCOMMENTs that were killing INDEX builds.

105 pointy hats to:	me
Approved by:		pat
@
text
@d15 1
@


1.11
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a15 2
PORTCOMMENT=	C++-based FTP/HTTP server that supports modules

@


1.10
log
@Update MASTER_SITES

PR:		41946
Submitted by:	j.el-rayes@@muthaland.at
@
text
@d16 2
@


1.9
log
@${PERL} -> ${REINPLACE_CMD}

PR:		40784
Submitted by:	corecode@@corecode.ath.cx
Reviewed by:	flynn@@energyhq.homeip.net
@
text
@d12 1
a12 1
		ftp://ftp.fhttpd.org/
@


1.8
log
@Fix fennerism.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/fhttpd/Makefile,v 1.7 2001/02/05 15:33:21 olgeni Exp $
d16 2
d29 1
a29 1
	${PERL} -pi -e "s:%%LOGFILE%%:${PREFIX}/${LOGFILE}:g" \
d31 1
a31 1
	${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/http-root/root-fhttpd.conf
@


1.7
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/fhttpd/Makefile,v 1.6 2001/01/07 17:49:51 will Exp $
d11 2
a12 1
MASTER_SITES=	ftp://ftp.fhttpd.org/
@


1.6
log
@Clean up inefficient perl invocations; use multiple REs in the same call.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/fhttpd/Makefile,v 1.5 2000/07/14 01:55:13 jedgar Exp $
d9 1
a9 1
PORTVERSION= 	0.4.2
@


1.5
log
@Convert startup script to {start|stop} usage
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/fhttpd/Makefile,v 1.4 2000/06/22 05:52:07 will Exp $
d26 2
a27 1
	${PERL} -pi -e "s:%%LOGFILE%%:${PREFIX}/${LOGFILE}:g" ${WRKSRC}/fhttpd.sh
a28 1
	${PERL} -pi -e "s:%%LOGFILE%%:${PREFIX}/${LOGFILE}:g" ${WRKSRC}/http-root/root-fhttpd.conf
@


1.4
log
@Unleash all of these ports upon the people.  I no longer have any interest
in any of them, but will be happy to assign MAINTAINER to others and commit
updates for them.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/fhttpd/Makefile,v 1.3 2000/04/10 00:05:09 cpiazza Exp $
a25 1
	${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/fhttpd.sh
a30 1
	${MKDIR} ${PREFIX}/etc/rc.d
@


1.3
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/fhttpd/Makefile,v 1.2 2000/03/22 01:59:34 will Exp $
d13 1
a13 1
MAINTAINER=	will@@FreeBSD.org
@


1.2
log
@Finish moving MAINTAINER for my ports.
andrews@@technologist.com -> will@@FreeBSD.org. :-)

Reminded by:	asami
@
text
@a1 1
# Version required:	0.4.2
d5 1
a5 1
# $FreeBSD: ports/www/fhttpd/Makefile,v 1.1 2000/01/29 07:15:09 steve Exp $
d8 2
a9 1
DISTNAME=	fhttpd-0.4.2
@


1.1
log
@Adding fhttpd version 0.4.2.
A C++-based FTP/HTTP server that supports modules.

PR:		15804
Submitted by:	Will Andrews <andrews@@technologist.com>
@
text
@d6 1
a6 1
# $FreeBSD$
d13 1
a13 1
MAINTAINER=	andrews@@technologist.com
@

