head	1.14;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.10
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.1;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.06.02.28;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2009.08.22.00.38.03;	author amdmi3;	state Exp;
branches;
next	1.12;

1.12
date	2008.11.11.20.32.08;	author danger;	state Exp;
branches;
next	1.11;

1.11
date	2008.02.10.19.14.15;	author danger;	state Exp;
branches;
next	1.10;

1.10
date	2007.03.04.09.26.04;	author danger;	state Exp;
branches;
next	1.9;

1.9
date	2006.09.14.13.30.45;	author shaun;	state Exp;
branches;
next	1.8;

1.8
date	2006.07.05.02.30.56;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2006.04.13.08.55.54;	author roberto;	state Exp;
branches;
next	1.6;

1.6
date	2005.12.11.18.29.41;	author flz;	state Exp;
branches;
next	1.5;

1.5
date	2005.12.03.22.06.44;	author clement;	state Exp;
branches;
next	1.4;

1.4
date	2005.10.06.13.21.05;	author garga;	state Exp;
branches;
next	1.3;

1.3
date	2005.06.07.22.23.30;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2005.01.21.20.47.19;	author krion;	state Exp;
branches;
next	1.1;

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


desc
@@


1.14
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/autoindex2/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	AutoIndex
PORTVERSION=	2.2.4
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME:L}/${PORTNAME}%20PHP%20Script%202.x/${PORTNAME}%20PHP%20${PORTVERSION}

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

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_DOS2UNIX=	yes
USE_PHP=	session
DEFAULT_PHP_VER=	5
IGNORE_WITH_PHP=	4
CONFLICTS=	AutoIndex-1*
LATEST_LINK=	AutoIndex2
NO_BUILD=	yes

PLIST_SUB+=	INSTALLDIR=${WWWDIR:S,^${PREFIX}/,,}

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

INSTALLDIR?=	${WWWDIR}

