From owner-svn-ports-all@FreeBSD.ORG Fri Jun 6 13:07:03 2014 Return-Path: Delivered-To: svn-ports-all@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 4C8C036F; Fri, 6 Jun 2014 13:07:03 +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 1FDDD2E8E; Fri, 6 Jun 2014 13:07:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s56D72DX026951; Fri, 6 Jun 2014 13:07:02 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s56D722k026950; Fri, 6 Jun 2014 13:07:02 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201406061307.s56D722k026950@svn.freebsd.org> From: Martin Wilke Date: Fri, 6 Jun 2014 13:07:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356781 - head/www/moodle 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: Fri, 06 Jun 2014 13:07:03 -0000 Author: miwi Date: Fri Jun 6 13:07:02 2014 New Revision: 356781 URL: http://svnweb.freebsd.org/changeset/ports/356781 QAT: https://qat.redports.org/buildarchive/r356781/ Log: - Stage support PR: 190280 Modified: head/www/moodle/Makefile Modified: head/www/moodle/Makefile ============================================================================== --- head/www/moodle/Makefile Fri Jun 6 13:05:51 2014 (r356780) +++ head/www/moodle/Makefile Fri Jun 6 13:07:02 2014 (r356781) @@ -20,7 +20,6 @@ OPTIONS_DEFAULT= ZLIB NETWORK_DESC= Moodle Network functionality MIMETEX_DESC= mimeTeX filter functionality -NO_STAGE= yes .include .if ! ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MMSSQL} @@ -80,21 +79,18 @@ pre-install: @${ECHO} @dirrm ${MOODLEDATADIR} >> ${PLIST} do-install: - @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${MOODLEDIR} - @${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \; + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MOODLEDIR} + @${FIND} ${STAGEDIR}${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \; @${ECHO_CMD} '@exec ${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \;' \ >> ${TMPPLIST} - @${INSTALL} -d ${PREFIX}/${MOODLEDATADIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MOODLEDATADIR} + @${INSTALL} -d ${STAGEDIR}${PREFIX}/${MOODLEDATADIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${MOODLEDATADIR} @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MOODLEDATADIR}' \ >> ${TMPPLIST} - ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR} + ${CHMOD} 755 ${STAGEDIR}${PREFIX}/${MOODLEDATADIR} @${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}' >> ${TMPPLIST} .if ${PORT_OPTIONS:MMIMETEX} - ${LN} -sf ${PREFIX}/www/cgi-bin/mimetex.cgi ${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd + ${LN} -sf ../../../cgi-bin/mimetex.cgi ${STAGEDIR}${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd .endif -post-install: - @${CAT} ${PKGMESSAGE} - .include