From owner-svn-ports-head@FreeBSD.ORG Tue Jan 28 16:40:13 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 AA945FC5; Tue, 28 Jan 2014 16:40:13 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8BFB61EF4; Tue, 28 Jan 2014 16:40:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0SGeD5F067494; Tue, 28 Jan 2014 16:40:13 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0SGeDb3067492; Tue, 28 Jan 2014 16:40:13 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201401281640.s0SGeDb3067492@svn.freebsd.org> From: Mathieu Arnold Date: Tue, 28 Jan 2014 16:40:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341621 - head/textproc/htmlsection 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: Tue, 28 Jan 2014 16:40:13 -0000 Author: mat Date: Tue Jan 28 16:40:12 2014 New Revision: 341621 URL: http://svnweb.freebsd.org/changeset/ports/341621 QAT: https://qat.redports.org/buildarchive/r341621/ Log: Support staging. Sponsored by: Absolight Modified: head/textproc/htmlsection/Makefile head/textproc/htmlsection/pkg-plist Modified: head/textproc/htmlsection/Makefile ============================================================================== --- head/textproc/htmlsection/Makefile Tue Jan 28 16:39:17 2014 (r341620) +++ head/textproc/htmlsection/Makefile Tue Jan 28 16:40:12 2014 (r341621) @@ -12,27 +12,24 @@ COMMENT= Insert section numbers in HTML USES= perl5 USE_PERL5= build -MAN1= htmlsection.1 -MANCOMPRESSED= yes +JADOCSDIR= share/doc/ja/${PORTNAME} +PLIST_SUB= JADOCSDIR=${JADOCSDIR} -NO_STAGE= yes pre-build: @(echo perl is set ${PERL} in pre-build:) @(cd ${WRKSRC}; ./findperl.sh ${PERL} > whereperl) @(cd ${WRKSRC}; ${CAT} whereperl) do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/htmlsection ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/htmlsection.1.gz ${PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/htmlsection ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/htmlsection.1.gz ${STAGEDIR}${PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in INSTALL README htmlsection_orig.html htmlsection.html - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor - @${MKDIR} ${PREFIX}/share/doc/ja/htmlsection + @${MKDIR} ${STAGEDIR}${PREFIX}/${JADOCSDIR} .for file in INSTALL-j README-j htmlsection-j_orig.html htmlsection-j.html - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ja/htmlsection + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/${JADOCSDIR} .endfor -.endif .include Modified: head/textproc/htmlsection/pkg-plist ============================================================================== --- head/textproc/htmlsection/pkg-plist Tue Jan 28 16:39:17 2014 (r341620) +++ head/textproc/htmlsection/pkg-plist Tue Jan 28 16:40:12 2014 (r341621) @@ -1,11 +1,12 @@ bin/htmlsection -%%PORTDOCS%%share/doc/htmlsection/INSTALL -%%PORTDOCS%%share/doc/htmlsection/README -%%PORTDOCS%%share/doc/htmlsection/htmlsection_orig.html -%%PORTDOCS%%share/doc/htmlsection/htmlsection.html -%%PORTDOCS%%share/doc/ja/htmlsection/INSTALL-j -%%PORTDOCS%%share/doc/ja/htmlsection/README-j -%%PORTDOCS%%share/doc/ja/htmlsection/htmlsection-j_orig.html -%%PORTDOCS%%share/doc/ja/htmlsection/htmlsection-j.html -%%PORTDOCS%%@dirrm share/doc/htmlsection -%%PORTDOCS%%@dirrm share/doc/ja/htmlsection +man/man1/htmlsection.1.gz +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/htmlsection.html +%%PORTDOCS%%%%DOCSDIR%%/htmlsection_orig.html +%%JADOCSDIR%%/INSTALL-j +%%JADOCSDIR%%/README-j +%%JADOCSDIR%%/htmlsection-j.html +%%JADOCSDIR%%/htmlsection-j_orig.html +@dirrmtry %%JADOCSDIR%% +%%PORTDOCS%%@dirrmtry %%DOCSDIR%%