freebsd-ports/print/xtem/Makefile

44 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: xtem
# Date created: 01 June 1997
# Whom: Peter Cornelius <pc@inr.fzk.de>
#
1999-08-30 21:53:22 -04:00
# $FreeBSD$
#
2000-04-09 13:50:59 -04:00
PORTNAME= xtem
PORTVERSION= 7.00
CATEGORIES= print
1999-09-03 06:40:36 -04:00
MASTER_SITES= ftp://ftp.iwd.uni-bremen.de/pub/tex/xtem.v7/
DISTNAME= xtem_texmenu.7.00
MAINTAINER= ports@FreeBSD.org
1998-05-25 03:34:12 -04:00
RUN_DEPENDS= wishx:${PORTSDIR}/lang/tclX80
.if defined(BUILD_IT_ALL)
RUN_DEPENDS+= gv:${PORTSDIR}/print/gv \
tex:${PORTSDIR}/print/teTeX
.endif
WRKSRC= ${WRKDIR}/${PKGNAME}
1999-09-03 06:40:36 -04:00
MAN1= hyphen_show.1 xtem.1
pre-extract:
@${CAT} ${FILESDIR}/makemsg.txt
post-extract:
1999-09-03 06:40:36 -04:00
@${CP} ${FILESDIR}/Makefile ${FILESDIR}/exclude-list ${WRKSRC}
post-patch:
1998-10-12 23:47:24 -04:00
@/usr/bin/perl -pi.bak -e "s|\@WISHX\@|${PREFIX}/bin/wishx|; \
s|\@TCLSH\@|${PREFIX}/bin/tclsh8.0|; \
s|\@XTEMPATH\@|${PREFIX}/share/xtem|" \
${WRKSRC}/xtem
post-install:
@${CP} ${FILESDIR}/xtem_locals_german/[a-z]* \
${PREFIX}/share/xtem_locals_german
# clean up left-overs...
1998-02-09 07:42:59 -05:00
@${RM} -f ${PREFIX}/share/xtem_locals_*/.nfs*
.include <bsd.port.mk>