Support stage

This commit is contained in:
Baptiste Daroussin 2014-07-02 13:07:28 +00:00
parent 69cf9f9b31
commit 05dffab34b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360176
2 changed files with 11 additions and 14 deletions

View file

@ -8,9 +8,9 @@ CATEGORIES= print
MASTER_SITES= SF
MAINTAINER= doceng@FreeBSD.org
COMMENT= A TeX backend for Jade, for typesetting SGML documents
COMMENT= TeX backend for Jade, for typesetting SGML documents
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USE_TEX= tex
MAKE_JOBS_UNSAFE= yes
@ -18,21 +18,16 @@ 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
${MKDIR} ${STAGEDIR}${TEXMFDIR}/web2c
${MKDIR} ${STAGEDIR}${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}
${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt ${STAGEDIR}${TEXMFDIR}/web2c && \
${INSTALL_DATA} dsssl.def jadetex.ltx ${STAGEDIR}${TEXMFDIR}/tex/jadetex && \
${INSTALL_MAN} jadetex.1 pdfjadetex.1 ${STAGEDIR}${PREFIX}/man/man1
${LN} -sf ${LOCALBASE}/bin/etex ${STAGEDIR}${PREFIX}/bin/jadetex
${LN} -sf ${LOCALBASE}/bin/pdfetex ${STAGEDIR}${PREFIX}/bin/pdfjadetex
.include <bsd.port.mk>

View file

@ -1,5 +1,7 @@
bin/jadetex
bin/pdfjadetex
man/man1/jadetex.1.gz
man/man1/pdfjadetex.1.gz
share/texmf/tex/jadetex/dsssl.def
share/texmf/tex/jadetex/jadetex.ltx
share/texmf/web2c/jadetex.fmt