From owner-svn-ports-all@FreeBSD.ORG Thu May 22 14:16:27 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 606A06C6; Thu, 22 May 2014 14:16:27 +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 340842677; Thu, 22 May 2014 14:16:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4MEGRGx077457; Thu, 22 May 2014 14:16:27 GMT (envelope-from wen@svn.freebsd.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4MEGQ6B077454; Thu, 22 May 2014 14:16:26 GMT (envelope-from wen@svn.freebsd.org) Message-Id: <201405221416.s4MEGQ6B077454@svn.freebsd.org> From: Wen Heping Date: Thu, 22 May 2014 14:16:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354846 - head/www/efront X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 14:16:27 -0000 Author: wen Date: Thu May 22 14:16:26 2014 New Revision: 354846 URL: http://svnweb.freebsd.org/changeset/ports/354846 QAT: https://qat.redports.org/buildarchive/r354846/ Log: - Stage support [1] - Pet portlint PR: 190043 [1] Submitted by: Joseph Benden [1] Modified: head/www/efront/Makefile head/www/efront/pkg-descr Modified: head/www/efront/Makefile ============================================================================== --- head/www/efront/Makefile Thu May 22 14:13:39 2014 (r354845) +++ head/www/efront/Makefile Thu May 22 14:16:26 2014 (r354846) @@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}learning/${P DISTNAME= ${PORTNAME}_${PORTVERSION}_build8242 MAINTAINER= wen@FreeBSD.org -COMMENT= A Elearning and Human Capital Development platform +COMMENT= Elearning and Human Capital Development platform USES= zip USE_PHP= mbstring zip iconv zlib spl ldap @@ -21,25 +21,22 @@ EFRONT_DIRS= libraries PEAR \ NO_BUILD= yes SUB_FILES= pkg-message -NO_STAGE= yes -.include do-install: - @if [ ! -f ${WWWDIR} ]; then \ - ${MKDIR} ${WWWDIR} ; fi + ${MKDIR} ${STAGEDIR}${WWWDIR} .for i in ${EFRONT_FILES} - @cd ${WRKDIR} && ${CP} ${i} ${WWWDIR} + @cd ${WRKDIR} && ${CP} ${i} ${STAGEDIR}${WWWDIR} .endfor .for i in ${EFRONT_DIRS} - @cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${WWWDIR} + @cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR} .endfor - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - @${CHMOD} -R 755 ${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} + @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} post-install: - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \ >> ${TMPPLIST} - @${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \ + @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \ >> ${TMPPLIST} @${CAT} ${PKGMESSAGE} -.include +.include Modified: head/www/efront/pkg-descr ============================================================================== --- head/www/efront/pkg-descr Thu May 22 14:13:39 2014 (r354845) +++ head/www/efront/pkg-descr Thu May 22 14:16:26 2014 (r354846) @@ -1,4 +1,4 @@ eFront is an easy to use, visually attractive, SCORM compatible, eLearning and Human Capital Development system. -WWW: http://www.efrontlearning.net/ +WWW: http://www.efrontlearning.net/