aboutsummaryrefslogtreecommitdiff
path: root/www/autoindex2/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-18 14:22:56 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-18 14:22:56 +0000
commit0d26bb3adaeb04e8732d4fc222321b93d6d220c9 (patch)
treefedaa165afff2303714a6d592d3328a6745938fd /www/autoindex2/Makefile
parente0fd7e7e3cd805f0b172a454c130412257093ba1 (diff)
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>
Notes
Notes: svn path=/head/; revision=124379
Diffstat (limited to 'www/autoindex2/Makefile')
-rw-r--r--www/autoindex2/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/www/autoindex2/Makefile b/www/autoindex2/Makefile
new file mode 100644
index 000000000000..d591f35b428b
--- /dev/null
+++ b/www/autoindex2/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: AutoIndex
+# Date created: 17 December 2004
+# Whom: DanGer <danger@wilbury.sk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= AutoIndex
+PORTVERSION= 2.0.5
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= autoindex
+
+MAINTAINER= danger@wilbury.sk
+COMMENT= PHP 5.x script that makes a table that lists the files in a directory
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_PHP= yes
+DEFAULT_PHP_VER= 5
+BROKEN_WITH_PHP= 4
+CONFLICTS= AutoIndex-1*
+
+NO_BUILD= yes
+
+do-install:
+ @${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
+ @${ECHO_CMD} ""
+
+post-install:
+.if !defined(BATCH)
+ @${CAT} ${PKGMESSAGE}
+.endif
+
+.include <bsd.port.mk>