1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

PR:		191008
This commit is contained in:
Martin Wilke 2014-06-15 03:04:05 +00:00
parent e9caf210b7
commit 5bb53e7391
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357817
2 changed files with 90 additions and 8 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= yabb
PORTVERSION= 2.5.2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/YaBB%202/${PORTVERSION}
DISTNAME= YaBB_${PORTVERSION}
@ -37,7 +38,6 @@ ISOFILES= Admin/ManageTemplates.pl Admin/ModuleChecker.pl Languages/English/Admi
Templates/blue_1/AdminCentre.template Templates/default/AdminCentre.template \
Templates/yabb21/AdminCentre.template Templates/yabb25/AdminCentre.template
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-extract:
@ -57,13 +57,15 @@ do-patch:
.endfor
do-install:
@${INSTALL} -d ${DIR}
@${CP} -npR ${WCGI}/ ${DIR}/ || ${TRUE}
@${CP} -npR ${WDIR}/ ${DIR}/ || ${TRUE}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DIR}
@${CHMOD} a=rx ${DIR}
@${CP} -fpR ${FILESDIR}/checksum.sha256 ${DIR}/
@${CAT} ${PKGMESSAGE}
@${INSTALL} -d ${STAGEDIR}${DIR}
@cd ${WCGI} && ${COPYTREE_SHARE} . ${STAGEDIR}${DIR}/
@cd ${WDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${DIR}/
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${DIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DIR}' \
>>${TMPPLIST}
@${CHMOD} a=rx ${STAGEDIR}${DIR}
@${ECHO_CMD} '@exec ${CHMOD} a=rx ${DIR}' >>${TMPPLIST}
@${CP} -fpR ${FILESDIR}/checksum.sha256 ${STAGEDIR}${DIR}/
pre-clean:
@${CHMOD} -Rf +rwX ${WRKDIR}/* 2>/dev/null || true

View File

@ -342,6 +342,86 @@
%%YABBDIR%%/Sources/TabMenu.pl
%%YABBDIR%%/Sources/UserSelect.pl
%%YABBDIR%%/Sources/.htaccess
%%YABBDIR%%/Members/.htaccess
%%YABBDIR%%/Members/admin.ims
%%YABBDIR%%/Members/admin.imstore
%%YABBDIR%%/Members/admin.log
%%YABBDIR%%/Members/admin.outbox
%%YABBDIR%%/Members/admin.rlog
%%YABBDIR%%/Members/admin.vars
%%YABBDIR%%/Members/broadcast.messages
%%YABBDIR%%/Members/index.html
%%YABBDIR%%/Members/memberinfo.txt
%%YABBDIR%%/Members/memberlist.txt
%%YABBDIR%%/Members/members.ttl
%%YABBDIR%%/Messages/.htaccess
%%YABBDIR%%/Messages/1278201900.ctb
%%YABBDIR%%/Messages/1278201900.txt
%%YABBDIR%%/Messages/index.html
%%YABBDIR%%/Paths.pl
%%YABBDIR%%/Templates/.htaccess
%%YABBDIR%%/Templates/Admin/default.css
%%YABBDIR%%/Templates/Forum/blue_1.css
%%YABBDIR%%/Templates/Forum/blue_1/Thumbs.db
%%YABBDIR%%/Templates/Forum/blue_1/aarea.jpg
%%YABBDIR%%/Templates/Forum/blue_1/catbg2.jpg
%%YABBDIR%%/Templates/Forum/blue_1/yabbchelp.swf
%%YABBDIR%%/Templates/Forum/default.css
%%YABBDIR%%/Templates/Forum/default/Thumbs.db
%%YABBDIR%%/Templates/Forum/default/aarea.jpg
%%YABBDIR%%/Templates/Forum/default/catbg.jpg
%%YABBDIR%%/Templates/Forum/default/grad_bottom.jpg
%%YABBDIR%%/Templates/Forum/default/mediacenter.jpg
%%YABBDIR%%/Templates/Forum/default/menutop.jpg
%%YABBDIR%%/Templates/Forum/default/searchbg211.jpg
%%YABBDIR%%/Templates/Forum/default/yabbchelp.swf
%%YABBDIR%%/Templates/Forum/yabb21.css
%%YABBDIR%%/Templates/Forum/yabb25.css
%%YABBDIR%%/Templates/Forum/yabb25/Thumbs.db
%%YABBDIR%%/Templates/Forum/yabb25/aarea.jpg
%%YABBDIR%%/Templates/Forum/yabb25/catbg2.jpg
%%YABBDIR%%/Templates/Forum/yabb25/yabbchelp.swf
%%YABBDIR%%/Templates/blue_1/AdminCentre.template
%%YABBDIR%%/Templates/blue_1/BoardIndex.template
%%YABBDIR%%/Templates/blue_1/Display.template
%%YABBDIR%%/Templates/blue_1/HelpCentre.template
%%YABBDIR%%/Templates/blue_1/MessageIndex.template
%%YABBDIR%%/Templates/blue_1/MyCenter.template
%%YABBDIR%%/Templates/blue_1/blue_1.html
%%YABBDIR%%/Templates/default/AdminCentre.template
%%YABBDIR%%/Templates/default/BoardIndex.template
%%YABBDIR%%/Templates/default/Display.template
%%YABBDIR%%/Templates/default/HelpCentre.template
%%YABBDIR%%/Templates/default/MessageIndex.template
%%YABBDIR%%/Templates/default/MyCenter.template
%%YABBDIR%%/Templates/default/default.html
%%YABBDIR%%/Templates/index.html
%%YABBDIR%%/Templates/yabb21/AdminCentre.template
%%YABBDIR%%/Templates/yabb21/BoardIndex.template
%%YABBDIR%%/Templates/yabb21/Display.template
%%YABBDIR%%/Templates/yabb21/HelpCentre.template
%%YABBDIR%%/Templates/yabb21/MessageIndex.template
%%YABBDIR%%/Templates/yabb21/MyCenter.template
%%YABBDIR%%/Templates/yabb21/yabb21.html
%%YABBDIR%%/Templates/yabb25/AdminCentre.template
%%YABBDIR%%/Templates/yabb25/BoardIndex.template
%%YABBDIR%%/Templates/yabb25/Display.template
%%YABBDIR%%/Templates/yabb25/HelpCentre.template
%%YABBDIR%%/Templates/yabb25/MessageIndex.template
%%YABBDIR%%/Templates/yabb25/MyCenter.template
%%YABBDIR%%/Templates/yabb25/yabb25.html
%%YABBDIR%%/Variables/.htaccess
%%YABBDIR%%/Variables/Admin.helporder
%%YABBDIR%%/Variables/Gmod.helporder
%%YABBDIR%%/Variables/Menu0.def
%%YABBDIR%%/Variables/Menu1.def
%%YABBDIR%%/Variables/Menu2.def
%%YABBDIR%%/Variables/Moderator.helporder
%%YABBDIR%%/Variables/User.helporder
%%YABBDIR%%/Variables/bots.hosts
%%YABBDIR%%/Variables/email_domain_filter.txt
%%YABBDIR%%/Variables/index.html
%%YABBDIR%%/Variables/spamrules.txt
%%YABBDIR%%/avatars/UserAvatars/index.html
%%YABBDIR%%/avatars/baby.gif
%%YABBDIR%%/avatars/bart.gif