diff options
author | pawel <pawel@FreeBSD.org> | 2014-07-07 00:43:42 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-07-07 00:43:42 +0800 |
commit | 356f4a97eca0730e8956e5574e89e6a1d09402f8 (patch) | |
tree | 0cd1e39cb91811406f6f572a3357361396970e85 /print/latexmk | |
parent | 664f82b63bf801c88248f194b39b7f2d827d01f2 (diff) | |
download | freebsd-ports-gnome-356f4a97eca0730e8956e5574e89e6a1d09402f8.tar.gz freebsd-ports-gnome-356f4a97eca0730e8956e5574e89e6a1d09402f8.tar.zst freebsd-ports-gnome-356f4a97eca0730e8956e5574e89e6a1d09402f8.zip |
Add staging support
Diffstat (limited to 'print/latexmk')
-rw-r--r-- | print/latexmk/Makefile | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/print/latexmk/Makefile b/print/latexmk/Makefile index 54a65362903f..17d720ea0175 100644 --- a/print/latexmk/Makefile +++ b/print/latexmk/Makefile @@ -11,8 +11,6 @@ COMMENT= Tool to completely automate generating output from LaTeX documents 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 <bsd.port.options.mk> +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 <bsd.port.mk> |