aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2008-02-11 03:14:15 +0800
committerdanger <danger@FreeBSD.org>2008-02-11 03:14:15 +0800
commitc78458f3732918e8a4ea1458b657c0276fea2c27 (patch)
tree4f93499925eb50e4bb7140264ca0805615fa01d8 /www
parentebdb9ce420743c8f3dd73fa32e8042f044754726 (diff)
downloadfreebsd-ports-gnome-c78458f3732918e8a4ea1458b657c0276fea2c27.tar.gz
freebsd-ports-gnome-c78458f3732918e8a4ea1458b657c0276fea2c27.tar.zst
freebsd-ports-gnome-c78458f3732918e8a4ea1458b657c0276fea2c27.zip
- Update to 2.2.4
PR: ports/120458
Diffstat (limited to 'www')
-rw-r--r--www/autoindex2/Makefile24
-rw-r--r--www/autoindex2/distinfo6
-rw-r--r--www/autoindex2/pkg-plist33
3 files changed, 48 insertions, 15 deletions
diff --git a/www/autoindex2/Makefile b/www/autoindex2/Makefile
index 260ea35a1021..586c9303b3f4 100644
--- a/www/autoindex2/Makefile
+++ b/www/autoindex2/Makefile
@@ -6,16 +6,16 @@
#
PORTNAME= AutoIndex
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.4
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= autoindex
+MASTER_SITES= SF/autoindex
MAINTAINER= danger@FreeBSD.org
COMMENT= PHP 5.x script that makes a table that lists the files in a directory
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_DOS2UNIX= yes
USE_PHP= session
DEFAULT_PHP_VER= 5
IGNORE_WITH_PHP= 4
@@ -23,22 +23,24 @@ CONFLICTS= AutoIndex-1*
LATEST_LINK= AutoIndex2
NO_BUILD= yes
-PLIST_SUB+= INSTALLDIR=${INSTALLDIR}
+PLIST_SUB+= INSTALLDIR=${WWWDIR:S,^${PREFIX}/,,}
pre-fetch:
.if !defined(INSTALLDIR)
@${ECHO_MSG} ""
- @${ECHO_MSG} "Define INSTALLDIR to override default of 'www/data/${PORTNAME}'."
+ @${ECHO_MSG} "Define INSTALLDIR to override default of '${WWWDIR}'."
@${ECHO_MSG} ""
.endif
-INSTALLDIR?= www/data/${PORTNAME}
+INSTALLDIR?= ${WWWDIR}
do-install:
- @${MKDIR} ${PREFIX}/${INSTALLDIR}
- @${CP} -R ${WRKSRC}/* ${PREFIX}/${INSTALLDIR}
- @${CP} -p ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/${INSTALLDIR}/.htpasswd.autoindex-dist
- @${CHMOD} 666 ${PREFIX}/${INSTALLDIR}/config.php
+ @${MKDIR} ${INSTALLDIR}
+ @${CP} -R ${WRKSRC}/* ${INSTALLDIR}
+ @${CP} -p ${WRKSRC}/.htpasswd.autoindex ${INSTALLDIR}/.htpasswd.autoindex-dist
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${INSTALLDIR}
+ @${CHMOD} -R 644 ${INSTALLDIR}/*
+ @${CHMOD} 664 ${INSTALLDIR}/config.php
@${ECHO_CMD} ""
post-install:
diff --git a/www/autoindex2/distinfo b/www/autoindex2/distinfo
index acc08b9cc38a..c023e0cded5a 100644
--- a/www/autoindex2/distinfo
+++ b/www/autoindex2/distinfo
@@ -1,3 +1,3 @@
-MD5 (AutoIndex-2.2.1.tar.gz) = 1c6179083a967e8b53a5e36815cb0d5b
-SHA256 (AutoIndex-2.2.1.tar.gz) = af2101ddd24ec091cd3f9e57903dc30b9e3dfcdfe860445337adaf99fe4c197c
-SIZE (AutoIndex-2.2.1.tar.gz) = 118684
+MD5 (AutoIndex-2.2.4.tar.gz) = 3c8b88c595f39d05ab9e048258b7ee20
+SHA256 (AutoIndex-2.2.4.tar.gz) = 3b54ae9b56c33d9724aaa8bb0fe4677e2e9e37cf036d01da7bb5fb70a035e1ec
+SIZE (AutoIndex-2.2.4.tar.gz) = 156153
diff --git a/www/autoindex2/pkg-plist b/www/autoindex2/pkg-plist
index b38b2952e696..1730d5d4e0e8 100644
--- a/www/autoindex2/pkg-plist
+++ b/www/autoindex2/pkg-plist
@@ -123,6 +123,36 @@
%%INSTALLDIR%%/index_icons/osx/uu.png
%%INSTALLDIR%%/index_icons/osx/web.png
%%INSTALLDIR%%/index_icons/osx/xls.png
+%%INSTALLDIR%%/index_icons/winvista/back.png
+%%INSTALLDIR%%/index_icons/winvista/binary.png
+%%INSTALLDIR%%/index_icons/winvista/binhex.png
+%%INSTALLDIR%%/index_icons/winvista/cd.png
+%%INSTALLDIR%%/index_icons/winvista/comp.png
+%%INSTALLDIR%%/index_icons/winvista/compressed.png
+%%INSTALLDIR%%/index_icons/winvista/dir.png
+%%INSTALLDIR%%/index_icons/winvista/dll.png
+%%INSTALLDIR%%/index_icons/winvista/doc.png
+%%INSTALLDIR%%/index_icons/winvista/generic.png
+%%INSTALLDIR%%/index_icons/winvista/image.png
+%%INSTALLDIR%%/index_icons/winvista/java.png
+%%INSTALLDIR%%/index_icons/winvista/js.png
+%%INSTALLDIR%%/index_icons/winvista/key.png
+%%INSTALLDIR%%/index_icons/winvista/login.png
+%%INSTALLDIR%%/index_icons/winvista/mov.png
+%%INSTALLDIR%%/index_icons/winvista/movie.png
+%%INSTALLDIR%%/index_icons/winvista/new.png
+%%INSTALLDIR%%/index_icons/winvista/pdf.png
+%%INSTALLDIR%%/index_icons/winvista/php.png
+%%INSTALLDIR%%/index_icons/winvista/ppt.png
+%%INSTALLDIR%%/index_icons/winvista/ps.png
+%%INSTALLDIR%%/index_icons/winvista/search.png
+%%INSTALLDIR%%/index_icons/winvista/sound.png
+%%INSTALLDIR%%/index_icons/winvista/tar.png
+%%INSTALLDIR%%/index_icons/winvista/text.png
+%%INSTALLDIR%%/index_icons/winvista/unknown.png
+%%INSTALLDIR%%/index_icons/winvista/uu.png
+%%INSTALLDIR%%/index_icons/winvista/web.png
+%%INSTALLDIR%%/index_icons/winvista/xls.png
%%INSTALLDIR%%/index_icons/winxp/back.png
%%INSTALLDIR%%/index_icons/winxp/binary.png
%%INSTALLDIR%%/index_icons/winxp/binhex.png
@@ -197,11 +227,12 @@
@dirrm %%INSTALLDIR%%/index_icons/apache
@dirrm %%INSTALLDIR%%/index_icons/kde
@dirrm %%INSTALLDIR%%/index_icons/osx
+@dirrm %%INSTALLDIR%%/index_icons/winvista
@dirrm %%INSTALLDIR%%/index_icons/winxp
@dirrm %%INSTALLDIR%%/index_icons
@dirrm %%INSTALLDIR%%/languages
@dirrm %%INSTALLDIR%%/templates/default
@dirrm %%INSTALLDIR%%/templates/simple_image_gallery
@dirrm %%INSTALLDIR%%/templates
-@dirrm %%INSTALLDIR%%
+@dirrmtry %%INSTALLDIR%%
@dirrmtry www/data