do-install:
	@@${MKDIR} ${INSTALLDIR}
	@@${CP} -R ${WRKSRC}/* ${INSTALLDIR}
	@@${CP} -p ${WRKSRC}/.htpasswd.autoindex ${INSTALLDIR}/.htpasswd.autoindex-dist
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${INSTALLDIR}
	@@${CHMOD} -R 644 ${INSTALLDIR}/* ${INSTALLDIR}/.htpasswd.autoindex-dist
	@@${CHMOD} 755 ${INSTALLDIR}/classes ${INSTALLDIR}/index_icons ${INSTALLDIR}/languages ${INSTALLDIR}/templates
	@@${CHMOD} 755 ${INSTALLDIR}/index_icons/* ${INSTALLDIR}/templates/default ${INSTALLDIR}/templates/simple_image_gallery
	@@${CHMOD} 664 ${INSTALLDIR}/config.php
	@@${ECHO_CMD} ""

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

.include <bsd.port.mk>
@


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


1.12
log
@- set correct permissions for directories

Approved by:	stass
Reported by:	Guido Cavezzali <gmail.com at gcavezzali>
@
text
@d11 1
a11 1
MASTER_SITES=	SF/autoindex
@


1.11
log
@- Update to 2.2.4

PR: ports/120458
@
text
@d42 3
a44 1
	@@${CHMOD} -R 644 ${INSTALLDIR}/*
@


1.10
log
@- Update to 2.2.1

Submitted by: chinsan
PR: ports/109837
Approved by: miwi
@
text
@d9 1
a9 1
PORTVERSION=	2.2.1
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	autoindex
d16 1
a16 1
WRKSRC=		${WRKDIR}/${PORTNAME}
d18 1
d26 1
a26 1
PLIST_SUB+=	INSTALLDIR=${INSTALLDIR}
d31 1
a31 1
	@@${ECHO_MSG} "Define INSTALLDIR to override default of 'www/data/${PORTNAME}'."
d35 1
a35 1
INSTALLDIR?=	www/data/${PORTNAME}
d38 6
a43 4
	@@${MKDIR} ${PREFIX}/${INSTALLDIR}
	@@${CP} -R ${WRKSRC}/* ${PREFIX}/${INSTALLDIR}
	@@${CP} -p ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/${INSTALLDIR}/.htpasswd.autoindex-dist
	@@${CHMOD} 666 ${PREFIX}/${INSTALLDIR}/config.php
@


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

Submitted by:	danger via IRC
@
text
@d9 1
a9 1
PORTVERSION=	2.2.0
@


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

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


1.7
log
@Update to 2.2.0 which is PHP 5.1 compatible.

PR:		ports/95682
Submitted by:	Daniel Gerzo <danger@@rulez.sk> (MAINTAINER)
@
text
@d21 1
a21 1
BROKEN_WITH_PHP=	4
@


1.6
log
@- Autoindex2 requires php-session.

Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.1.2
d39 1
a39 1
	@@${CP} -Rp ${WRKSRC}/* ${PREFIX}/${INSTALLDIR}
@


1.5
log
@- Fix LATEST_LINK

Submitted by:	maintainer
@
text
@d19 1
a19 1
USE_PHP=	yes
@


1.4
log
@- Update to 2.1.2

PR:		ports/86984
Submitted by:	maintainer
@
text
@d23 1
@


1.3
log
@- Update to 2.1.0

PR:		ports/82011
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.1.0
a18 2
LATEST_LINK=	autoindex2

d23 3
d27 8
a34 1
NO_BUILD=	yes
d37 4
a40 24
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/classes
	@@${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
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/templates
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/templates/default
	@@${MKDIR} ${PREFIX}/www/data/${PORTNAME}/templates/simple_image_gallery
	${INSTALL_DATA} ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/www/data/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/*.php ${PREFIX}/www/data/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/hidden_files ${PREFIX}/www/data/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/www/data/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/classes/* ${PREFIX}/www/data/${PORTNAME}/classes
	${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
	${INSTALL_DATA} ${WRKSRC}/templates/readme.html ${PREFIX}/www/data/${PORTNAME}/templates
	${INSTALL_DATA} ${WRKSRC}/templates/default/* ${PREFIX}/www/data/${PORTNAME}/templates/default
	${INSTALL_DATA} ${WRKSRC}/templates/simple_image_gallery/* ${PREFIX}/www/data/${PORTNAME}/templates/simple_image_gallery
@


1.2
log
@Set LATEST_LINK.

Reported by:	kris
@
text
@d3 1
a3 1
# Whom:					DanGer <danger@@wilbury.sk>
d9 1
a9 1
PORTVERSION=	2.0.5
d14 1
a14 1
MAINTAINER=	danger@@wilbury.sk
d29 24
a52 24
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/classes
	@@${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
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/templates
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/templates/default
	@@${MKDIR} ${PREFIX}/www/data/AutoIndex/templates/simple_image_gallery
	${INSTALL_DATA} ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/www/data/AutoIndex
	${INSTALL_DATA} ${WRKSRC}/*.php ${PREFIX}/www/data/AutoIndex
	${INSTALL_DATA} ${WRKSRC}/hidden_files ${PREFIX}/www/data/AutoIndex
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/www/data/AutoIndex
	${INSTALL_DATA} ${WRKSRC}/classes/* ${PREFIX}/www/data/AutoIndex/classes
	${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
	${INSTALL_DATA} ${WRKSRC}/templates/readme.html ${PREFIX}/www/data/AutoIndex/templates
	${INSTALL_DATA} ${WRKSRC}/templates/default/* ${PREFIX}/www/data/AutoIndex/templates/default
	${INSTALL_DATA} ${WRKSRC}/templates/simple_image_gallery/* ${PREFIX}/www/data/AutoIndex/templates/simple_image_gallery
@


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
@d19 2
@

