mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
5e5841f2cd
PORTREVISION or PORTEPOCH are defined. Most of these Makefiles were defining DISTNAME and WRKSRC (and sometimes EXTRACT_SUFX) -- change those to define DISTFILES only. Also, some of the WRKSRC lines were not even necessary, as they were defining it to the default value. Instigated by: Peter Pentchev <roam@orbitel.bg> and kris
43 lines
1020 B
Makefile
43 lines
1020 B
Makefile
# New ports collection makefile for: xtem
|
|
# Date created: 01 June 1997
|
|
# Whom: Peter Cornelius <pc@inr.fzk.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xtem
|
|
PORTVERSION= 7.00
|
|
CATEGORIES= print
|
|
MASTER_SITES= ftp://ftp.iwd.uni-bremen.de/pub/tex/xtem.v7/
|
|
DISTFILES= xtem_texmenu.${PORTVERSION}.tar.gz
|
|
|
|
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
|
|
|
|
MAN1= hyphen_show.1 xtem.1
|
|
|
|
pre-extract:
|
|
@${CAT} ${FILESDIR}/makemsg.txt
|
|
|
|
post-extract:
|
|
@${CP} ${FILESDIR}/Makefile ${FILESDIR}/exclude-list ${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>
|