From owner-svn-ports-head@FreeBSD.ORG Sun Jul 6 16:43:43 2014 Return-Path: Delivered-To: svn-ports-head@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 8A0589E; Sun, 6 Jul 2014 16:43:43 +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 5D6752098; Sun, 6 Jul 2014 16:43:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s66Ghh28094043; Sun, 6 Jul 2014 16:43:43 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s66GhhQ4094042; Sun, 6 Jul 2014 16:43:43 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201407061643.s66GhhQ4094042@svn.freebsd.org> From: Pawel Pekala Date: Sun, 6 Jul 2014 16:43:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360939 - head/print/latexmk 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.18 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: Sun, 06 Jul 2014 16:43:43 -0000 Author: pawel Date: Sun Jul 6 16:43:42 2014 New Revision: 360939 URL: http://svnweb.freebsd.org/changeset/ports/360939 QAT: https://qat.redports.org/buildarchive/r360939/ Log: Add staging support Modified: head/print/latexmk/Makefile Modified: head/print/latexmk/Makefile ============================================================================== --- head/print/latexmk/Makefile Sun Jul 6 16:42:45 2014 (r360938) +++ head/print/latexmk/Makefile Sun Jul 6 16:43:42 2014 (r360939) @@ -11,8 +11,6 @@ COMMENT= Tool to completely automate gen LICENSE= GPLv2 # (or later) -OPTIONS_DEFINE= DOCS EXAMPLES - NO_WRKSUBDIR= yes NO_BUILD= yes @@ -20,28 +18,25 @@ USES= perl5 zip USE_PERL5= run USE_TEX= latex -MAN1= latexmk.1 PORTDOCS= * PORTEXAMPLES= * -PLIST_FILES= bin/latexmk +PLIST_FILES= bin/latexmk man/man1/latexmk.1.gz -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS EXAMPLES do-install: - (cd ${WRKSRC} && ${INSTALL_SCRIPT} latexmk.pl ${PREFIX}/bin/latexmk) - (cd ${WRKSRC} && ${INSTALL_MAN} latexmk.1 ${MANPREFIX}/man/man1) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_SCRIPT} latexmk.pl \ + ${STAGEDIR}${PREFIX}/bin/latexmk) + (cd ${WRKSRC} && ${INSTALL_MAN} latexmk.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in CHANGES INSTALL README latexmk.pdf latexmk.ps latexmk.txt - (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${DOCSDIR}) + (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} example_rcfiles ${EXAMPLESDIR}) - @(cd ${WRKSRC} && ${COPYTREE_BIN} extra-scripts ${EXAMPLESDIR}) -.endif - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} example_rcfiles \ + ${STAGEDIR}${EXAMPLESDIR}) + @(cd ${WRKSRC} && ${COPYTREE_BIN} extra-scripts \ + ${STAGEDIR}${EXAMPLESDIR}) .include