Lines 16-38
Link Here
|
16 |
MAINTAINER= hrs@FreeBSD.org |
16 |
MAINTAINER= hrs@FreeBSD.org |
17 |
COMMENT= A LaTeX package for printing all of a BibTeX database entries |
17 |
COMMENT= A LaTeX package for printing all of a BibTeX database entries |
18 |
|
18 |
|
19 |
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX |
19 |
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX \ |
20 |
BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal |
20 |
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal |
21 |
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX |
21 |
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX |
22 |
|
22 |
|
23 |
NO_BUILD= YES |
23 |
NO_BUILD= YES |
24 |
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} |
24 |
PLIST= ${WRKDIR}/pkg-plist |
25 |
PLIST_SUB+= CLASSDIR=${CLASSDIR} |
|
|
26 |
|
25 |
|
27 |
TEXMFLOCAL= share/texmf-local |
26 |
TEXMFLOCAL= share/texmf-local |
28 |
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R |
27 |
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R |
29 |
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr |
28 |
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr |
30 |
TEX_BIN= ${LOCALBASE}/bin/latex |
29 |
TEX_BIN= ${LOCALBASE}/bin/latex |
|
|
30 |
|
31 |
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} |
31 |
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} |
|
|
32 |
CLASS_FILES= biblist.sty biblist.gde biblist.bst-dist |
32 |
|
33 |
|
33 |
DOC_FILES= README |
34 |
DOC_FILES= README |
34 |
|
35 |
|
35 |
CLASS_FILES= biblist.sty biblist.gde biblist.bst-dist |
36 |
pre-install: |
|
|
37 |
(for F in ${CLASS_FILES}; do \ |
38 |
${ECHO_CMD} "${CLASSDIR}/$${F}"; \ |
39 |
done;\ |
40 |
${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST} |
41 |
.if !defined(NOPORTDOCS) |
42 |
(for F in ${DOC_FILES}; do \ |
43 |
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ |
44 |
done;\ |
45 |
${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} |
46 |
.endif |
47 |
${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} |
48 |
${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} |
36 |
|
49 |
|
37 |
do-install: |
50 |
do-install: |
38 |
${MKDIR} ${PREFIX}/${CLASSDIR} |
51 |
${MKDIR} ${PREFIX}/${CLASSDIR} |