1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/print/jadetex/Makefile
Hiroki Sato 4e09def2d4 Rectify USE_TEX to support both of teTeX and TeXLive.
TEX_DEFAULT:
	A knob to choose teTeX or TeXLive.  One can specify in /etc/make.conf.

USE_TEX:
	A knob for port developers.  Valid keywords are listed in
	bsd.tex.mk.
2013-05-11 17:58:55 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: jadetex
# Date created: 5 December 1998
# Whom: Sean Kelly <kelly@ad1440.net>
#
# $FreeBSD$
#
PORTNAME= jadetex
PORTVERSION= 3.13
PORTREVISION= 8
CATEGORIES= print
MASTER_SITES= SF
MAINTAINER= doceng@FreeBSD.org
COMMENT= A TeX backend for Jade, for typesetting SGML documents
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
USE_TEX= tex
MAKE_JOBS_UNSAFE= yes
MAKE_ENV= TEXMFCNF=${FILESDIR}:${TEXMFDIR}/web2c
PLIST_SUB= TEXMFDIR=share/texmf
MAN1= jadetex.1 pdfjadetex.1
TEXMFDIR?= ${LOCALBASE}/share/texmf
do-install:
${MKDIR} -m 555 ${TEXMFDIR}/tex/jadetex
cd ${WRKSRC} && \
${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt ${TEXMFDIR}/web2c && \
${INSTALL_DATA} dsssl.def jadetex.ltx ${TEXMFDIR}/tex/jadetex && \
${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
${LN} -sf ${LOCALBASE}/bin/etex ${PREFIX}/bin/jadetex
${LN} -sf ${LOCALBASE}/bin/pdfetex ${PREFIX}/bin/pdfjadetex
post-install:
${LOCALBASE}/bin/mktexlsr ${TEXMFDIR}
.include <bsd.port.mk>