From owner-svn-ports-head@FreeBSD.ORG Fri Apr 4 09:01:56 2014 Return-Path: Delivered-To: svn-ports-head@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 193B8B5A; Fri, 4 Apr 2014 09:01:56 +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 D5AC814A; Fri, 4 Apr 2014 09:01:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3491tFd090491; Fri, 4 Apr 2014 09:01:55 GMT (envelope-from rafan@svn.freebsd.org) Received: (from rafan@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3491tOf090489; Fri, 4 Apr 2014 09:01:55 GMT (envelope-from rafan@svn.freebsd.org) Message-Id: <201404040901.s3491tOf090489@svn.freebsd.org> From: Rong-En Fan Date: Fri, 4 Apr 2014 09:01:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350069 - head/mail/mailgraph 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.17 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: Fri, 04 Apr 2014 09:01:56 -0000 Author: rafan Date: Fri Apr 4 09:01:55 2014 New Revision: 350069 URL: http://svnweb.freebsd.org/changeset/ports/350069 QAT: https://qat.redports.org/buildarchive/r350069/ Log: - STAGE support PR: ports/188078 Submitted by: Danilo G. Baio Modified: head/mail/mailgraph/Makefile head/mail/mailgraph/pkg-plist Modified: head/mail/mailgraph/Makefile ============================================================================== --- head/mail/mailgraph/Makefile Fri Apr 4 08:53:00 2014 (r350068) +++ head/mail/mailgraph/Makefile Fri Apr 4 09:01:55 2014 (r350069) @@ -32,7 +32,6 @@ DOCS= README CHANGES PORTDOCS= ${DOCS} .endif -NO_STAGE= yes pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "You may set following options:" @@ -47,23 +46,17 @@ post-patch: @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/mailgraph.cgi do-install: - ${MKDIR} ${CGIDIR} - ${MKDIR} ${WWWROOT}/mailgraph - ${MKDIR} ${DATADIR} - @${CHOWN} -R ${MAILGRAPH_USER}:${MAILGRAPH_GROUP} ${DATADIR} - @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${PREFIX}/sbin - @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${CGIDIR} - @${INSTALL_DATA} ${WRKSRC}/mailgraph.css ${WWWROOT}/mailgraph + ${MKDIR} ${STAGEDIR}${CGIDIR} + ${MKDIR} ${STAGEDIR}${WWWROOT}/mailgraph + ${MKDIR} ${STAGEDIR}${DATADIR} + @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${STAGEDIR}${PREFIX}/sbin + @${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${STAGEDIR}${CGIDIR} + @${INSTALL_DATA} ${WRKSRC}/mailgraph.css ${STAGEDIR}${WWWROOT}/mailgraph .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} for f in ${DOCS}; do \ - ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \ + ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \ done .endif -post-install: - @${ECHO_MSG} "" - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} "" - .include Modified: head/mail/mailgraph/pkg-plist ============================================================================== --- head/mail/mailgraph/pkg-plist Fri Apr 4 08:53:00 2014 (r350068) +++ head/mail/mailgraph/pkg-plist Fri Apr 4 09:01:55 2014 (r350069) @@ -1,6 +1,12 @@ +@owner www +@group www +%%DATADIR%% +@group +@owner %%CGIDIR%%/mailgraph.cgi %%WWWROOT%%/mailgraph/mailgraph.css sbin/mailgraph.pl +@dirrmtry %%DATADIR%% @dirrmtry %%CGIDIR%% @dirrmtry %%WWWROOT%%/mailgraph @dirrmtry %%WWWROOT%%