mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
- Trim old-style header.
- Update MASTER_SITES. - Set USE_TEX. - Use OPTIONS_DEFINE.
This commit is contained in:
parent
e8ee385588
commit
742627e2e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318654
@ -1,50 +1,31 @@
|
||||
# New ports collection makefile for: passivetex
|
||||
# Date created: 9 May 2002
|
||||
# Whom: Nik Clayton <nik@FreeBSD.org>
|
||||
#
|
||||
# Created by: Nik Clayton <nik@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= passivetex
|
||||
PORTVERSION= 1.24
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= http://www.tei-c.org/Software/passivetex/
|
||||
MASTER_SITES= http://projects.oucs.ox.ac.uk/passivetex/
|
||||
DISTNAME= ${PORTNAME}
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= hrs@FreeBSD.org
|
||||
COMMENT= XSL FO processor, written in TeX
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/web2c/xmltex.fmt:${PORTSDIR}/print/xmltex \
|
||||
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_ZIP= yes
|
||||
USE_TEX= tetex xmltex texhash
|
||||
TEXHASHDIRS= ${TEXMFDIR}
|
||||
WRKSRC= ${WRKDIR}/passivetex
|
||||
MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c
|
||||
|
||||
MESSAGE= ${PKGDIR}/pkg-message
|
||||
MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/${TEXMFDIR}/web2c
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= TEXMFDIR=${TEXMFDIR}
|
||||
PLIST_SUB= CLASSDIR=${CLASSDIR}
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
PORTDOCS= LICENSE README.passivetex index.html index.xml
|
||||
|
||||
PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
|
||||
|
||||
TEXMFLOCAL= share/texmf-local
|
||||
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
|
||||
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
||||
|
||||
CLASSDIR= ${TEXMFLOCAL}/tex/passivetex
|
||||
CLASS_FILES= dummyels.sty fotex.xmt fotex.sty \
|
||||
mlnames.sty ucharacters.sty unicode.sty \
|
||||
dummyels.sty nomulticol.sty
|
||||
|
||||
DOC_FILES= LICENSE README.passivetex index.html index.xml
|
||||
|
||||
TESTDIR= ${DOCSDIR}/test
|
||||
TEST_FILES= Makefile chap01.xml chap02.xml chap03.xml chap04.xml \
|
||||
EXAMPLES= Makefile chap01.xml chap02.xml chap03.xml chap04.xml \
|
||||
check.xsl darkness.fo darkness.pdf darkness.xml darkness.xsl \
|
||||
exercise-print.xsl exercise.fo exercise.pdf exercise.xml \
|
||||
fezziPic.png fotex.cfg.eg hyperref.cfg \
|
||||
@ -55,22 +36,26 @@ TEST_FILES= Makefile chap01.xml chap02.xml chap03.xml chap04.xml \
|
||||
teimath2.xml teiu5-print.xsl teiu5.fo teiu5.pdf teiu5.xml \
|
||||
teixlite.dtd teixml.cfg test1.fot test2.fot
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's,%%TEXMFDIR%%,${LOCALBASE}/share/texmf,' \
|
||||
${MESSAGE} > ${PKGMESSAGE}
|
||||
CLASSDIR= ${TEXMFDIR}/tex/passivetex
|
||||
CLASS_FILES= dummyels.sty fotex.xmt fotex.sty \
|
||||
mlnames.sty ucharacters.sty unicode.sty \
|
||||
dummyels.sty nomulticol.sty
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} -m 555 ${PREFIX}/${CLASSDIR}
|
||||
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
|
||||
${MKDIR} ${TESTDIR}
|
||||
${INSTALL_DATA} ${TEST_FILES:S@^@${WRKSRC}/test/@} ${TESTDIR}
|
||||
@${MKDIR} -m 555 ${PREFIX}/${CLASSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${CLASS_FILES} ${PREFIX}/${CLASSDIR}
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/test && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MKTEXLSR}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -7,4 +7,4 @@ For example, to generate a PDF file from an FO file, run
|
||||
|
||||
pdftex --interaction nonstopmode "&pdfxmltex" file.fo
|
||||
|
||||
WWW: http://www.tei-c.org.uk/Software/passivetex/
|
||||
WWW: http://projects.oucs.ox.ac.uk/passivetex/
|
||||
|
@ -1,54 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/Makefile
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/chap01.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/chap02.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/chap03.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/chap04.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/check.xsl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/darkness.fo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/darkness.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/darkness.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/darkness.xsl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/exercise-print.xsl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/exercise.fo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/exercise.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/exercise.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/fezziPic.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/fotex.cfg.eg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/hyperref.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/mathex.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/mathex.xsl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/mathml.xsl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/mathtei.dtd
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/novel.dtd
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/phys332-1.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/phys332-2.jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/rmsd.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/tei-oucs.dtd
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/tei.sty
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath-print.xsl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath.aux
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath.fo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath.log
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath.out
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath.xsl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teimath2.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teiu5-print.xsl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teiu5.fo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teiu5.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teiu5.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teixlite.dtd
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/teixml.cfg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/test1.fot
|
||||
%%PORTDOCS%%%%DOCSDIR%%/test/test2.fot
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/test
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.passivetex
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.xml
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%CLASSDIR%%/dummyels.sty
|
||||
%%CLASSDIR%%/fotex.xmt
|
||||
%%CLASSDIR%%/fotex.sty
|
||||
@ -57,5 +7,3 @@
|
||||
%%CLASSDIR%%/unicode.sty
|
||||
%%CLASSDIR%%/nomulticol.sty
|
||||
@dirrm %%CLASSDIR%%
|
||||
@exec %%MKTEXLSR%%
|
||||
@unexec %%MKTEXLSR%%
|
||||
|
Loading…
Reference in New Issue
Block a user