summaryrefslogtreecommitdiff
path: root/print/latex-caption
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-08-19 17:31:31 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-08-19 17:31:31 +0000
commitda816fb578cb426bfbc58d4ebe5700e21c431faf (patch)
treea0fd9b37ee88d70212ced4a42375a90168741229 /print/latex-caption
parentUpdate to 5.22.0 (diff)
- Fix dependencies. LaTeX packages now need to depend on
print/teTeX-base, not print/teTeX. - Use share/texmf-local instead of share/texmf. - Some style fixes. Approved by: linimon (mentor)
Notes
Notes: svn path=/head/; revision=116702
Diffstat (limited to 'print/latex-caption')
-rw-r--r--print/latex-caption/Makefile24
1 files changed, 9 insertions, 15 deletions
diff --git a/print/latex-caption/Makefile b/print/latex-caption/Makefile
index 4a52b68ced8d..fcb6f4bae5d1 100644
--- a/print/latex-caption/Makefile
+++ b/print/latex-caption/Makefile
@@ -16,15 +16,15 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that supports customization of captions
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
-BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
-
-PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
-PLIST_SUB+= CLASSDIR=${CLASSDIR}
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
+ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
+ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
+ CLASSDIR=${CLASSDIR}
USE_GMAKE= YES
+
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
@@ -33,14 +33,8 @@ YES_CMD= /usr/bin/yes
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
-CLASS_FILES= caption.dtx
-CLASS_FILES+= caption.sty
-CLASS_FILES+= caption.ins
-CLASS_FILES+= caption2.dtx
-CLASS_FILES+= caption2.sty
-
-DOC_FILES= manual.tex
-DOC_FILES+= caption.xml
+CLASS_FILES= caption.dtx caption.sty caption.ins caption2.dtx caption2.sty
+DOC_FILES= manual.tex caption.xml
do-extract:
${MKDIR} ${WRKSRC}