diff options
author | krion <krion@FreeBSD.org> | 2004-01-26 13:41:31 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-26 13:41:31 +0000 |
commit | 78a04d80d93b63b476c9348a0490870d8b8133de (patch) | |
tree | d2927d96499d1aa2a9491d6ff721deaed9cfd75a /print/latex-bibunits | |
parent | f74c546024d2ab954b52c9f01bcfa838b623bc7c (diff) | |
download | FreeBSD-ports-78a04d80d93b63b476c9348a0490870d8b8133de.zip FreeBSD-ports-78a04d80d93b63b476c9348a0490870d8b8133de.tar.gz |
Add latex-bibunits 2.2.20001010,
The `bibunits' package allows separate bibliographies for
different units or parts of the text. The units can be
chapters, sections or bibunit environments. The package is
compatible with a wide variety of packages, including, but not
limited to, natbib, overcite and KOMA-SCRIPT classes.
PR: ports/61924
Submitted by: hrs@FreeBSD.org
Diffstat (limited to 'print/latex-bibunits')
-rw-r--r-- | print/latex-bibunits/Makefile | 56 | ||||
-rw-r--r-- | print/latex-bibunits/distinfo | 3 | ||||
-rw-r--r-- | print/latex-bibunits/pkg-descr | 5 | ||||
-rw-r--r-- | print/latex-bibunits/pkg-plist | 9 |
4 files changed, 73 insertions, 0 deletions
diff --git a/print/latex-bibunits/Makefile b/print/latex-bibunits/Makefile new file mode 100644 index 0000000..c7ee6ac --- /dev/null +++ b/print/latex-bibunits/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: latex-bibunits +# Date created: 24 Jan 2004 +# Whom: hrs@FreeBSD.org +# +# $FreeBSD$ + +PORTNAME= latex-bibunits +PORTVERSION= 2.2.20001010 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= macros/latex/contrib/bibunits +DISTFILES= ${DOC_FILES} bibunits.dtx bibunits.ins +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= #empty + +MAINTAINER= hrs@FreeBSD.org +COMMENT= A LaTeX package allows separate bibliographies + +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX +BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal +BUILD_DEPENDS+= tex:${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/tex +CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} + +DOC_FILES= README + +CLASS_FILES= bibunits.sty +CLASS_FILES+= bibunits.ins bibunits.dtx + +do-extract: + ${MKDIR} ${WRKSRC} + cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} + +do-build: + cd ${WRKSRC} && ${TEX_BIN} bibunits.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> diff --git a/print/latex-bibunits/distinfo b/print/latex-bibunits/distinfo new file mode 100644 index 0000000..1e04899 --- /dev/null +++ b/print/latex-bibunits/distinfo @@ -0,0 +1,3 @@ +MD5 (latex-bibunits/README) = 5b9f02e77894ebb53d59ebada4574433 +MD5 (latex-bibunits/bibunits.dtx) = 7bc7b08deb38b1b677b5194ab5bb5da4 +MD5 (latex-bibunits/bibunits.ins) = 22df95bab16d206cf3ca38e2078e8e37 diff --git a/print/latex-bibunits/pkg-descr b/print/latex-bibunits/pkg-descr new file mode 100644 index 0000000..d466071 --- /dev/null +++ b/print/latex-bibunits/pkg-descr @@ -0,0 +1,5 @@ +The `bibunits' package allows separate bibliographies for different +units or parts of the text. The units can be chapters, sections or +bibunit environments. The package is compatible with a wide variety of +packages, including, but not limited to, natbib, overcite and +KOMA-SCRIPT classes. diff --git a/print/latex-bibunits/pkg-plist b/print/latex-bibunits/pkg-plist new file mode 100644 index 0000000..a7a4702 --- /dev/null +++ b/print/latex-bibunits/pkg-plist @@ -0,0 +1,9 @@ +@comment $FreeBSD$ +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%CLASSDIR%%/bibunits.dtx +%%CLASSDIR%%/bibunits.ins +%%CLASSDIR%%/bibunits.sty +@dirrm %%CLASSDIR%% +@exec %%MKTEXLSR%% +@unexec %%MKTEXLSR%% |