head	1.8;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.6
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1;
locks; strict;
comment	@# @;


1.8
date	2012.11.17.06.02.28;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2009.08.22.00.38.02;	author amdmi3;	state Exp;
branches;
next	1.6;

1.6
date	2006.09.14.13.30.45;	author shaun;	state Exp;
branches;
next	1.5;

1.5
date	2006.07.05.02.30.56;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2005.12.11.17.39.41;	author flz;	state Exp;
branches;
next	1.3;

1.3
date	2005.10.06.13.20.11;	author garga;	state Exp;
branches;
next	1.2;

1.2
date	2005.06.07.21.58.01;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2004.12.18.14.22.56;	author pav;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switch exporter over
@
text
@# New ports collection makefile for:	AutoIndex
# Date created:				17 December 2004
# Whom:					Daniel Gerzo <danger@@rulez.sk>
#
# $FreeBSD: head/www/autoindex/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	AutoIndex
PORTVERSION=	1.5.4
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME:L}/${PORTNAME}%20PHP%20Script%201.x/${PORTNAME}%20PHP%20${PORTVERSION}

MAINTAINER=	danger@@FreeBSD.org
COMMENT=	PHP 4.x script that makes a table that lists the files in a directory

WRKSRC=		${WRKDIR}/${PORTNAME}

IGNORE_WITH_PHP=	5
USE_PHP=	session
CONFLICTS=	AutoIndex-2*
NO_BUILD=	yes

PLIST_SUB+=	INSTALLDIR=${INSTALLDIR}

pre-fetch:
.if !defined(INSTALLDIR)
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Define INSTALLDIR to override default of 'www/data/${PORTNAME}'."
	@@${ECHO_MSG} ""
.endif

INSTALLDIR?=	www/data/${PORTNAME}

do-install:
	@@${MKDIR} ${PREFIX}/${INSTALLDIR}
	@@${CP} -Rp ${WRKSRC}/* ${PREFIX}/${INSTALLDIR}
	@@${CP} -p ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/${INSTALLDIR}/.htpasswd.autoindex-dist
	@@${CHMOD} 666 ${PREFIX}/${INSTALLDIR}/config.php
	@@${ECHO_CMD} ""

post-install:
.if !defined(BATCH)
	@@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>
@


1.7
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@Switch to danger's @@FreeBSD.org address.

Submitted by:	danger via IRC
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	autoindex
@


1.5
log
@Change all bogus uses of BROKEN to IGNORE.  See CHANGES 20060705.

PR:		ports/92445
Hat:		portmgr
@
text
@d15 1
a15 1
MAINTAINER=	danger@@rulez.sk
@


1.4
log
@- AutoIndex requires php-session.

Submitted by:	maintainer
@
text
@d20 1
a20 1
BROKEN_WITH_PHP=	5
@


1.3
log
@- Update to 1.5.4

PR:		ports/86983
Submitted by:	maintainer
@
text
@d10 1
d21 1
a21 1
USE_PHP=	yes
@


1.2
log
@- Update to 1.5.2

PR:		ports/82009
Submitted by:	Daniel Gerzo <danger@@rulez.sk> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.5.2
d22 3
d26 8
a33 1
NO_BUILD=	yes
d36 4
a39 16
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/index_icons
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/index_icons/apache
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/index_icons/kde
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/index_icons/osx
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/index_icons/winxp
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/languages
	${INSTALL_DATA} ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/www/data/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/*.php ${PREFIX}/www/data/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/www/data/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/stylesheet.css ${PREFIX}/www/data/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/index_icons/apache/* ${PREFIX}/www/data/${PORTNAME}/index_icons/apache
	${INSTALL_DATA} ${WRKSRC}/index_icons/kde/* ${PREFIX}/www/data/${PORTNAME}/index_icons/kde
	${INSTALL_DATA} ${WRKSRC}/index_icons/osx/* ${PREFIX}/www/data/${PORTNAME}/index_icons/osx
	${INSTALL_DATA} ${WRKSRC}/index_icons/winxp/* ${PREFIX}/www/data/${PORTNAME}/index_icons/winxp
	${INSTALL_DATA} ${WRKSRC}/languages/*  ${PREFIX}/www/data/${PORTNAME}/languages
@


1.1
log
@Add autoindex, a PHP script that makes a table that lists the files in a
directory, and lets users access the files and subdirectories. It includes
searching, icons for each file type, an admin panel, uploads, access logging,
file descriptions, and more.

This software comes in two versions, one which works with PHP 4.x,
and one which works with PHP 5.x

Submitted by:	DanGer <danger@@wilbury.sk>
@
text
@d3 1
a3 1
# Whom:					DanGer <danger@@wilbury.sk>
d9 1
a9 1
PORTVERSION=	1.5.1
d14 1
a14 1
MAINTAINER=	danger@@wilbury.sk
d26 16
a41 16
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons/apache
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons/kde
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons/osx
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons/winxp
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/languages
	${INSTALL_DATA} ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/www/data/AutoIndex
	${INSTALL_DATA} ${WRKSRC}/*.php ${PREFIX}/www/data/AutoIndex
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/www/data/AutoIndex
	${INSTALL_DATA} ${WRKSRC}/stylesheet.css ${PREFIX}/www/data/AutoIndex
	${INSTALL_DATA} ${WRKSRC}/index_icons/apache/* ${PREFIX}/www/data/AutoIndex/index_icons/apache
	${INSTALL_DATA} ${WRKSRC}/index_icons/kde/* ${PREFIX}/www/data/AutoIndex/index_icons/kde
	${INSTALL_DATA} ${WRKSRC}/index_icons/osx/* ${PREFIX}/www/data/AutoIndex/index_icons/osx
	${INSTALL_DATA} ${WRKSRC}/index_icons/winxp/* ${PREFIX}/www/data/AutoIndex/index_icons/winxp
	${INSTALL_DATA} ${WRKSRC}/languages/*  ${PREFIX}/www/data/AutoIndex/languages
@

