7e97eccf0e
bibtopic is a LaTeX package for including several bibliographies in a document. These bibliographies might be considered to cover different topics (hence the name) or bibliographic material (e.g., primary and secondary literature) and the like. PR: ports/61922 Submitted by: hrs@FreeBSD.org
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# New ports collection makefile for: latex-bibtopic
|
|
# Date created: 24 Jan 2004
|
|
# Whom: hrs@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= latex-bibtopic
|
|
PORTVERSION= 1.0.20020822
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
|
MASTER_SITE_SUBDIR= macros/latex/contrib/bibtopic
|
|
DISTFILES= ${DOC_FILES} bibtopic.dtx bibtopic.ins
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
EXTRACT_ONLY= #empty
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= A LaTeX package allows several bibliographies in a document
|
|
|
|
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
|
|
BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
|
|
BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
|
|
|
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
|
|
PLIST_SUB+= CLASSDIR=${CLASSDIR}
|
|
|
|
TEXMFLOCAL= share/texmf-local
|
|
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
|
|
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
|
TEX_BIN= ${LOCALBASE}/bin/latex
|
|
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
|
|
|
|
DOC_FILES= README
|
|
|
|
CLASS_FILES= bibtopic.sty
|
|
CLASS_FILES+= bibtopic.ins bibtopic.dtx
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${TEX_BIN} bibtopic.ins
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${CLASSDIR}
|
|
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
${MKTEXLSR}
|
|
|
|
.include <bsd.port.mk>
|