mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
39 lines
936 B
Makefile
39 lines
936 B
Makefile
# Created by: 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
|
|
|
|
NO_STAGE= yes
|
|
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>
|