aboutsummaryrefslogtreecommitdiff
path: root/textproc/tex2im/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2011-10-01 07:45:52 +0000
committerHiroki Sato <hrs@FreeBSD.org>2011-10-01 07:45:52 +0000
commit14eb86e660d6428a2d9f879601b6504d53bf05ce (patch)
treed7aea8978dc77f64e7a6279b9e1d31902e1e2aab /textproc/tex2im/Makefile
parentc25ce5e32029857c88fe8c85480e67958fa9a7ff (diff)
downloadports-14eb86e660d6428a2d9f879601b6504d53bf05ce.tar.gz
ports-14eb86e660d6428a2d9f879601b6504d53bf05ce.zip
Notes
Diffstat (limited to 'textproc/tex2im/Makefile')
-rw-r--r--textproc/tex2im/Makefile14
1 files changed, 9 insertions, 5 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>