diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-27 15:49:26 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-27 15:49:26 +0800 |
commit | c8889043c42ba577dba34a6f56935bd049024eb7 (patch) | |
tree | e2bd9560baa3da7ab89568b4582199e1b6cc22ef /print | |
parent | e09947a646899a9d4ea5af00c82d00f19379d52d (diff) | |
download | freebsd-ports-gnome-c8889043c42ba577dba34a6f56935bd049024eb7.tar.gz freebsd-ports-gnome-c8889043c42ba577dba34a6f56935bd049024eb7.tar.zst freebsd-ports-gnome-c8889043c42ba577dba34a6f56935bd049024eb7.zip |
Support staging
Diffstat (limited to 'print')
-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> |