aboutsummaryrefslogtreecommitdiff
path: root/print/latex-biblatex
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-03-11 00:25:29 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-03-11 00:25:29 +0000
commit4dd493e9c8adb5d53e1670cd62d8fec2c700d5f1 (patch)
tree9cd5048eb2ec35dba51a228c1f8dd1f59020c4eb /print/latex-biblatex
parent50aede6d3ede40f27a283a8b89627b4e56aaeb78 (diff)
downloadports-4dd493e9c8adb5d53e1670cd62d8fec2c700d5f1.tar.gz
ports-4dd493e9c8adb5d53e1670cd62d8fec2c700d5f1.zip
Notes
Diffstat (limited to 'print/latex-biblatex')
-rw-r--r--print/latex-biblatex/Makefile28
-rw-r--r--print/latex-biblatex/distinfo6
2 files changed, 25 insertions, 9 deletions
diff --git a/print/latex-biblatex/Makefile b/print/latex-biblatex/Makefile
index 694e3bf698a1..5ea47a5f1834 100644
--- a/print/latex-biblatex/Makefile
+++ b/print/latex-biblatex/Makefile
@@ -6,15 +6,14 @@
#
PORTNAME= biblatex
-PORTVERSION= 0.8i
-PORTREVISION= 1
+PORTVERSION= 0.9
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/exptl
PKGNAMEPREFIX= latex-
DISTNAME= ${PORTNAME}
-MAINTAINER= vj562001@yahoo.de
+MAINTAINER= idolum@users.sourceforge.net
COMMENT= A reimplementation of the LaTeX biliographic facilities
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
@@ -34,16 +33,21 @@ TEX_BIN= ${LOCALBASE}/bin/latex
CLASSNAME= ${PORTNAME}
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME}
-BSTDIR= ${TEXMFLOCAL}/bibtex/bst
+BSTDIR= ${TEXMFLOCAL}/bibtex/bst/biblatex
+CSFDIR= ${TEXMFLOCAL}/bibtex/csf/biblatex
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
CLASS_FILES= biblatex.cfg biblatex.def bibnatex.def biblatex.sty
-DOC_FILES= README RELEASE doc/biblatex.pdf LICENSE VERSION
+DOC_FILES= README RELEASE doc/biblatex.pdf VERSION
BST_FILES= biblatex.bst
WRKSRC= ${WRKDIR}/${CLASSNAME}
+OPTIONS= BIBTEXT8_CSF "Install BibTeX8 sort definition files" OFF
+
+.include <bsd.port.options.mk>
+
pre-install:
(for F in ${CLASS_FILES}; do \
${ECHO_CMD} "${CLASSDIR}/$${F}"; \
@@ -58,6 +62,13 @@ pre-install:
(for F in ${BST_FILES}; do \
${ECHO_CMD} "${BSTDIR}/$${F}"; \
done;) >> ${PLIST}
+ ${ECHO_CMD} "@dirrm ${BSTDIR}" >> ${PLIST}
+.if defined(WITH_BIBTEXT8_CSF)
+ (for F in `${LS} -F ${WRKSRC}/bibtex/csf`; do \
+ ${ECHO_CMD} "${CSFDIR}/$${F}"; \
+ done;) >> ${PLIST}
+ ${ECHO_CMD} "@dirrm ${CSFDIR}" >> ${PLIST}
+.endif
.if !defined(NOPORTDOCS)
(for F in ${DOC_FILES:S,^doc/,,}; do \
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
@@ -78,7 +89,12 @@ pre-install:
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
(cd ${WRKSRC}/latex/ && ${COPYTREE_SHARE} \* ${PREFIX}/${CLASSDIR})
- ${INSTALL_DATA} ${BST_FILES:S@^@${WRKSRC}/bibtex/@} ${PREFIX}/${BSTDIR}
+ ${MKDIR} ${PREFIX}/${BSTDIR}
+ ${INSTALL_DATA} ${BST_FILES:S@^@${WRKSRC}/bibtex/bst/@} ${PREFIX}/${BSTDIR}
+.if defined(WITH_BIBTEXT8_CSF)
+ ${MKDIR} ${PREFIX}/${CSFDIR}
+ (cd ${WRKSRC}/bibtex/csf && ${COPYTREE_SHARE} \* ${PREFIX}/${CSFDIR})
+.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR}/resources
diff --git a/print/latex-biblatex/distinfo b/print/latex-biblatex/distinfo
index 923fb8bd583e..c769fbbfcd45 100644
--- a/print/latex-biblatex/distinfo
+++ b/print/latex-biblatex/distinfo
@@ -1,3 +1,3 @@
-MD5 (biblatex.zip) = 307cac0a7efe1ae4d9529c8f695e0f69
-SHA256 (biblatex.zip) = 64d1d807c9ca340ce116f1ea865154b8b00199de1e3c805aff3e85e05095b0be
-SIZE (biblatex.zip) = 4253155
+MD5 (biblatex.zip) = b62105f900d2f4c8109051d8e3a9e752
+SHA256 (biblatex.zip) = 5138e2929bd40c4c9a31aee623b9f0488cb01d8973e9b300ba4666091b97a0af
+SIZE (biblatex.zip) = 4613998