aboutsummaryrefslogtreecommitdiff
path: root/www/zenphoto
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2008-05-21 20:31:24 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2008-05-21 20:31:24 +0000
commit318383d0c012bf68784ad6b202921422fa233b1e (patch)
treeb39f89168abfb6b466f0bb04cbdd2a31988d4fdf /www/zenphoto
parent27f8d3e59b0735c16ce53f49f4925707aa207342 (diff)
Notes
Diffstat (limited to 'www/zenphoto')
-rw-r--r--www/zenphoto/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/zenphoto/Makefile b/www/zenphoto/Makefile
index 98d1d5023117..ab627b8e1dfb 100644
--- a/www/zenphoto/Makefile
+++ b/www/zenphoto/Makefile
@@ -29,8 +29,14 @@ do-install:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR} \
"! -name README.html ! -name License.txt")
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- ${CHMOD} 644 ${WWWDIR}/albums/*.png
- ${CHMOD} 644 ${WWWDIR}/albums/*.jpg
+.if exists(${WWWDIR}/albums/zen-logo.jpg)
+ ${CHMOD} 644 ${WWWDIR}/albums/zen-logo.jpg
+.endif
+.if (exists(${WWWDIR}/albums/multimediaDefault.png) && \
+ exists(${WWWDIR}/albums/videoDefault.png))
+ ${CHMOD} 644 ${WWWDIR}/albums/videoDefault.png
+ ${CHMOD} 644 ${WWWDIR}/albums/multimediaDefault.png
+.endif
post-install:
@${CAT} ${PKGMESSAGE}