aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-biblatex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/latex-biblatex/Makefile')
-rw-r--r--print/latex-biblatex/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/print/latex-biblatex/Makefile b/print/latex-biblatex/Makefile
index 9f37a2a23d01..a4b9d42de8b0 100644
--- a/print/latex-biblatex/Makefile
+++ b/print/latex-biblatex/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: latex-biblatex
-# Date created: 19 Jan 2008
-# Whom: vj562001@yahoo.de
-#
+# Created by: vj562001@yahoo.de
# $FreeBSD$
-#
PORTNAME= biblatex
PORTVERSION= 0.9e
@@ -44,7 +40,8 @@ BST_FILES= biblatex.bst
WRKSRC= ${WRKDIR}/${CLASSNAME}
-OPTIONS= BIBTEXT8_CSF "Install BibTeX8 sort definition files" OFF
+OPTIONS_DEFINE= BIBTEXT8_CSF DOCS
+BIBTEXT8_CSF_DESC= BibTeX8 sort definition files
.include <bsd.port.options.mk>
@@ -63,13 +60,13 @@ pre-install:
${ECHO_CMD} "${BSTDIR}/$${F}"; \
done;) >> ${PLIST}
${ECHO_CMD} "@dirrm ${BSTDIR}" >> ${PLIST}
-.if defined(WITH_BIBTEXT8_CSF)
+.if ${PORT_OPTIONS:MBIBTEXT8_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)
+.if ${PORT_OPTIONS:MDOCS}
(for F in ${DOC_FILES:S,^doc/,,}; do \
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
done;) >> ${PLIST}
@@ -87,11 +84,11 @@ do-install:
(cd ${WRKSRC}/latex/ && ${COPYTREE_SHARE} \* ${PREFIX}/${CLASSDIR})
${MKDIR} ${PREFIX}/${BSTDIR}
${INSTALL_DATA} ${BST_FILES:S@^@${WRKSRC}/bibtex/bst/@} ${PREFIX}/${BSTDIR}
-.if defined(WITH_BIBTEXT8_CSF)
+.if ${PORT_OPTIONS:MBIBTEXT8_CSF}
${MKDIR} ${PREFIX}/${CSFDIR}
(cd ${WRKSRC}/bibtex/csf && ${COPYTREE_SHARE} \* ${PREFIX}/${CSFDIR})
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}