1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/www/autoindex/Makefile
Pav Lucistnik 0d26bb3ada 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 14:22:56 +00:00

50 lines
1.7 KiB
Makefile

# New ports collection makefile for: AutoIndex
# Date created: 17 December 2004
# Whom: DanGer <danger@wilbury.sk>
#
# $FreeBSD$
#
PORTNAME= AutoIndex
PORTVERSION= 1.5.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= autoindex
MAINTAINER= danger@wilbury.sk
COMMENT= PHP 4.x script that makes a table that lists the files in a directory
WRKSRC= ${WRKDIR}/${PORTNAME}
BROKEN_WITH_PHP= 5
USE_PHP= yes
CONFLICTS= AutoIndex-2*
NO_BUILD= yes
do-install:
@${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
@${ECHO_CMD} ""
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>