diff options
author | hrs <hrs@FreeBSD.org> | 2011-10-01 15:45:52 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2011-10-01 15:45:52 +0800 |
commit | 0c737a3e470e777c8491cb1849a3b3352808b5c0 (patch) | |
tree | 79eaf8c43a6908c5d990a63014b21d7dba578bc9 /textproc | |
parent | 2979788d3fb4ae9b7387ce063b2dc47528ce34c2 (diff) | |
download | freebsd-ports-gnome-0c737a3e470e777c8491cb1849a3b3352808b5c0.tar.gz freebsd-ports-gnome-0c737a3e470e777c8491cb1849a3b3352808b5c0.tar.zst freebsd-ports-gnome-0c737a3e470e777c8491cb1849a3b3352808b5c0.zip |
- Update maintainership.
- Fix dependency.
- Fix PORTDOCS/EXAMPLESDIR confusion.
PR: ports/161146
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/tex2im/Makefile | 14 | ||||
-rw-r--r-- | textproc/tex2im/pkg-plist | 11 |
2 files changed, 9 insertions, 16 deletions
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 <bsd.port.mk> 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%% |