diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2008-05-21 20:31:24 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2008-05-21 20:31:24 +0000 |
commit | 318383d0c012bf68784ad6b202921422fa233b1e (patch) | |
tree | b39f89168abfb6b466f0bb04cbdd2a31988d4fdf /www/zenphoto | |
parent | 27f8d3e59b0735c16ce53f49f4925707aa207342 (diff) |
Notes
Diffstat (limited to 'www/zenphoto')
-rw-r--r-- | www/zenphoto/Makefile | 10 |
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} |