diff --git a/print/Makefile b/print/Makefile index e5cbcb1d36e6..2161a925c8bb 100644 --- a/print/Makefile +++ b/print/Makefile @@ -161,6 +161,7 @@ SUBDIR += xmbibtex SUBDIR += xpp SUBDIR += xtem + SUBDIR += xtexsh SUBDIR += yatex SUBDIR += yatex-mule SUBDIR += yatex-xemacs 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 +# +# $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 diff --git a/print/xtexsh/distinfo b/print/xtexsh/distinfo new file mode 100644 index 000000000000..cdd0185a3f80 --- /dev/null +++ b/print/xtexsh/distinfo @@ -0,0 +1 @@ +MD5 (xtexsh-1.4-2.tar.gz) = 93bd83523ecba9563c0a6b5d02d79a8b diff --git a/print/xtexsh/pkg-comment b/print/xtexsh/pkg-comment new file mode 100644 index 000000000000..0c4fc30e1e8c --- /dev/null +++ b/print/xtexsh/pkg-comment @@ -0,0 +1 @@ +Tcl/Tk-based simple TeX interface diff --git a/print/xtexsh/pkg-descr b/print/xtexsh/pkg-descr new file mode 100644 index 000000000000..4701fc4679e3 --- /dev/null +++ b/print/xtexsh/pkg-descr @@ -0,0 +1,6 @@ +xtexsh - xTeX Shell by Gerald Teschlxtem + +The present program is a simple TeX interface for the X Window System based on +"wish", respectively Tcl/Tk. + +WWW: http://www.mat.univie.ac.at/~gerald/ftp/xtexsh/ diff --git a/print/xtexsh/pkg-plist b/print/xtexsh/pkg-plist new file mode 100644 index 000000000000..3783fd5d1bc6 --- /dev/null +++ b/print/xtexsh/pkg-plist @@ -0,0 +1,10 @@ +bin/xtexsh +etc/xtexshrc +%%PORTDOCS%%share/doc/xtexsh/README +%%PORTDOCS%%share/doc/xtexsh/index.html +share/xtexsh/xtexsh-mini.png +share/xtexsh/xtexsh.desktop +share/xtexsh/xtexsh.png +share/xtexsh/xtexsh.spec +@dirrm share/xtexsh +%%PORTDOCS%%@dirrm share/doc/xtexsh