From owner-svn-ports-head@FreeBSD.ORG Tue May 20 15:23:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C989B1; Tue, 20 May 2014 15:23:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1ACF820DE; Tue, 20 May 2014 15:23:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4KFNjhA014086; Tue, 20 May 2014 15:23:45 GMT (envelope-from wen@svn.freebsd.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4KFNjfJ014085; Tue, 20 May 2014 15:23:45 GMT (envelope-from wen@svn.freebsd.org) Message-Id: <201405201523.s4KFNjfJ014085@svn.freebsd.org> From: Wen Heping Date: Tue, 20 May 2014 15:23:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354650 - head/www/atutor X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2014 15:23:46 -0000 Author: wen Date: Tue May 20 15:23:45 2014 New Revision: 354650 URL: http://svnweb.freebsd.org/changeset/ports/354650 QAT: https://qat.redports.org/buildarchive/r354650/ Log: - Stage support PR: 190008 Submitted by: Joseph Benden Modified: head/www/atutor/Makefile Modified: head/www/atutor/Makefile ============================================================================== --- head/www/atutor/Makefile Tue May 20 15:14:13 2014 (r354649) +++ head/www/atutor/Makefile Tue May 20 15:23:45 2014 (r354650) @@ -8,12 +8,11 @@ MASTER_SITES= SF/${PORTNAME}/ATutor%202/ DISTNAME= ATutor-${PORTVERSION} MAINTAINER= wen@FreeBSD.org -COMMENT= An Open Source Web-based Learning Content Management System (LCMS) +COMMENT= Open Source Web-based Learning Content Management System (LCMS) USE_PHP= session mbstring zlib mysql WRKSRC= ${WRKDIR}/ATutor -NO_STAGE= yes .include NO_BUILD= yes @@ -30,15 +29,15 @@ pre-install: @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${ATUTDIR}?g" >> ${PLIST} do-install: - @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ ${WWWDIR}' >> ${TMPPLIST} - @${FIND} ${WWWDIR} -type d -exec ${CHMOD} a+x {} \; - @${INSTALL_DATA} -d ${ATUTDATDIR} - @${CHMOD} 777 ${ATUTDATDIR} + @${FIND} ${STAGEDIR}${WWWDIR} -type d -exec ${CHMOD} a+x {} \; + @${INSTALL_DATA} -d ${STAGEDIR}${ATUTDATDIR} + @${CHMOD} 777 ${STAGEDIR}${ATUTDATDIR} @${ECHO_CMD} '@exec ${CHMOD} 777 ${ATUTDATDIR}' >> ${TMPPLIST} - @${CHMOD} 666 ${WWWDIR}/${ATUTCONFIG} + @${CHMOD} 666 ${STAGEDIR}${WWWDIR}/${ATUTCONFIG} @${ECHO_CMD} '@exec ${CHMOD} 666 \ ${WWWDIR}/${ATUTCONFIG}' >> ${TMPPLIST}