diff options
author | hrs <hrs@FreeBSD.org> | 2009-12-22 04:32:17 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2009-12-22 04:32:17 +0800 |
commit | fae30af643b7887406dad280ae207b188dc73a4d (patch) | |
tree | 5f2f09fba6f5e8986c836009a922f5091edc808e /print/jadetex | |
parent | 5be4868978b15ddf32a29d55e6c149a632e21f0b (diff) | |
download | freebsd-ports-gnome-fae30af643b7887406dad280ae207b188dc73a4d.tar.gz freebsd-ports-gnome-fae30af643b7887406dad280ae207b188dc73a4d.tar.zst freebsd-ports-gnome-fae30af643b7887406dad280ae207b188dc73a4d.zip |
- Narrow down directories scanned by mktexlsr(1).
- Style clean-ups.
Diffstat (limited to 'print/jadetex')
-rw-r--r-- | print/jadetex/Makefile | 48 | ||||
-rw-r--r-- | print/jadetex/files/pkg-message.in (renamed from print/jadetex/pkg-message) | 0 | ||||
-rw-r--r-- | print/jadetex/pkg-plist | 10 |
3 files changed, 27 insertions, 31 deletions
diff --git a/print/jadetex/Makefile b/print/jadetex/Makefile index d92e25c122d6..6f69d7fc63e7 100644 --- a/print/jadetex/Makefile +++ b/print/jadetex/Makefile @@ -5,44 +5,42 @@ # $FreeBSD$ # -PORTNAME= jadetex -PORTVERSION= 3.13 -PORTREVISION= 3 -CATEGORIES= print -MASTER_SITES= SF +PORTNAME= jadetex +PORTVERSION= 3.13 +PORTREVISION= 4 +CATEGORIES= print +MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= hrs@FreeBSD.org COMMENT= A TeX backend for Jade, for typesetting SGML documents -BUILD_DEPENDS= etex:${PORTSDIR}/print/teTeX-base -LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png -RUN_DEPENDS= etex:${PORTSDIR}/print/teTeX-base +BUILD_DEPENDS= etex:${PORTSDIR}/print/teTeX-base +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png +RUN_DEPENDS= etex:${PORTSDIR}/print/teTeX-base -TETEXBASE?= ${LOCALBASE} +MAKE_ENV= TEXMFCNF=${FILESDIR}:${TEXMFDIR}/web2c -MAKE_ENV= TEXMFCNF=${FILESDIR}:${TETEXBASE}/share/texmf/web2c +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message +PLIST_SUB= TEXMFDIR=share/texmf -MESSAGE= ${PKGDIR}/pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message +MAN1= jadetex.1 pdfjadetex.1 -MAN1= jadetex.1 pdfjadetex.1 - -pre-patch: - @${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${MESSAGE} > ${PKGMESSAGE} +TEXMFDIR?= ${LOCALBASE}/share/texmf do-install: - @cd ${WRKSRC}; TEXMFMAIN=${TETEXBASE}/share/texmf; \ - ${INSTALL_DATA} jadetex.fmt pdfjadetex.fmt $$TEXMFMAIN/web2c; \ - ${MKDIR} -m 555 $$TEXMFMAIN/tex/jadetex; \ - ${INSTALL_DATA} dsssl.def jadetex.ltx $$TEXMFMAIN/tex/jadetex; \ - ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 - @${LN} -sf ${PREFIX}/bin/etex ${PREFIX}/bin/jadetex - @${LN} -sf ${PREFIX}/bin/pdfetex ${PREFIX}/bin/pdfjadetex + ${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: rebuild-tex-database display-message rebuild-tex-database: - ${LOCALBASE}/bin/mktexlsr + ${LOCALBASE}/bin/mktexlsr ${TEXMFDIR} display-message: @${CAT} ${PKGMESSAGE} diff --git a/print/jadetex/pkg-message b/print/jadetex/files/pkg-message.in index 9eabf806f705..9eabf806f705 100644 --- a/print/jadetex/pkg-message +++ b/print/jadetex/files/pkg-message.in diff --git a/print/jadetex/pkg-plist b/print/jadetex/pkg-plist index 243e8a993803..35b42b8aa77a 100644 --- a/print/jadetex/pkg-plist +++ b/print/jadetex/pkg-plist @@ -1,12 +1,10 @@ @comment $FreeBSD$ -@exec ln -sf %D/bin/etex %D/bin/jadetex -@exec ln -sf %D/bin/pdfetex %D/bin/pdfjadetex -@unexec rm -f %D/bin/jadetex -@unexec rm -f %D/bin/pdfjadetex +bin/jadetex +bin/pdfjadetex share/texmf/tex/jadetex/dsssl.def share/texmf/tex/jadetex/jadetex.ltx share/texmf/web2c/jadetex.fmt share/texmf/web2c/pdfjadetex.fmt @dirrmtry share/texmf/tex/jadetex -@exec %D/bin/mktexlsr -@unexec %D/bin/mktexlsr +@exec %D/bin/mktexlsr %D/%%TEXMFDIR%% +@unexec %D/bin/mktexlsr %D/%%TEXMFDIR%% |