ports/61922: New port: print/latex-topic

Hiroki Sato hrs at FreeBSD.org
Mon Jan 26 05:30:36 UTC 2004


>Number:         61922
>Category:       ports
>Synopsis:       New port: print/latex-topic
>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:19 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:
	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.

>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-bibtopic
#	latex-bibtopic/pkg-plist
#	latex-bibtopic/pkg-descr
#	latex-bibtopic/Makefile
#	latex-bibtopic/distinfo
#
echo c - latex-bibtopic
mkdir -p latex-bibtopic > /dev/null 2>&1
echo x - latex-bibtopic/pkg-plist
sed 's/^X//' >latex-bibtopic/pkg-plist << 'END-of-latex-bibtopic/pkg-plist'
X at comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/bibtopic.dtx
X%%CLASSDIR%%/bibtopic.ins
X%%CLASSDIR%%/bibtopic.sty
X at dirrm %%CLASSDIR%%
X at exec %%MKTEXLSR%%
X at unexec %%MKTEXLSR%%
END-of-latex-bibtopic/pkg-plist
echo x - latex-bibtopic/pkg-descr
sed 's/^X//' >latex-bibtopic/pkg-descr << 'END-of-latex-bibtopic/pkg-descr'
Xbibtopic is a LaTeX package for including several bibliographies in
Xa document.  These bibliographies might be considered to cover different
Xtopics (hence the name) or bibliographic material (e.g., primary and
Xsecondary literature) and the like.
END-of-latex-bibtopic/pkg-descr
echo x - latex-bibtopic/Makefile
sed 's/^X//' >latex-bibtopic/Makefile << 'END-of-latex-bibtopic/Makefile'
X# New ports collection makefile for:	latex-bibtopic
X# Date created:		24 Jan 2004
X# Whom:			hrs at FreeBSD.org
X#
X# $FreeBSD$
X
XPORTNAME=	latex-bibtopic
XPORTVERSION=	1.0.20020822
XCATEGORIES=	print
XMASTER_SITES=	${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR=	macros/latex/contrib/bibtopic
XDISTFILES=	${DOC_FILES} bibtopic.dtx bibtopic.ins
XDIST_SUBDIR=	${PORTNAME}
XEXTRACT_ONLY=	#empty
X
XMAINTAINER=	hrs at FreeBSD.org
XCOMMENT=	A LaTeX package allows several bibliographies in a document
X
XBUILD_DEPENDS=	mktexlsr:${PORTSDIR}/print/teTeX
XBUILD_DEPENDS+=	${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
XBUILD_DEPENDS+=	latex:${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/latex
XCLASSDIR=	${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
X
XDOC_FILES=	README
X
XCLASS_FILES=	bibtopic.sty
XCLASS_FILES+=	bibtopic.ins bibtopic.dtx
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
X
Xdo-build:
X	cd ${WRKSRC} && ${TEX_BIN} bibtopic.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-bibtopic/Makefile
echo x - latex-bibtopic/distinfo
sed 's/^X//' >latex-bibtopic/distinfo << 'END-of-latex-bibtopic/distinfo'
XMD5 (latex-bibtopic/README) = 8f0046ddf0246c12e13a3de06ba51218
XMD5 (latex-bibtopic/bibtopic.dtx) = 17d310abb5753915008c7d219a4a0876
XMD5 (latex-bibtopic/bibtopic.ins) = 656d56275f34bba79f3f8c2d469c1754
END-of-latex-bibtopic/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list