aboutsummaryrefslogtreecommitdiffstats
path: root/www/zenphoto
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2008-05-22 04:31:24 +0800
committerjadawin <jadawin@FreeBSD.org>2008-05-22 04:31:24 +0800
commit9062d329b5373dd16f14337fe5996ce7b2982bfb (patch)
treea87018d3551efc37a308233bedf661b742b8da9c /www/zenphoto
parent27c8b24505dad7aeefb60813635285a8c63ab94c (diff)
downloadfreebsd-ports-gnome-9062d329b5373dd16f14337fe5996ce7b2982bfb.tar.gz
freebsd-ports-gnome-9062d329b5373dd16f14337fe5996ce7b2982bfb.tar.zst
freebsd-ports-gnome-9062d329b5373dd16f14337fe5996ce7b2982bfb.zip
- Fix NOPORTDOCS/NOPORTDATA/NOPORTEXAMPLES
Notified by: itetcu Approved by: tabthorpe
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}