diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-25 19:31:30 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-25 19:31:30 +0000 |
commit | c85432e684cd76f45930ee139c3273f07dad3823 (patch) | |
tree | 2fb57327084a85e2660eb284452e392215118fc2 /print/latex-arydshln/Makefile | |
parent | c2e568893ab24021fab40265a4f3eaa183f48c6a (diff) | |
download | ports-c85432e684cd76f45930ee139c3273f07dad3823.tar.gz ports-c85432e684cd76f45930ee139c3273f07dad3823.zip |
Notes
Diffstat (limited to 'print/latex-arydshln/Makefile')
-rw-r--r-- | print/latex-arydshln/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/print/latex-arydshln/Makefile b/print/latex-arydshln/Makefile index 50844f70c248..09f4f072b7a3 100644 --- a/print/latex-arydshln/Makefile +++ b/print/latex-arydshln/Makefile @@ -22,16 +22,16 @@ BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \ RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal -PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR} +PLIST= ${WRKDIR}/pkg-plist TEXMFLOCAL= share/texmf-local TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/tex YES_CMD= /usr/bin/yes -CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} +CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} CLASS_FILES= arydshln.dtx arydshln.ins arydshln.sty arydshln-man.tex DOC_FILES= README arydshln.pdf @@ -41,6 +41,18 @@ do-extract: do-build: cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} arydshln.ins + (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} |