From owner-svn-ports-all@FreeBSD.ORG Sat Jun 28 04:53:25 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 B3C87C2B; Sat, 28 Jun 2014 04:53:25 +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 8786122D5; Sat, 28 Jun 2014 04:53:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5S4rP6K027478; Sat, 28 Jun 2014 04:53:25 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5S4rPjJ027476; Sat, 28 Jun 2014 04:53:25 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201406280453.s5S4rPjJ027476@svn.freebsd.org> From: Martin Wilke Date: Sat, 28 Jun 2014 04:53:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359657 - head/www/punbb 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: Sat, 28 Jun 2014 04:53:25 -0000 Author: miwi Date: Sat Jun 28 04:53:24 2014 New Revision: 359657 URL: http://svnweb.freebsd.org/changeset/ports/359657 QAT: https://qat.redports.org/buildarchive/r359657/ Log: - Stage support - bzip -> USES PR: 190371 Modified: head/www/punbb/Makefile head/www/punbb/pkg-descr Modified: head/www/punbb/Makefile ============================================================================== --- head/www/punbb/Makefile Sat Jun 28 04:47:14 2014 (r359656) +++ head/www/punbb/Makefile Sat Jun 28 04:53:24 2014 (r359657) @@ -24,14 +24,13 @@ SUB_FILES= pkg-message NO_BUILD= yes USE_PHP= yes -USE_BZIP2= yes +USES= tar:bzip2 -OPTIONS_DEFINE= LANGUAGE_PACK EXTRAS +OPTIONS_DEFINE= LANGUAGE_PACK EXTRAS OPTIONS_DEFAULT= LANGUAGE_PACK EXTRAS LANGUAGE_PACK_DESC= Install language packs EXTRAS_DESC= Install all plugins available -NO_STAGE= yes .include .if ${PORT_OPTIONS:MLANGUAGE_PACK} @@ -111,25 +110,23 @@ PLIST_SUB+= PLUGINS="@comment " .endif do-install: - @cd ${WRKSRC}/upload && ${COPYTREE_SHARE} . ${WWWDIR} + @cd ${WRKSRC}/upload && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .for i in ${LANGFILES} - ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${WWWDIR}/lang -x '*/.DS_Store' -x '*/._.DS_Store' + ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${STAGEDIR}${WWWDIR}/lang -x '*/.DS_Store' -x '*/._.DS_Store' .endfor .for i in ${PLUGINS} - ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${WWWDIR}/plugins + ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${STAGEDIR}${WWWDIR}/plugins .endfor -.if !defined(NOPORTEXAMPLES) - @${INSTALL} -d ${EXAMPLESDIR} - cd ${WRKSRC}/extras && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR} -.endif + @${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST} +.for i in ${PORTEXAMPLES} + @${INSTALL_DATA} ${WRKSRC}/extras/${i} ${STAGEDIR}${EXAMPLESDIR} +.endfor -post-install: - @${CAT} ${PKGMESSAGE} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST} .include Modified: head/www/punbb/pkg-descr ============================================================================== --- head/www/punbb/pkg-descr Sat Jun 28 04:47:14 2014 (r359656) +++ head/www/punbb/pkg-descr Sat Jun 28 04:53:24 2014 (r359657) @@ -5,4 +5,4 @@ other discussion boards. PunBB has fewer discussion boards, but is generally faster and outputs smaller, semantically correct XHTML-compliant pages. -WWW: http://www.punbb.org/ +WWW: http://www.punbb.org/