folder.png was never installed as it conflicts with the one provided by

Apache. However, the on bundled with p5-Apache-Gallery is much nicer, so
install it under a different name and patch the default template.

Approved by:	edwin (mentor)
This commit is contained in:
Erwin Lansing 2003-06-04 08:54:50 +00:00
parent 8b05fbf705
commit bdee6a4e67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82243
3 changed files with 9 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= Apache-Gallery
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= http://apachegallery.dk/download/ \
${MASTER_SITE_PERL_CPAN}
@ -55,6 +56,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/htdocs/${f} \
${PREFIX}/www/icons/
.endfor
${INSTALL_DATA} ${WRKSRC}/htdocs/folder.png \
${PREFIX}/www/icons/folder-apache-gallery.png
${MKDIR} ${PREFIX}/share/Apache-Gallery/css
${INSTALL_DATA} ${WRKSRC}/htdocs/gallery.css \
${PREFIX}/share/Apache-Gallery/css/

View File

@ -0,0 +1,5 @@
--- templates/directory.tpl.orig Sun Jun 1 12:10:37 2003
+++ templates/directory.tpl Sun Jun 1 12:10:48 2003
@@ -1 +1 @@
- <div id="folder"><a href="$FILEURL/"><img border="0" src="/icons/folder.png"><br>$FILE</a></div>
+ <div id="folder"><a href="$FILEURL/"><img border="0" src="/icons/folder-apache-gallery.png"><br>$FILE</a></div>

View File

@ -35,6 +35,7 @@ www/icons/video-mov.png
www/icons/video-mpeg.png
www/icons/video-mpg.png
www/icons/video-wmv.png
www/icons/folder-apache-gallery.png
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Gallery
@unexec rmdir %D/%%SITE_PERL%%/Apache 2>/dev/null || true
@dirrm share/Apache-Gallery/templates