aboutsummaryrefslogtreecommitdiffstats
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
parent27c8b24505dad7aeefb60813635285a8c63ab94c (diff)
downloadfreebsd-ports-graphics-9062d329b5373dd16f14337fe5996ce7b2982bfb.tar.gz
freebsd-ports-graphics-9062d329b5373dd16f14337fe5996ce7b2982bfb.tar.zst
freebsd-ports-graphics-9062d329b5373dd16f14337fe5996ce7b2982bfb.zip
- Fix NOPORTDOCS/NOPORTDATA/NOPORTEXAMPLES
Notified by: itetcu Approved by: tabthorpe
-rw-r--r--www/zenphoto/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/zenphoto/Makefile b/www/zenphoto/Makefile
index 98d1d502311..ab627b8e1df 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}