diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-12-25 18:22:11 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-12-25 18:22:11 +0000 |
commit | 3701cd224f9f0316a3931232dface42a9a080b82 (patch) | |
tree | feea3b6c03af6f6407f3ae01e6d23ac883acd7c1 /print/xtexsh/Makefile | |
parent | 69447d905abb3f63c12f19a13630c0f089f0ca5c (diff) | |
download | freebsd-ports-3701cd224f9f0316a3931232dface42a9a080b82.zip |
Add xtexsh 1.4.2, Tcl/Tk-based simple TeX interface.
PR: 29630
Submitted by: Jean-Sebastien Roy <js@jeannot.org>
Diffstat (limited to 'print/xtexsh/Makefile')
-rw-r--r-- | print/xtexsh/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile new file mode 100644 index 000000000000..47c957225256 --- /dev/null +++ b/print/xtexsh/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: xtexsh +# Date created: 11 August 2001 +# Whom: Jean-Sebastien Roy <js@jeannot.org> +# +# $FreeBSD$ +# + +PORTNAME= xtexsh +PORTVERSION= 1.4.2 +CATEGORIES= print +MASTER_SITES= ftp://ftp.mat.univie.ac.at/pub/teschl/xtexsh/ +DISTNAME= ${PORTNAME}-1.4-2 + +MAINTAINER= js@jeannot.org + +RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX \ + wish8.4:${PORTSDIR}/x11-toolkits/tk84 + +WRKSRC= ${WRKDIR}/${PORTNAME}-1.4 + +USE_X_PREFIX= yes +NO_BUILD= yes +MAN1= xtexsh.1 +MANCOMPRESSED= yes + +post-patch: + @${PERL} -pi -e 's,/usr/bin/wish,${PREFIX}/bin/wish8.4,; \ + s,/etc,${PREFIX}/etc,; s,bash,sh,' ${WRKSRC}/xtexsh + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/xtexsh ${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/xtexsh.1.gz ${PREFIX}/man/man1 + @${INSTALL_DATA} ${WRKSRC}/xtexshrc ${PREFIX}/etc/xtexshrc + @${MKDIR} ${PREFIX}/share/xtexsh +.for f in xtexsh-mini.png xtexsh.png xtexsh.desktop xtexsh.spec + @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/xtexsh +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/index.html ${DOCSDIR} +.endif + +.include <bsd.port.mk> |