1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/print/tex/Makefile
Satoshi Asami c98cfd116d Compress a bunch of manpages. Remove unnecessary @ directives from
PLISTs.

Note: I know that this is going to break some symlinks and/or .so
includes, I will back some of these out as I run into these during
package building.
1996-11-18 14:17:24 +00:00

77 lines
2.6 KiB
Makefile

# New ports collection makefile for: tex
# Version required: 6.1
# Date created: 29 September 1994
# Whom: jmz
#
# $Id: Makefile,v 1.23 1996/11/17 08:45:11 obrien Exp $
#
DISTNAME= web2c-6.1
PKGNAME= tex-3.1415
CATEGORIES= print
DISTFILES= web2c-6.1.tar.gz web-6.1.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
mf_lib.tar.gz cm_mf.tar.gz modes.mf
MAINTAINER= jmz@FreeBSD.org
EXTRACT_ONLY= web2c-6.1.tar.gz web-6.1.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
mf_lib.tar.gz cm_mf.tar.gz
MAN1= bibtex.1 dvitype.1 gftodvi.1 gftopk.1 gftype.1 \
latex.1 mf.1 mft.1 pktogf.1 pktype.1 pltotf.1 slitex.1 \
tangle.1 tex.1 tftopl.1 vftovp.1 vptovf.1 weave.1 etex.1 \
amslatex.1 amstex.1 initex.1 lamstex.1 patgen.1 pooltype.1 \
virtex.1
#other equivalent sites: ftp.shsu.edu ftp.dante.de
CTAN?= ftp.tex.ac.uk
BASES= mf.base cmmf.base
FORMATS= tex.fmt
CFLAGS+= -L${X11BASE}/lib
web2c-6.1.tar.gz:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web2c-6.1.tar.gz -o ${DISTDIR}/$@
web-6.1.tar.gz:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web-6.1.tar.gz -o ${DISTDIR}/$@
cm_mf.tar.gz:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts -f cm/mf.tar.gz -o ${DISTDIR}/$@
cm_tfm.tar.gz:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts -f cm/tfm.tar.gz -o ${DISTDIR}/$@
mf_lib.tar.gz:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/knuth -f lib.tar.gz -o ${DISTDIR}/$@
modes.mf:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts/modes -f modes.mf -o ${DISTDIR}/$@
tex_base.tar.gz:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/macros -f plain/base.tar.gz -o ${DISTDIR}/$@
pre-configure:
(cd ${WRKDIR}/lib; gunzip *.gz)
do-build:
(cd ${WRKSRC}; make CFLAGS="${CFLAGS}" programs)
(cd ${WRKSRC}; MFINPUTS=${WRKDIR}/mf; export MFINPUTS;\
make bases="${BASES}" bases)
(cd ${WRKSRC}/web2c; TEXINPUTS=${WRKDIR}/lib:${WRKSRC}; export TEXINPUTS;\
TEXFONTS=${WRKDIR}/cm/tfm:${WRKDIR}/latex/tfm; export TEXFONTS; \
make fmts="${FORMATS}" fmts)
do-install:
@(cd ${WRKSRC}/web2c; make install-exec INSTALL_PROGRAM="/usr/bin/install -c -s")
@(cd ${WRKSRC}/web2c; make install-manpages)
@(cd ${WRKSRC}/web2c; make install-data bases="${BASES}" fmts="${FORMATS}")
@${MKDIR} ${PREFIX}/lib/texmf/fonts/tfm
@(cd ${WRKDIR}/cm/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/lib/texmf/fonts/tfm)
@${MKDIR} ${PREFIX}/lib/texmf/mf
@(cd ${WRKDIR}/mf; ${INSTALL_DATA} *.mf ${PREFIX}/lib/texmf/mf)
@${MKDIR} ${PREFIX}/lib/texmf/tex
@(cd ${WRKDIR}/lib; ${INSTALL_DATA} *.tex ${PREFIX}/lib/texmf/tex)
@(cd ${WRKDIR}/plain/base; ${INSTALL_DATA} *.tex ${PREFIX}/lib/texmf/tex)
@(rm -f ${PREFIX}/bin/latex)
.include "Makefile.inc"
.include <bsd.port.mk>