head	1.17;
access;
symbols
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.11
	RELEASE_5_2_0:1.11
	RELEASE_4_9_0:1.11
	RELEASE_5_1_0:1.11
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.7
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.2;
locks; strict;
comment	@# @;


1.17
date	2006.01.14.21.15.50;	author pav;	state dead;
branches;
next	1.16;

1.16
date	2005.11.25.09.53.30;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2005.11.25.06.42.52;	author edwin;	state Exp;
branches;
next	1.14;

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

1.13
date	2004.02.12.02.41.14;	author ijliao;	state Exp;
branches;
next	1.12;

1.12
date	2004.02.04.05.20.12;	author marcus;	state Exp;
branches;
next	1.11;

1.11
date	2003.04.08.04.12.17;	author ijliao;	state Exp;
branches;
next	1.10;

1.10
date	2003.02.20.17.24.10;	author knu;	state Exp;
branches;
next	1.9;

1.9
date	2002.11.10.16.45.58;	author lioux;	state Exp;
branches;
next	1.8;

1.8
date	2002.11.06.22.44.54;	author adamw;	state Exp;
branches;
next	1.7;

1.7
date	2002.07.26.09.44.50;	author ijliao;	state Exp;
branches;
next	1.6;

1.6
date	2002.07.17.07.48.42;	author ijliao;	state Exp;
branches;
next	1.5;

1.5
date	2002.07.08.11.52.19;	author ijliao;	state Exp;
branches;
next	1.4;

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

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

1.2
date	2001.08.04.07.08.27;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2001.04.19.07.42.07;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.17
log
@- Remove expired ports
@
text
@# ex:ts=8
# New ports collection makefile for:	emirror
# Date created:			Apr 19, 2001
# Whom:				Ying-Chieh Liao <ijliao@@FreeBSD.org>
#
# $FreeBSD: ports/ftp/emirror/Makefile,v 1.16 2005/11/25 09:53:30 edwin Exp $
#

PORTNAME=	emirror
PORTVERSION=	2.2.0.0.4
PORTREVISION=	0
CATEGORIES=	ftp python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/snapshots/
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}-2.2.0-0.4

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A full features FTP-mirroring software with nice logfiles

DEPRECATED=	Doesn't work (see ports/83546)
EXPIRATION_DATE=2005-12-31
IGNORE=		doesn't work (see ports/83546)

HTMLDIR?=	${PREFIX}/www/emirror
LOCKDIR?=	/tmp/emirror-locks

USE_REINPLACE=	yes
USE_PYTHON=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-htmldir=${HTMLDIR}
USE_GMAKE=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/emirror bin/mirror bin/updateindex
MAN1=	emirror.1

post-patch:
	@@${REINPLACE_CMD} -e "s| -b | |" \
		-e "s|[$$][(]prefix[)]/var/emirror/locks|${LOCKDIR}|" \
		${WRKSRC}/Makefile.in
.for file in cgi/status.cgi.in etc/general.cfg.in
	@@${REINPLACE_CMD} -e "s|@@prefix@@/var/emirror/locks|${LOCKDIR}|" \
		${WRKSRC}/${file}
.endfor
	@@${REINPLACE_CMD} -e "s|/var/tmp/emirror-locks/|${LOCKDIR}|" \
		${WRKSRC}/main.py
	@@${GREP} -lR "/var/www" ${WRKSRC}/etc | ${XARGS} \
		${REINPLACE_CMD} -e "s,/var/www,${HTMLDIR},"

post-install:
	@@${FIND} ${PREFIX}/lib/emirror -type f | \
		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
	@@${ECHO_CMD} "@@dirrm lib/emirror" >> ${TMPPLIST}
	@@${FIND} ${PREFIX}/etc/emirror -type f | \
		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
	@@${FIND} ${PREFIX}/etc/emirror -type d | ${SORT} -r | \
		${SED} "s,^${PREFIX}/,@@dirrm ," >> ${TMPPLIST}
	@@${FIND} ${HTMLDIR} -type f | \
		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
	@@${ECHO_CMD} "@@dirrm ${HTMLDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}

.include <bsd.port.mk>
@


1.16
log
@add ignore statement, as requested by kris
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.15
log
@Put ftp/emirror on the death row.
See ports/83546 for more information.
@
text
@d23 1
@


1.14
log
@- Fix MASTER_SITES

PR:		ports/66699
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d21 3
@


1.13
log
@upgrade to 2.2.0-0.4
@
text
@d14 1
a14 1
		ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/
@


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

(Part 2)
@
text
@d10 2
a11 2
PORTVERSION=	2.1.21
PORTREVISION=	2
d16 1
d21 4
d27 1
a27 1
CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc
d31 1
d33 25
@


1.11
log
@better error handling

Obtained from:	author post on mailing list
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.10
log
@De-pkg-comment.
@
text
@d11 1
@


1.9
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d17 1
@


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

Approved by:	pat
@
text
@a17 2
PORTCOMMENT=	A full features FTP-mirroring software with nice logfiles

@


1.7
log
@add one more master site and update WWW
@
text
@d18 2
@


1.6
log
@remove unavailable master site
@
text
@d12 2
a13 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@


1.5
log
@upgrade to 2.1.21
drop maintainership
@
text
@d12 1
a12 2
MASTER_SITES=	ftp://eclipt.uni-klu.ac.at/projects/emirror/ \
		${MASTER_SITE_SOURCEFORGE}
@


1.4
log
@set sysconfdir so that emirror can find it

PR:		31531
Submitted by:	Hendrik Scholz <hendrik@@scholz.net>
@
text
@d10 1
a10 1
PORTVERSION=	2.1.20
a12 1
		ftp://emirror.sourceforge.net/pub/emirror/ \
d16 1
a16 1
MAINTAINER=	ijliao@@FreeBSD.org
d21 1
@


1.3
log
@upgrade to 2.1.20
@
text
@d21 1
@


1.2
log
@upgrade to 2.1.19
@
text
@d6 1
a6 1
# $FreeBSD: ports/ftp/emirror/Makefile,v 1.1 2001/04/19 07:42:07 ijliao Exp $
d10 1
a10 1
PORTVERSION=	2.1.19
@


1.1
log
@add emirror
A full features FTP-mirroring software with nice logfiles
@
text
@d6 1
a6 1
# $FreeBSD$
d10 1
a10 1
PORTVERSION=	2.1.18
@

