summaryrefslogtreecommitdiffstats
path: root/print/xtem/Makefile
blob: fdb36bfab10244eb6bfdd2f39d45eb221a217e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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.2 1998/02/08 21:54:09 asami 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/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/[a-z]* \
		${PREFIX}/share/xtem_locals_german
# clean up left-overs...
	@${RM} -f ${PREFIX}/share/xtem_locals_*/.nfs*

.include <bsd.port.mk>
OpenPOWER on IntegriCloud