diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-27 07:49:26 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-27 07:49:26 +0000 |
commit | cf511b57d63f7aae108a35171ea9ffea9cba021e (patch) | |
tree | e2bd9560baa3da7ab89568b4582199e1b6cc22ef /print/tgif2tex | |
parent | Support staging (diff) |
Support staging
Notes
Notes:
svn path=/head/; revision=346242
Diffstat (limited to 'print/tgif2tex')
-rw-r--r-- | print/tgif2tex/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/print/tgif2tex/Makefile b/print/tgif2tex/Makefile index 487f00fd255c..43063277745d 100644 --- a/print/tgif2tex/Makefile +++ b/print/tgif2tex/Makefile @@ -13,7 +13,7 @@ COMMENT= Converting texts in figure by tgif to LaTeX commands LICENSE= GPLv2 PLIST_FILES= bin/tgif2tex -PORTDOCS= how-to-use.dvi how-to-use.ps how-to-use.tex \ +PORTDOCS= how-to-use.dvi how-to-use.ps how-to-use.tex \ example.obj example.tex \ original.dps original.tps \ pythagoras.dps pythagoras.tps \ @@ -27,21 +27,17 @@ OPTIONS_DEFINE= DOCS USES= perl5 USE_PERL5= run +NO_BUILD= yes -NO_STAGE= yes -.include <bsd.port.options.mk> - -do-build: +post-patch: ${REINPLACE_CMD} \ -e "s,%%LOCALBASE%%,${LOCALBASE}," \ -e "s,^#!/usr/bin/perl,#!${PERL}," \ ${WRKSRC}/tgif2tex do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${PREFIX}/bin/tgif2tex -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |