Lines 6-20
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= biblatex |
8 |
PORTNAME= biblatex |
9 |
PORTVERSION= 0.8i |
9 |
PORTVERSION= 0.9 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= print |
10 |
CATEGORIES= print |
12 |
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} |
11 |
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} |
13 |
MASTER_SITE_SUBDIR= macros/latex/exptl |
12 |
MASTER_SITE_SUBDIR= macros/latex/exptl |
14 |
PKGNAMEPREFIX= latex- |
13 |
PKGNAMEPREFIX= latex- |
15 |
DISTNAME= ${PORTNAME} |
14 |
DISTNAME= ${PORTNAME} |
16 |
|
15 |
|
17 |
MAINTAINER= vj562001@yahoo.de |
16 |
MAINTAINER= idolum@users.sourceforge.net |
18 |
COMMENT= A reimplementation of the LaTeX biliographic facilities |
17 |
COMMENT= A reimplementation of the LaTeX biliographic facilities |
19 |
|
18 |
|
20 |
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \ |
19 |
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \ |
Lines 34-49
Link Here
|
34 |
|
33 |
|
35 |
CLASSNAME= ${PORTNAME} |
34 |
CLASSNAME= ${PORTNAME} |
36 |
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME} |
35 |
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME} |
37 |
BSTDIR= ${TEXMFLOCAL}/bibtex/bst |
36 |
BSTDIR= ${TEXMFLOCAL}/bibtex/bst/biblatex |
|
|
37 |
CSFDIR= ${TEXMFLOCAL}/bibtex/csf/biblatex |
38 |
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} |
38 |
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} |
39 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} |
39 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} |
40 |
|
40 |
|
41 |
CLASS_FILES= biblatex.cfg biblatex.def bibnatex.def biblatex.sty |
41 |
CLASS_FILES= biblatex.cfg biblatex.def bibnatex.def biblatex.sty |
42 |
DOC_FILES= README RELEASE doc/biblatex.pdf LICENSE VERSION |
42 |
DOC_FILES= README RELEASE doc/biblatex.pdf VERSION |
43 |
BST_FILES= biblatex.bst |
43 |
BST_FILES= biblatex.bst |
44 |
|
44 |
|
45 |
WRKSRC= ${WRKDIR}/${CLASSNAME} |
45 |
WRKSRC= ${WRKDIR}/${CLASSNAME} |
46 |
|
46 |
|
|
|
47 |
OPTIONS= BIBTEXT8_CSF "Install BibTeX8 sort definition files" OFF |
48 |
|
49 |
.include <bsd.port.options.mk> |
50 |
|
47 |
pre-install: |
51 |
pre-install: |
48 |
(for F in ${CLASS_FILES}; do \ |
52 |
(for F in ${CLASS_FILES}; do \ |
49 |
${ECHO_CMD} "${CLASSDIR}/$${F}"; \ |
53 |
${ECHO_CMD} "${CLASSDIR}/$${F}"; \ |
Lines 58-63
Link Here
|
58 |
(for F in ${BST_FILES}; do \ |
62 |
(for F in ${BST_FILES}; do \ |
59 |
${ECHO_CMD} "${BSTDIR}/$${F}"; \ |
63 |
${ECHO_CMD} "${BSTDIR}/$${F}"; \ |
60 |
done;) >> ${PLIST} |
64 |
done;) >> ${PLIST} |
|
|
65 |
${ECHO_CMD} "@dirrm ${BSTDIR}" >> ${PLIST} |
66 |
.if defined(WITH_BIBTEXT8_CSF) |
67 |
(for F in `${LS} -F ${WRKSRC}/bibtex/csf`; do \ |
68 |
${ECHO_CMD} "${CSFDIR}/$${F}"; \ |
69 |
done;) >> ${PLIST} |
70 |
${ECHO_CMD} "@dirrm ${CSFDIR}" >> ${PLIST} |
71 |
.endif |
61 |
.if !defined(NOPORTDOCS) |
72 |
.if !defined(NOPORTDOCS) |
62 |
(for F in ${DOC_FILES:S,^doc/,,}; do \ |
73 |
(for F in ${DOC_FILES:S,^doc/,,}; do \ |
63 |
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ |
74 |
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ |
Lines 78-84
Link Here
|
78 |
do-install: |
89 |
do-install: |
79 |
${MKDIR} ${PREFIX}/${CLASSDIR} |
90 |
${MKDIR} ${PREFIX}/${CLASSDIR} |
80 |
(cd ${WRKSRC}/latex/ && ${COPYTREE_SHARE} \* ${PREFIX}/${CLASSDIR}) |
91 |
(cd ${WRKSRC}/latex/ && ${COPYTREE_SHARE} \* ${PREFIX}/${CLASSDIR}) |
81 |
${INSTALL_DATA} ${BST_FILES:S@^@${WRKSRC}/bibtex/@} ${PREFIX}/${BSTDIR} |
92 |
${MKDIR} ${PREFIX}/${BSTDIR} |
|
|
93 |
${INSTALL_DATA} ${BST_FILES:S@^@${WRKSRC}/bibtex/bst/@} ${PREFIX}/${BSTDIR} |
94 |
.if defined(WITH_BIBTEXT8_CSF) |
95 |
${MKDIR} ${PREFIX}/${CSFDIR} |
96 |
(cd ${WRKSRC}/bibtex/csf && ${COPYTREE_SHARE} \* ${PREFIX}/${CSFDIR}) |
97 |
.endif |
82 |
.if !defined(NOPORTDOCS) |
98 |
.if !defined(NOPORTDOCS) |
83 |
${MKDIR} ${DOCSDIR} |
99 |
${MKDIR} ${DOCSDIR} |
84 |
${MKDIR} ${DOCSDIR}/resources |
100 |
${MKDIR} ${DOCSDIR}/resources |