diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-10-13 11:40:58 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-10-13 11:40:58 +0000 |
commit | cf5664e4d9dc160a4f19f9768a1e6ce117e9c47b (patch) | |
tree | 986ffcf01410f69c30504191ba9c2d80589dbbe3 /net-im/jwchat | |
parent | 88b8be00a8534f80b28c75875db609b36b58200d (diff) | |
download | ports-cf5664e4d9dc160a4f19f9768a1e6ce117e9c47b.tar.gz ports-cf5664e4d9dc160a4f19f9768a1e6ce117e9c47b.zip |
Notes
Diffstat (limited to 'net-im/jwchat')
-rw-r--r-- | net-im/jwchat/Makefile | 6 |
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} |