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>
2004-12-18 15:22:56 +01:00
|
|
|
# New ports collection makefile for: AutoIndex
|
|
|
|
# Date created: 17 December 2004
|
2005-06-07 23:58:01 +02:00
|
|
|
# Whom: Daniel Gerzo <danger@rulez.sk>
|
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>
2004-12-18 15:22:56 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= AutoIndex
|
2005-10-06 15:20:11 +02:00
|
|
|
PORTVERSION= 1.5.4
|
2005-12-11 18:39:41 +01:00
|
|
|
PORTREVISION= 1
|
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>
2004-12-18 15:22:56 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= autoindex
|
|
|
|
|
2006-09-14 15:30:45 +02:00
|
|
|
MAINTAINER= danger@FreeBSD.org
|
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>
2004-12-18 15:22:56 +01:00
|
|
|
COMMENT= PHP 4.x script that makes a table that lists the files in a directory
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2006-07-05 04:30:58 +02:00
|
|
|
IGNORE_WITH_PHP= 5
|
2005-12-11 18:39:41 +01:00
|
|
|
USE_PHP= session
|
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>
2004-12-18 15:22:56 +01:00
|
|
|
CONFLICTS= AutoIndex-2*
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-10-06 15:20:11 +02:00
|
|
|
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}
|
|
|
|
|
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>
2004-12-18 15:22:56 +01:00
|
|
|
do-install:
|
2005-10-06 15:20:11 +02:00
|
|
|
@${MKDIR} ${PREFIX}/${INSTALLDIR}
|
|
|
|
@${CP} -Rp ${WRKSRC}/* ${PREFIX}/${INSTALLDIR}
|
|
|
|
@${CP} -p ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/${INSTALLDIR}/.htpasswd.autoindex-dist
|
|
|
|
@${CHMOD} 666 ${PREFIX}/${INSTALLDIR}/config.php
|
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>
2004-12-18 15:22:56 +01:00
|
|
|
@${ECHO_CMD} ""
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|