mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Use $PLIST_FILES and $PORTDOCS to simplify the port.
- Remove 00readme. - Remove a duplicated line in patch-tgif2tex. - Add s,#!/usr/bin/perl,${PERL}, replacement.
This commit is contained in:
parent
e33d5916e1
commit
0920d2cfb6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214009
4 changed files with 9 additions and 45 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= tgif2tex
|
||||
PORTVERSION= 2.13
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES+= print
|
||||
MASTER_SITES= http://www.cs.hiroshima-u.ac.jp/~nakano/tgif2tex/
|
||||
|
||||
|
@ -16,7 +16,8 @@ COMMENT= Converting texts in figure by tgif to LaTeX commands
|
|||
|
||||
USE_PERL5_RUN= yes
|
||||
|
||||
DOCSRC= how-to-use.aux how-to-use.dvi \
|
||||
PLIST_FILES= bin/tgif2tex
|
||||
PORTDOCS= how-to-use.aux how-to-use.dvi \
|
||||
how-to-use.log how-to-use.ps how-to-use.tex \
|
||||
example.obj example.tex \
|
||||
original.dps original.tps \
|
||||
|
@ -31,14 +32,14 @@ DOCSRC= how-to-use.aux how-to-use.dvi \
|
|||
do-build:
|
||||
${REINPLACE_CMD} \
|
||||
-e "s,%%LOCALBASE%%,${LOCALBASE}," \
|
||||
-e "s,^#!/usr/bin/perl,#!${PERL}," \
|
||||
${WRKSRC}/tgif2tex
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${PREFIX}/bin/tgif2tex
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCSRC} ${DOCSDIR};
|
||||
${INSTALL_DATA} ${FILESDIR}/00readme ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
Please execute the following commands for example.
|
||||
|
||||
(1) cd /usr/local/share/doc/tgif2tex
|
||||
(2) tgif2tex example.obj
|
||||
(3) latex example.tex
|
||||
(4) xdvi example.tex
|
||||
|
||||
-- S. Taoka
|
|
@ -1,6 +1,6 @@
|
|||
--- tgif2tex.orig Fri Nov 28 20:53:07 2003
|
||||
+++ tgif2tex Sat Jul 30 20:31:46 2005
|
||||
@@ -44,11 +44,14 @@
|
||||
--- tgif2tex.orig 2003-11-28 20:53:07.000000000 +0900
|
||||
+++ tgif2tex 2008-05-31 18:28:11.000000000 +0900
|
||||
@@ -44,11 +44,13 @@
|
||||
# Aug 5, 2002 font size bug fixed (Version 2.12)
|
||||
# Aug 5, 2002 bug in handling BOX fixed (Version 2.13 thanks Mr. Tsuchimura)
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
|||
-$pnm_command='/usr/bin/gs -sDEVICE=pnmraw -sOutputFile=- -sNOPAUSE -dBATCH -q -r400';
|
||||
-$convert_command='/usr/bin/pnmcrop | /usr/bin/pnmmargin -white 10 | /usr/bin/convert - ';
|
||||
+$LOCALBASE='%%LOCALBASE%%';
|
||||
+$LOCALBASE='%%LOCALBASE%%';
|
||||
+
|
||||
+$latex_command="${LOCALBASE}/bin/platex"; # latex command in your site.
|
||||
+$dvips_command="${LOCALBASE}/bin/dvips";
|
||||
|
@ -20,7 +19,7 @@
|
|||
|
||||
$version='tgif2tex version 2.13';
|
||||
$copyright='Copyright (C) 1994-2003 Koji Nakano';
|
||||
@@ -106,8 +109,8 @@
|
||||
@@ -106,8 +108,8 @@
|
||||
$slitex=0; # 1 if slitex
|
||||
$pt='11pt';
|
||||
$size18=0;
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
bin/tgif2tex
|
||||
%%PORTDOCS%%%%DOCSDIR%%/00readme
|
||||
%%PORTDOCS%%%%DOCSDIR%%/how-to-use.aux
|
||||
%%PORTDOCS%%%%DOCSDIR%%/how-to-use.dvi
|
||||
%%PORTDOCS%%%%DOCSDIR%%/how-to-use.log
|
||||
%%PORTDOCS%%%%DOCSDIR%%/how-to-use.ps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/how-to-use.tex
|
||||
%%PORTDOCS%%%%DOCSDIR%%/example.obj
|
||||
%%PORTDOCS%%%%DOCSDIR%%/example.tex
|
||||
%%PORTDOCS%%%%DOCSDIR%%/original.dps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/original.tps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pythagoras.dps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/pythagoras.tps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample1.obj
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample1.ps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.1.dps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.1.tps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.2.dps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.2.tps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.3.dps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.3.tps
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.aux
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.dvi
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.log
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.tex
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.obj
|
||||
%%PORTDOCS%%%%DOCSDIR%%/sample2.ps
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Add table
Reference in a new issue