From hrs@allbsd.org  Sun Jan 25 21:22:34 2004
Return-Path: <hrs@allbsd.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 33FEF16A4D0
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Jan 2004 21:22:15 -0800 (PST)
Received: from smtp.eos.ocn.ne.jp (eos.ocn.ne.jp [211.6.83.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DDC4243D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 Jan 2004 21:22:06 -0800 (PST)
	(envelope-from hrs@allbsd.org)
Received: from delta.allbsd.org (p58149-adsao12honb4-acca.tokyo.ocn.ne.jp [220.96.140.149])
	by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id E038D136D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jan 2004 14:22:05 +0900 (JST)
Received: from alph.allbsd.org (alph.allbsd.org [192.168.0.10])
	by delta.allbsd.org (8.12.9p2/8.12.9) with ESMTP id i0Q5LaA2010075
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jan 2004 14:21:36 +0900 (JST)
	(envelope-from hrs@alph.d.allbsd.org)
Received: from alph.allbsd.org (localhost [127.0.0.1])
	by alph.allbsd.org (8.12.9p2/8.12.9) with ESMTP id i0Q5La8c018108
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jan 2004 14:21:36 +0900 (JST)
	(envelope-from hrs@alph.d.allbsd.org)
Received: (from hrs@localhost)
	by alph.allbsd.org (8.12.9p2/8.12.9/Submit) id i0Q5LaPd018107;
	Mon, 26 Jan 2004 14:21:36 +0900 (JST)
	(envelope-from hrs)
Message-Id: <200401260521.i0Q5LaPd018107@alph.allbsd.org>
Date: Mon, 26 Jan 2004 14:21:36 +0900 (JST)
From: Hiroki Sato <hrs@freebsd.org>
Reply-To: Hiroki Sato <hrs@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: print/latex-bibunits
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61924
>Category:       ports
>Synopsis:       New port: print/latex-bibunits
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 25 21:30:20 PST 2004
>Closed-Date:    Mon Jan 26 05:42:08 PST 2004
>Last-Modified:  Mon Jan 26 05:42:08 PST 2004
>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@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@comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/bibunits.dtx
X%%CLASSDIR%%/bibunits.ins
X%%CLASSDIR%%/bibunits.sty
X@dirrm %%CLASSDIR%%
X@exec %%MKTEXLSR%%
X@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@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@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:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Mon Jan 26 05:42:02 PST 2004 
State-Changed-Why:  
New port added, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61924 
>Unformatted:
