freebsd-ports/print/xtem/Makefile

46 lines
1.1 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-31 03:53:22 +02:00
# $FreeBSD$
#
2000-04-09 19:50:59 +02:00
PORTNAME= xtem
PORTVERSION= 8.00
CATEGORIES= print
MASTER_SITES= ftp://ftp.iwd.uni-bremen.de/pub/tex/xtem.v8/
DISTNAME= ${PORTNAME}_texmenu.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= Tcl/Tk-based development menu (environment?) for TeX
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
.if defined(BUILD_IT_ALL)
RUN_DEPENDS+= gv:${PORTSDIR}/print/gv \
tex:${PORTSDIR}/print/teTeX
.endif
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
1999-09-03 12:40:36 +02:00
MAN1= hyphen_show.1 xtem.1
pre-everything::
@${CAT} ${FILESDIR}/makemsg.txt
post-extract:
1999-09-03 12:40:36 +02:00
@${CP} ${FILESDIR}/Makefile ${FILESDIR}/exclude-list ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e \
"s|%%TCLSH%%|${PREFIX}/bin/tclsh8.2|g; \
s|%%WISH%%|${PREFIX}/bin/wish8.2|g; \
s|%%XTEMPATH%%|${PREFIX}/share/xtem|g" ${WRKSRC}/xtem
post-install:
@${CP} ${FILESDIR}/xtem_locals_german/[a-z]* \
${PREFIX}/share/xtem_locals_german
.include <bsd.port.mk>