Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 2014 03:04:06 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357817 - head/www/yabb
Message-ID:  <201406150304.s5F3465i053000@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Jun 15 03:04:05 2014
New Revision: 357817
URL: http://svnweb.freebsd.org/changeset/ports/357817
QAT: https://qat.redports.org/buildarchive/r357817/

Log:
  - Stage support
  
  PR:		191008

Modified:
  head/www/yabb/Makefile
  head/www/yabb/pkg-plist

Modified: head/www/yabb/Makefile
==============================================================================
--- head/www/yabb/Makefile	Sun Jun 15 03:03:32 2014	(r357816)
+++ head/www/yabb/Makefile	Sun Jun 15 03:04:05 2014	(r357817)
@@ -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
 		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

Modified: head/www/yabb/pkg-plist
==============================================================================
--- head/www/yabb/pkg-plist	Sun Jun 15 03:03:32 2014	(r357816)
+++ head/www/yabb/pkg-plist	Sun Jun 15 03:04:05 2014	(r357817)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406150304.s5F3465i053000>