summaryrefslogtreecommitdiffstats
path: root/print/texinfo/Makefile
blob: 7b0ad952c731c3945c9eb2a4436cbeefc40938bc (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
# New ports collection makefile for:    texinfo
# Version required:     2.218
# Date created:         2 October 1994
# Whom:                 jmz
#
# $Id: Makefile,v 1.13 1999/01/29 02:34:08 jmz Exp $
#

DISTNAME=	texinfo
PKGNAME=	texinfo-2.218
CATEGORIES=	print
#other equivalent sites: ftp.shsu.edu ftp.dante.de
MASTER_SITES=	ftp://ftp.tex.ac.uk/tex-archive/macros/eplain/doc/ \
		ftp://ftp.tex.ac.uk/tex-archive/fonts/latex/tfm/
DISTFILES=	texinfo.tex lcircle10.tfm

MAINTAINER=     jmz@FreeBSD.org

BUILD_DEPENDS=	tex:${PORTSDIR}/print/tex
RUN_DEPENDS=	tex:${PORTSDIR}/print/tex

EXTRACT_ONLY=
NO_WRKSUBDIR=	yes

pre-configure:
	@${CP} ${DISTDIR}/texinfo.tex ${DISTDIR}/lcircle10.tfm ${WRKDIR}
	@chmod +w ${WRKDIR}/*

do-build:
	@(cd ${WRKDIR}; initex '&tex texinfo @dump')

do-install:
	@${INSTALL_DATA} ${WRKDIR}/texinfo.fmt \
				${PREFIX}/share/texmf/web2c/
	@if [ ! -f ${PREFIX}/share/texmf/fonts/tfm/lcircle10.tfm ]; then \
	  ${INSTALL_DATA} ${WRKDIR}/lcircle10.tfm \
				${PREFIX}/share/texmf/fonts/tfm/;\
	 fi
	@(cd ${PREFIX}/bin/; ${RM} -f texinfo; ln -s virtex texinfo)

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