1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/print/xtem/Makefile
1998-10-13 03:47:24 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: xtem
# Version required: 6.18
# Date created: 01 June 1997
# Whom: Peter Cornelius <pc@inr.fzk.de>
#
# $Id: Makefile,v 1.6 1998/10/12 18:16:47 jseger Exp $
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/tclX80
.if defined(BUILD_IT_ALL)
RUN_DEPENDS+= gv:${PORTSDIR}/print/gv \
tex:${PORTSDIR}/print/teTeX
.endif
WRKSRC= ${WRKDIR}/${PKGNAME}
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/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...
@${RM} -f ${PREFIX}/share/xtem_locals_*/.nfs*
.include <bsd.port.mk>