1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Update maintainership.

- Fix dependency.
- Fix PORTDOCS/EXAMPLESDIR confusion.

PR:	ports/161146
This commit is contained in:
Hiroki Sato 2011-10-01 07:45:52 +00:00
parent c25ce5e320
commit 14eb86e660
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282721
2 changed files with 9 additions and 16 deletions

View File

@ -8,27 +8,31 @@
PORTNAME= tex2im
PORTVERSION= 1.8
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= textproc
MASTER_SITES= http://www.nought.de/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= turutani@scphys.kyoto-u.ac.jp
COMMENT= Converts LaTeX formulas into high resolution pixmap graphics
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
latex:${PORTSDIR}/print/teTeX \
latex:${PORTSDIR}/print/teTeX-base \
bash:${PORTSDIR}/shells/bash
NO_BUILD= yes
PLIST_FILES= bin/tex2im
PORTEXAMPLES= example1.png example1.tex example2.png example2.tex \
example3.png example3.tex example4.png example4.tex \
fig_1.eps
post-patch:
@${REINPLACE_CMD} -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash,g" ${WRKSRC}/tex2im
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tex2im ${PREFIX}/bin
.if !defined(NOPORTDOCS)
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
bin/tex2im
%%PORTDOCS%%%%EXAMPLESDIR%%/example1.png
%%PORTDOCS%%%%EXAMPLESDIR%%/example1.tex
%%PORTDOCS%%%%EXAMPLESDIR%%/example2.png
%%PORTDOCS%%%%EXAMPLESDIR%%/example2.tex
%%PORTDOCS%%%%EXAMPLESDIR%%/example3.png
%%PORTDOCS%%%%EXAMPLESDIR%%/example3.tex
%%PORTDOCS%%%%EXAMPLESDIR%%/example4.png
%%PORTDOCS%%%%EXAMPLESDIR%%/example4.tex
%%PORTDOCS%%%%EXAMPLESDIR%%/fig_1.eps
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%