diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-25 19:45:07 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-25 19:45:07 +0000 |
commit | 14eccd21daa3d3cc663303202498eb03b613d324 (patch) | |
tree | 76ffc8443ce89cd4e0c2ad962ba5f6d3f84d2996 /print | |
parent | b06eb2e1c7b09cd2f2a85e877fac07d0207691c1 (diff) | |
download | ports-14eccd21daa3d3cc663303202498eb03b613d324.tar.gz ports-14eccd21daa3d3cc663303202498eb03b613d324.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/latex-booktabs/Makefile | 23 | ||||
-rw-r--r-- | print/latex-booktabs/pkg-plist | 9 |
2 files changed, 18 insertions, 14 deletions
diff --git a/print/latex-booktabs/Makefile b/print/latex-booktabs/Makefile index 442c92a5a68e..38120f8bee74 100644 --- a/print/latex-booktabs/Makefile +++ b/print/latex-booktabs/Makefile @@ -16,23 +16,36 @@ EXTRACT_ONLY= #empty MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package for publication quality tables -BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX -BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \ + ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX NO_BUILD= YES -PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} -PLIST_SUB+= CLASSDIR=${CLASSDIR} +PLIST= ${WRKDIR}/pkg-plist TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/latex + CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} +CLASS_FILES= booktabs.dtx booktabs.ins booktabs.sty DOC_FILES= booktabs.pdf -CLASS_FILES= booktabs.dtx booktabs.ins booktabs.sty +pre-install: + (for F in ${CLASS_FILES}; do \ + ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ + done;\ + ${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST} +.if !defined(NOPORTDOCS) + (for F in ${DOC_FILES}; do \ + ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ + done;\ + ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} +.endif + ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} + ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/${CLASSDIR} diff --git a/print/latex-booktabs/pkg-plist b/print/latex-booktabs/pkg-plist deleted file mode 100644 index 4e1986cf2ca1..000000000000 --- a/print/latex-booktabs/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -@comment $FreeBSD$ -%%PORTDOCS%%%%DOCSDIR%%/booktabs.pdf -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%CLASSDIR%%/booktabs.dtx -%%CLASSDIR%%/booktabs.ins -%%CLASSDIR%%/booktabs.sty -@dirrm %%CLASSDIR%% -@exec %%MKTEXLSR%% -@unexec %%MKTEXLSR%% |