diff options
author | miwi <miwi@FreeBSD.org> | 2008-01-27 06:30:50 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-01-27 06:30:50 +0800 |
commit | ef745ae53a71c1ec71433505ee6dffadf9ce2b96 (patch) | |
tree | 4d866f00aaeca8cf4ff4eb2f775d15122574e4c8 /print | |
parent | b4708d5e09ca218c771251ddc207f009de259631 (diff) | |
download | freebsd-ports-gnome-ef745ae53a71c1ec71433505ee6dffadf9ce2b96.tar.gz freebsd-ports-gnome-ef745ae53a71c1ec71433505ee6dffadf9ce2b96.tar.zst freebsd-ports-gnome-ef745ae53a71c1ec71433505ee6dffadf9ce2b96.zip |
A reimplementation of the LaTeX biliographic facilities.
WWW: http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html
PR: ports/119806
Submitted by: vj562001 at yahoo.de
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/latex-biblatex/Makefile | 87 | ||||
-rw-r--r-- | print/latex-biblatex/distinfo | 3 | ||||
-rw-r--r-- | print/latex-biblatex/pkg-descr | 3 |
4 files changed, 94 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 8c36cca7063b..cc089f9e4714 100644 --- a/print/Makefile +++ b/print/Makefile @@ -132,6 +132,7 @@ SUBDIR += latex-arydshln SUBDIR += latex-auto-greek SUBDIR += latex-beamer + SUBDIR += latex-biblatex SUBDIR += latex-biblist SUBDIR += latex-bytefield SUBDIR += latex-caption diff --git a/print/latex-biblatex/Makefile b/print/latex-biblatex/Makefile new file mode 100644 index 000000000000..0e2992c004b7 --- /dev/null +++ b/print/latex-biblatex/Makefile @@ -0,0 +1,87 @@ +# New ports collection makefile for: latex-biblatex +# Date created: 19 Jan 2008 +# Whom: vj562001@yahoo.de +# +# $FreeBSD$ +# + +PORTNAME= biblatex +PORTVERSION= 0.7 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= macros/latex/exptl +PKGNAMEPREFIX= latex- +DISTNAME= ${PORTNAME} + +MAINTAINER= vj562001@yahoo.de +COMMENT= A reimplementation of the LaTeX biliographic facilities + +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 \ + ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/etoolbox/etoolbox.sty:${PORTSDIR}/print/latex-etoolbox + +USE_ZIP= YES +NO_BUILD= YES +PLIST= ${WRKDIR}/pkg-plist + +TEXMFLOCAL= share/texmf-local +TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +TEX_BIN= ${LOCALBASE}/bin/latex + +CLASSNAME= ${PORTNAME} +CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME} +BSTDIR= ${TEXMFLOCAL}/bibtex/bst +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + +CLASS_FILES= biblatex.cfg biblatex.def bibnatex.def biblatex.sty +DOC_FILES= README RELEASE doc/biblatex.pdf +BST_FILES= biblatex.bst + +WRKSRC= ${WRKDIR}/${CLASSNAME} + +pre-install: + (for F in ${CLASS_FILES}; do \ + ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ + done;) > ${PLIST} + (for F in `${LS} -F ${WRKSRC}/latex | ${GREP} "/"`; do \ + for G in `${LS} ${WRKSRC}/latex/$${F}`; do \ + ${ECHO_CMD} "${CLASSDIR}/$${F}$${G}"; \ + done; \ + ${ECHO_CMD} "@dirrm ${CLASSDIR}/$${F}"; \ + done;) >> ${PLIST} + ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} + (for F in ${BST_FILES}; do \ + ${ECHO_CMD} "${BSTDIR}/$${F}"; \ + done;) >> ${PLIST} +.if !defined(NOPORTDOCS) + (for F in ${DOC_FILES:S,^doc/,,}; do \ + ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ + done;) >> ${PLIST} + (for F in `${LS} -F ${WRKSRC}/doc | ${GREP} "/"`; do \ + for G in `${LS} ${WRKSRC}/doc/$${F}`; do \ + ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}$${G}"; \ + done; \ + ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ + done;) >> ${PLIST} + ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${PLIST} +.endif + ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} + ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} + +do-install: + ${MKDIR} ${PREFIX}/${CLASSDIR} + (cd ${WRKSRC}/latex/ && ${COPYTREE_SHARE} \* ${PREFIX}/${CLASSDIR}) + ${INSTALL_DATA} ${BST_FILES:S@^@${WRKSRC}/bibtex/@} ${PREFIX}/${BSTDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} + (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR}) +.endif + +post-install: + ${MKTEXLSR} + +.include <bsd.port.mk> diff --git a/print/latex-biblatex/distinfo b/print/latex-biblatex/distinfo new file mode 100644 index 000000000000..f6d144df4c7c --- /dev/null +++ b/print/latex-biblatex/distinfo @@ -0,0 +1,3 @@ +MD5 (biblatex.zip) = 8fa87b28ee28e64d12955987148051e3 +SHA256 (biblatex.zip) = f695183f7a048d63dd74a4fdb9c08e7a5a78d4cf253e3624a42fd6cdf5969be1 +SIZE (biblatex.zip) = 3032134 diff --git a/print/latex-biblatex/pkg-descr b/print/latex-biblatex/pkg-descr new file mode 100644 index 000000000000..ffef40e4010e --- /dev/null +++ b/print/latex-biblatex/pkg-descr @@ -0,0 +1,3 @@ +A reimplementation of the LaTeX biliographic facilities. + +WWW: http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html |