aboutsummaryrefslogtreecommitdiff
path: root/print/xtem/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-02-04 12:15:46 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-02-04 12:15:46 +0000
commit67956e16d614fdaa482289952c6abb16ad141dd8 (patch)
tree6b97c7a0a63ac9acecf76ab6d5e4ab4db7922c55 /print/xtem/Makefile
parentfba64837e6d6d43e3ea23d2495b72d6bf27fc725 (diff)
downloadports-67956e16d614fdaa482289952c6abb16ad141dd8.tar.gz
ports-67956e16d614fdaa482289952c6abb16ad141dd8.zip
Notes
Diffstat (limited to 'print/xtem/Makefile')
-rw-r--r--print/xtem/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/print/xtem/Makefile b/print/xtem/Makefile
new file mode 100644
index 000000000000..f64ccc16cda5
--- /dev/null
+++ b/print/xtem/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: xtem
+# Version required: 6.18
+# Date created: 01 June 1997
+# Whom: Peter Cornelius <pc@inr.fzk.de>
+#
+# $Id$
+
+DISTNAME= xtem_texmenu.6.18
+PKGNAME= xtem-6.18
+CATEGORIES= print
+MASTER_SITES= ftp://ftp.iwd.uni-bremen.de/pub/tex/xtem/
+
+MAINTAINER= ports@FreeBSD.ORG
+
+RUN_DEPENDS= wishx:${PORTSDIR}/lang/tclX75
+.if defined(BUILD_IT_ALL)
+RUN_DEPENDS+= gv:${PORTSDIR}/print/gv \
+ tex:${PORTSDIR}/print/teTeX
+.endif
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+NO_CONFIGURE= yes
+MAN1= xtem.1
+
+pre-extract:
+ @${CAT} ${FILESDIR}/makemsg.txt
+
+post-extract:
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}
+
+post-patch:
+ @/usr/bin/perl -pi.bak -e "s|@WISHX@|${PREFIX}/bin/wishx|; \
+ s|@TCLSH@|${PREFIX}/bin/tclsh7.5|; \
+ s|@XTEMPATH@|${PREFIX}/share/xtem|" \
+ ${WRKSRC}/xtem
+
+post-install:
+ @${CP} ${FILESDIR}/xtem_locals_german/* \
+ ${PREFIX}/share/xtem_locals_german
+# clean up left-overs...
+ @${RM} ${PREFIX}/share/xtem_locals_*/.nfs*
+
+.include <bsd.port.mk>