ports/61924: New port: print/latex-bibunits
Hiroki Sato
hrs at FreeBSD.org
Mon Jan 26 05:30:37 UTC 2004
>Number: 61924
>Category: ports
>Synopsis: New port: print/latex-bibunits
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 25 21:30:20 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Hiroki Sato
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.8-STABLE FreeBSD 4.8-STABLE #7: Tue May 20 00:05:43 JST 2003 hrs at alph.allbsd.org:/home/obj/home/src/sys/ALPH i386
>Description:
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.
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# latex-bibunits
# latex-bibunits/pkg-plist
# latex-bibunits/pkg-descr
# latex-bibunits/Makefile
# latex-bibunits/distinfo
#
echo c - latex-bibunits
mkdir -p latex-bibunits > /dev/null 2>&1
echo x - latex-bibunits/pkg-plist
sed 's/^X//' >latex-bibunits/pkg-plist << 'END-of-latex-bibunits/pkg-plist'
X at comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/bibunits.dtx
X%%CLASSDIR%%/bibunits.ins
X%%CLASSDIR%%/bibunits.sty
X at dirrm %%CLASSDIR%%
X at exec %%MKTEXLSR%%
X at unexec %%MKTEXLSR%%
END-of-latex-bibunits/pkg-plist
echo x - latex-bibunits/pkg-descr
sed 's/^X//' >latex-bibunits/pkg-descr << 'END-of-latex-bibunits/pkg-descr'
XThe `bibunits' package allows separate bibliographies for different
Xunits or parts of the text. The units can be chapters, sections or
Xbibunit environments. The package is compatible with a wide variety of
Xpackages, including, but not limited to, natbib, overcite and
XKOMA-SCRIPT classes.
END-of-latex-bibunits/pkg-descr
echo x - latex-bibunits/Makefile
sed 's/^X//' >latex-bibunits/Makefile << 'END-of-latex-bibunits/Makefile'
X# New ports collection makefile for: latex-bibunits
X# Date created: 24 Jan 2004
X# Whom: hrs at FreeBSD.org
X#
X# $FreeBSD$
X
XPORTNAME= latex-bibunits
XPORTVERSION= 2.2.20001010
XCATEGORIES= print
XMASTER_SITES= ${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR= macros/latex/contrib/bibunits
XDISTFILES= ${DOC_FILES} bibunits.dtx bibunits.ins
XDIST_SUBDIR= ${PORTNAME}
XEXTRACT_ONLY= #empty
X
XMAINTAINER= hrs at FreeBSD.org
XCOMMENT= A LaTeX package allows separate bibliographies
X
XBUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
XBUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
XBUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX
XRUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
X
XPLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
XPLIST_SUB+= CLASSDIR=${CLASSDIR}
X
XTEXMFLOCAL= share/texmf-local
XTEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
XMKTEXLSR= ${LOCALBASE}/bin/mktexlsr
XTEX_BIN= ${LOCALBASE}/bin/tex
XCLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
X
XDOC_FILES= README
X
XCLASS_FILES= bibunits.sty
XCLASS_FILES+= bibunits.ins bibunits.dtx
X
Xdo-extract:
X ${MKDIR} ${WRKSRC}
X cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
X
Xdo-build:
X cd ${WRKSRC} && ${TEX_BIN} bibunits.ins
X
Xdo-install:
X ${MKDIR} ${PREFIX}/${CLASSDIR}
X ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
X.endif
X
Xpost-install:
X ${MKTEXLSR}
X
X.include <bsd.port.mk>
END-of-latex-bibunits/Makefile
echo x - latex-bibunits/distinfo
sed 's/^X//' >latex-bibunits/distinfo << 'END-of-latex-bibunits/distinfo'
XMD5 (latex-bibunits/README) = 5b9f02e77894ebb53d59ebada4574433
XMD5 (latex-bibunits/bibunits.dtx) = 7bc7b08deb38b1b677b5194ab5bb5da4
XMD5 (latex-bibunits/bibunits.ins) = 22df95bab16d206cf3ca38e2078e8e37
END-of-latex-bibunits/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list