From 0c737a3e470e777c8491cb1849a3b3352808b5c0 Mon Sep 17 00:00:00 2001 From: hrs Date: Sat, 1 Oct 2011 07:45:52 +0000 Subject: - Update maintainership. - Fix dependency. - Fix PORTDOCS/EXAMPLESDIR confusion. PR: ports/161146 --- textproc/tex2im/Makefile | 14 +++++++++----- textproc/tex2im/pkg-plist | 11 ----------- 2 files changed, 9 insertions(+), 16 deletions(-) delete mode 100644 textproc/tex2im/pkg-plist (limited to 'textproc/tex2im') diff --git a/textproc/tex2im/Makefile b/textproc/tex2im/Makefile index cb867c42f251..a3394a0c94e0 100644 --- a/textproc/tex2im/Makefile +++ b/textproc/tex2im/Makefile @@ -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 diff --git a/textproc/tex2im/pkg-plist b/textproc/tex2im/pkg-plist deleted file mode 100644 index 3c1c8869be12..000000000000 --- a/textproc/tex2im/pkg-plist +++ /dev/null @@ -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%% -- cgit