diff options
author | erwin <erwin@FreeBSD.org> | 2003-06-04 16:54:50 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-06-04 16:54:50 +0800 |
commit | 762b8f72fea5270b60bd92f3ed4e82277b747b39 (patch) | |
tree | 94252a57069a2940fd7f7994e6c42090f79cf431 /www | |
parent | e42b5b9d81730b8788a4c2557fe3c9bcccd251fa (diff) | |
download | freebsd-ports-gnome-762b8f72fea5270b60bd92f3ed4e82277b747b39.tar.gz freebsd-ports-gnome-762b8f72fea5270b60bd92f3ed4e82277b747b39.tar.zst freebsd-ports-gnome-762b8f72fea5270b60bd92f3ed4e82277b747b39.zip |
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)
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-Apache-Gallery/Makefile | 3 | ||||
-rw-r--r-- | www/p5-Apache-Gallery/files/patch-templates-directory.tpl | 5 | ||||
-rw-r--r-- | www/p5-Apache-Gallery/pkg-plist | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/www/p5-Apache-Gallery/Makefile b/www/p5-Apache-Gallery/Makefile index bee364f5fbc4..74e316b4102f 100644 --- a/www/p5-Apache-Gallery/Makefile +++ b/www/p5-Apache-Gallery/Makefile @@ -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/ diff --git a/www/p5-Apache-Gallery/files/patch-templates-directory.tpl b/www/p5-Apache-Gallery/files/patch-templates-directory.tpl new file mode 100644 index 000000000000..90797c582c26 --- /dev/null +++ b/www/p5-Apache-Gallery/files/patch-templates-directory.tpl @@ -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> diff --git a/www/p5-Apache-Gallery/pkg-plist b/www/p5-Apache-Gallery/pkg-plist index 23e9d97f841b..41930c274f76 100644 --- a/www/p5-Apache-Gallery/pkg-plist +++ b/www/p5-Apache-Gallery/pkg-plist @@ -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 |