diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2008-06-19 05:45:52 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2008-06-19 05:45:52 +0000 |
commit | 33268b05e446a97289e895c14fcba7c575b4ac5c (patch) | |
tree | c680aee4cc3b204a476ebbad572f6508e4918868 /print/latex-bytefield/Makefile | |
parent | e4c114ef6efbfbd72f40c96632bd1d7a3ff15a1e (diff) | |
download | ports-33268b05e446a97289e895c14fcba7c575b4ac5c.tar.gz ports-33268b05e446a97289e895c14fcba7c575b4ac5c.zip |
Notes
Diffstat (limited to 'print/latex-bytefield/Makefile')
-rw-r--r-- | print/latex-bytefield/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/print/latex-bytefield/Makefile b/print/latex-bytefield/Makefile index 69e3a27bfff2..f08e8aa8373d 100644 --- a/print/latex-bytefield/Makefile +++ b/print/latex-bytefield/Makefile @@ -6,38 +6,35 @@ PORTNAME= latex-bytefield PORTVERSION= 1.2.20050731 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} MASTER_SITE_SUBDIR= macros/latex/contrib/bytefield -DISTFILES= bytefield.dtx bytefield.ins ${DOC_FILES} +DISTFILES= bytefield.dtx bytefield.ins ${PORTDOCS} DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= A LaTeX package that utilization diagram of data fields -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 +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base -PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \ +PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR} \ CLASSDIR=${CLASSDIR} -USE_GMAKE= YES -TEXMFLOCAL= share/texmf-local -TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R +TEXMFDIR= share/texmf +TEXMFDIR_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R MKTEXLSR= ${LOCALBASE}/bin/mktexlsr TEX_BIN= ${LOCALBASE}/bin/etex -CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} +CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME:S/^latex-//} WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//} CLASS_FILES= bytefield.dtx bytefield.sty bytefield.ins -DOC_FILES= README bytefield.pdf example.pdf example.tex +PORTDOCS= README bytefield.pdf example.pdf example.tex do-extract: ${MKDIR} ${WRKSRC} - cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} + cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${DISTFILES} ${WRKSRC} do-build: cd ${WRKSRC} && ${TEX_BIN} bytefield.ins @@ -47,10 +44,10 @@ do-install: ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} .endif post-install: - @${MKTEXLSR} + @${MKTEXLSR} ${TEXMFDIR} .include <bsd.port.mk> |