Date: Tue, 28 Jan 2014 16:40:13 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341621 - head/textproc/htmlsection Message-ID: <201401281640.s0SGeDb3067492@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401281640.s0SGeDb3067492>