mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
74bdde3d5f
PR: ports/35225 Submitted by: maintainer
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: texinfo
|
|
# Date created: 2 October 1994
|
|
# Whom: jmz
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= texinfo
|
|
PORTVERSION= 2.218
|
|
PORTREVISION= 1
|
|
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= ports@geeksrus.net
|
|
|
|
.if !defined(WITH_TETEX)
|
|
TEX_PORT= tex:${PORTSDIR}/print/tex
|
|
pre-everything::
|
|
@${ECHO_MSG} 'Use make-flag WITH_TETEX=yes if you want to install with teTeX'
|
|
.else
|
|
TEX_PORT= tex:${PORTSDIR}/print/teTeX
|
|
.endif
|
|
|
|
BUILD_DEPENDS= ${TEX_PORT}
|
|
RUN_DEPENDS= ${TEX_PORT}
|
|
|
|
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>
|