summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-10-13 11:40:58 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-10-13 11:40:58 +0000
commitcf5664e4d9dc160a4f19f9768a1e6ce117e9c47b (patch)
tree986ffcf01410f69c30504191ba9c2d80589dbbe3 /net-im
parent- Update to 3.33.16. (diff)
- Fix permissions.
PR: ports/87317 Submitted by: Denis Shaposhnikov <dsh@vlink.ru> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=145245
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jwchat/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-im/jwchat/Makefile b/net-im/jwchat/Makefile
index 83cb851590cd..811b8e8c2e0b 100644
--- a/net-im/jwchat/Makefile
+++ b/net-im/jwchat/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jwchat
PORTVERSION= 1.0.b2
+PORTREVISION= 1
CATEGORIES= www net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -25,12 +26,13 @@ SUB_LIST= WWW_ROOT=www PORTNAME=${PORTNAME}
do-install:
${MKDIR} ${PREFIX}/www ${DATADIR}
- ${CP} ${WRKSRC}/config.js ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/config.js ${DATADIR}
${MV} ${WRKSRC}/config.js ${WRKSRC}/config.js.sample
${CP} -R ${WRKSRC}/ ${PREFIX}/www/${PORTNAME}
[ ! -f ${PREFIX}/www/${PORTNAME}/config.js ] && \
${CP} ${DATADIR}/config.js ${PREFIX}/www/${PORTNAME}/config.js || true
- ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/${PORTNAME}
+ ${FIND} ${PREFIX}/www/${PORTNAME} ! -name config.js -print0 | ${XARGS} -0 ${CHOWN} ${SHAREOWN}:${SHAREGRP}
+ ${FIND} ${PREFIX}/www/${PORTNAME} -type f -and ! -name config.js -print0 -type f | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
post-install:
@${CAT} ${PKGMESSAGE}