freebsd-ports/print/texinfo/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

1995-04-15 00:34:11 -04:00
# New ports collection makefile for: texinfo
# Version required: 2.124
# Date created: 2 October 1994
# Whom: jmz
#
# $Id: Makefile,v 1.10 1996/12/17 12:33:49 asami Exp $
1995-04-15 00:34:11 -04:00
#
DISTNAME= texinfo
1995-04-15 00:34:11 -04:00
PKGNAME= texinfo-2.124
DISTFILES= texinfo.tex lcircle10.tfm
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/
1995-04-15 00:34:11 -04:00
MAINTAINER= jmz@FreeBSD.org
1995-09-23 16:24:13 -04:00
BUILD_DEPENDS= tex:${PORTSDIR}/print/tex
RUN_DEPENDS= tex:${PORTSDIR}/print/tex
EXTRACT_ONLY=
NO_WRKSUBDIR= yes
pre-fetch:
@if [ ! -x ${PREFIX}/bin/tex ]; then \
echo "You must have TeX installed";\
exit 1; \
fi;
@if [ ! -x ${PREFIX}/bin/initex ]; then \
echo "I can't find initex. Your TeX installation is incomplete";\
exit 1;\
fi
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>